On a Solaris 10 system, I am compiling exiv2 for the first time.
After running configure, when I type gmake from the top-level
directory, I get the following:
gmake
if test "x1" = "x1"; then cd xmpsdk/src && gmake xmpsdk; fi;
gmake[1]: Entering directory `/u/src/lib/exiv2/exiv2-0.18/xmpsdk/src'
g++ -O2 -Wall -Wcast-align -Wpointer-arith -Wformat-security
-Wmissing-format-attribute -Woverloaded-virtual -W -MMD -I.
-I/opt/csw/include -I/opt/csw/lib/include
-DEXV_LOCALEDIR=\"/usr/local/X11/lib/share/locale\" -I../include
-funsigned-char -DNDEBUG=1 -I/opt/csw/lib/include
-DEXV_HAVE_STDINT_H=1 -c ParseRDF.cpp -fPIC -DPIC -o .libs/ParseRDF.o
g++ -O2 -Wall -Wcast-align -Wpointer-arith -Wformat-security
-Wmissing-format-attribute -Woverloaded-virtual -W -MMD -I.
-I/opt/csw/include -I/opt/csw/lib/include
-DEXV_LOCALEDIR=\"/usr/local/X11/lib/share/locale\" -I../include
-funsigned-char -DNDEBUG=1 -I/opt/csw/lib/include
-DEXV_HAVE_STDINT_H=1 -c ParseRDF.cpp -o ParseRDF.o >/dev/null 2>&1
/bin/sh: test: argument expected
gmake[1]: *** [ParseRDF.o] Error 1
gmake[1]: Leaving directory `/u/src/lib/exiv2/exiv2-0.18/xmpsdk/src'
gmake: *** [xmpsdk] Error 2
Notice that the compile for the file succeeds but there is a shell
error. If I retype "gmake" it moves on to the next file and repeats
the same error. On and on. I have run gmake in debug mode, but there
is no expanded info regarding the error which is being returned from
the shell and not gmake. There is only one line in the Makefile that
references $(SHELL):
$(SHELL) $(top_srcdir)/config.status --recheck
and I don't see where the test problem is there, if that is the
problem at all. Any ideas as to what might be the problem and the
solution? Thank.
--
Jeffery Small