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:
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
> Any ideas as to what might be the problem and the
> solution?
Hi Jeffery,
Quick guess: Have you tried to run configure with the option
--disable-dependency-tracking? This tracking runs some shell code
right after each compile command.
Yes, you were correct. I did manage to get it to compile using "gmake
-i", but I added the configure flag you suggested, did a "make clean;
configure; gmake" and everything built just fine. Thank you for your
quick and accurate suggestion!
Someone on the build team should look into this and see what is
causing the problem on a Solaris system. Since /bin/sh is a true
Bourne shell here, there must be some incompatibility with the shell
used on Linux (assuming no one on that platform is seeing this problem).
I don't know how to migrate this discussion to the new groups, but I
will use them exclusively from this point onward.