libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: subdir builds & $objdir/$output_objdir


From: Peter O'Gorman
Subject: Re: subdir builds & $objdir/$output_objdir
Date: Mon, 25 Oct 2004 07:32:18 +0900
User-agent: Mozilla Thunderbird 0.7.3 (Macintosh/20040803)

Gary V. Vaughan wrote:



Once the new tests I added to HEAD are working, we should port the fixes
to branch-2-0... either for 2.0 if we are fast enough, or 2.1 if not. (Peter, they still fail for me btw, even after your patch).

That's because you aren't doing "make install" before "make check". The tests use the just built libtoolize to copy the required files into the test directory. The just built libtoolize copies the *installed* copies of these files. I believe that I whined about this on the list already :)



Currently, the rules for a number of compilers/systems use $objdir or $output_objdir as part of the rule. This causes build failure since $objdir and $output_objdir are just ".libs" and the .libs subdirectory does not exist.

For example, under Digital Unix (OSF), this fragment is generated (and fails):

-update_registry .libs/so_locations -o Magick++/lib/.libs/libGraphicsMagick++.so.2.0.0

This is due to use of

  -update_registry \${objdir}/so_locations -o \$lib

in the archive_expsym_cmds rule.

The failure under IRIX is similar except that $output_objdir is used to refer to the .libs sub-directory (with similar results).

Ah, I understand the issue better now. Thanks Bob.

Peter
--
Peter O'Gorman - http://www.pogma.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]