libtool woes

paul beard paulbeard at gmail.com
Sun Feb 3 09:33:29 PST 2008


On Feb 3, 2008 1:32 AM, Anders F Björklund <afb at macports.org> wrote:

> paul beard wrote:
>
> > Looks like I have some problem with libtool.
> > libIDL and Apache2 both fail to upgrade.
> ...
> > libtool: compile: unable to infer tagged configuration
> > libtool: compile: specify a tag with `--tag'
>
> This problem is since the change to "/usr/bin/gcc-4.0" for CC.
> Switching compiler back to "gcc" (or "gcc-4.0") makes it work.
>

what baffles me about this is that the libtool that's being invoked is part
of the port's code:
/bin/sh ./libtool --tag=CC   --mode=link gcc  -O2 -no-cpp-precomp
-version-info 0:0:0 -L/opt/local/lib -lglib-2.0 -lintl -liconv
-no-undefined -L/opt/local/lib -o libIDL-2.la -rpath /opt/local/lib
parser.lo lexer.lo ns.lo util.lo

if I run port configure (with -d), what's happening here?

configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by /usr/bin/g++-4.0... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the /usr/bin/g++-4.0 linker (/usr/bin/ld) supports shared
libraries... yes


-- 
Paul Beard / www.paulbeard.org/
<paulbeard at gmail.com/paulbeard at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080203/d453fc87/attachment-0001.html


More information about the macports-users mailing list