libtool problem...

Alexandre Buisse <[email protected]> Tue, 22 Nov 2005 19:53:27 +0100
Newsgroups gmane.comp.tex.tetex.general
Message-ID <[email protected]>
Hi,

I am currently more or less maintaining tetex for gentoo linux, and we
recently encountered a big compilation problem with libtool. You can
find the full info there : http://bugs.gentoo.org/show_bug.cgi?id=113024
but in short, libtool complains about not being able to infer "--tag CXX" :

libtool --mode=link c++ -o pdfxtex  pdfxtexini.o pdfxtex0.o pdfxtex1.o
pdfxtex2.o pdfxtex3.o pdfxtexextra.o  pdftexdir/libpdf.a -lpng -lz
../../libs/xpdf/xpdf/libxpdf.a ../../libs/xpdf/goo/libGoo.a
../../libs/xpdf/fofi/libfofi.a ../../libs/md5/md5.o  lib/lib.a
../kpathsea/libkpathsea.la -lm
libtool: link: unable to infer tagged configuration
libtool: link: specify a tag with `--tag'

This is happening in texk/web2c/

By manually adding --tag CXX to the libtool link commands in the
Makefiles, I managed to solve this problem but I have no idea of how to
make .m4 or .in files generate the files with the needed correction...

Perhaps someone upstream can fix it ?

Thanks in advance

Regards,
Alexandre