Hello,
compiling teTeX-src-beta-20020402 with
env LDFLAGS=-L/my/path/to/libs ./configure --with-system-tifflib \
--with-system-t1lib
gmake
gives problems in the linking stage of texk/web2c/pdftex,
texk/oxdvik/oxdvi.bin and texk/xdvik/xdvi.bin since LDFLAGS is not
used there:
g++ -o pdftex pdftexini.o pdftex0.o pdftex1.o pdftex2.o pdftex3.o pdftexextra.o
pdftexdir/libpdf.a -ltiff -lpng -lz ../../libs/xpdf/xpdf/libxpdf.a
../../libs/xpdf/goo/libGoo.a lib/lib.a ../kpathsea/STATIC/libkpathsea.a -lm
-nodefaultlibs -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lgcc -lc
/usr/bin/ld: cannot open -ltiff: No such file or directory
[...]
gcc -o oxdvi.bin xdvi.o dvi-draw.o dvi-init.o events.o font-open.o
string-utils.o my-vsnprintf.o help-window.o message-window.o statusline.o gf.o
pk.o psdps.o psgs.o psheader.o psnews.o special.o util.o vf.o sfDir.o sfDraw.o
sfPath.o sfSelFile.o hypertex.o mime.o wwwfetch.o alloca.o dvips.o tfmload.o
../../libs/libwww/libwww.a -lt1 -L/usr/X11R6/lib -lXaw -lXmu -lXt -lX11
../kpathsea/STATIC/libkpathsea.a -lm
/usr/bin/ld: cannot open -lt1: No such file or directory
[...]
gcc -o xdvi.bin xdvi.o dvi-draw.o dvi-init.o events.o font-open.o string-utils.o
my-vsnprintf.o help-window.o message-window.o statusline.o gf.o pk.o psdps.o
psgs.o psheader.o psnews.o special.o util.o vf.o sfDir.o sfDraw.o sfPath.o
sfSelFile.o hypertex.o mime.o wwwfetch.o alloca.o dvips.o tfmload.o
../../libs/libwww/libwww.a -lt1 -L/usr/X11R6/lib -lXaw -lXmu -lXt -lX11
../kpathsea/STATIC/libkpathsea.a -lm
/usr/bin/ld: cannot open -lt1: No such file or directory
I can easily workaround by editing texk/web2c/Makefile and
texk/{,o}xdvik/Makefile by hand, but I guess this should be fixed cleanly.
Kind regards,
Thomas
--
Thomas Anders <[EMAIL PROTECTED]>
Hahn-Meitner-Institut Berlin, Germany