[pdftex] make (pdftex-20010126) pdftexbin fails on SUN gcc 2.95.2
Bill LANGDON
W.Langdon at cs.ucl.ac.uk
Fri Mar 9 20:58:37 CET 2001
Dear pdftex,
Aparently the first time I sent this email to the wrong
email address:-(
However Thomas Esser was kind enought to point this out to me.
Also you might be interested in the comment I had from
Himanshu Gohel <gohel at csee.usf.edu>
------------------------------
Well, it's a link error, which means the configuration didn't go
correctly. Either you have to set some flags, or maybe tweak the
configure for SunOS, though I have built tetex (a long time ago)
on SunOS without any such problems.
------------------------------
I have also tried restarting from scratch and running
configure --datadir=/opt/tex/lib --with-pdftex
(We have LaTeX installed in /opt/tex/bin/latex)
But make stopped again on kpsewhich
configure produced several lines like:
running /bin/sh ./configure --datadir=/opt/tex/lib --with-pdftex --prefix=/usr/local/teTeX --cache-file=../.././config.cache --srcdir=.
"--prefix=/usr/local/teTeX"
Is a bit suspicious? I don't have write access to it.
So I tried again (from the start) with
configure --datadir=/opt/tex/lib --with-pdftex --prefix=/tmp/pdftex
but make failed on kpsewhich as before:-(
Thanks again
Bill
ps: Am I missing the obvious? Can I get pdftex already compiled for
SUN unix workstations?
------- Forwarded Message
Date: Fri, 09 Mar 2001 17:25:37 +0000
From: Bill LANGDON <W.Langdon at cs.ucl.ac.uk>
To: tetex-pretest at informatik.uni-hannover.de
cc: W.Langdon at cs.ucl.ac.uk
Subject: make (pdftex-20010126) pdftexbin fails on SUN gcc 2.95.2
I thought you migt be interested in the following;-)
I followed README
except configure -datadir /opt/tex/lib
make pdftexbin failed on first attempt with
......................................................................
gcc -o kpsewhich -static kpsewhich.o ../kpathsea/STATIC/libkpathsea.a -lm
Undefined first referenced
symbol in file
dlclose /usr/lib/libc.a(nss_deffinder.o)
dlsym /usr/lib/libc.a(nss_deffinder.o)
dlopen /usr/lib/libc.a(nss_deffinder.o)
ld: fatal: Symbol referencing errors. No output written to kpsewhich
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `kpsewhich'
Current working directory /tmp/pdftex/src/texk/kpathsea
*** Error code 1
make: Fatal error: Command failed for target `../kpathsea/libkpathsea.la'
Current working directory /tmp/pdftex/src/texk/web2c
*** Error code 1
make: Fatal error: Command failed for target `pdftexbin'
......................................................................
running make in src/texk/ksearpath seems to fix this but then
make fails later with:
......................................................................
rm -f libGoo.a
ar rc libGoo.a GString.o gmempp.o gfile.o gmem.o parseargs.o
./../klibtool link c++ -o pdftex -static pdftexini.o pdftex0.o pdftex1.o pdftex
2.o pdftex3.o pdftexextra.o pdftexdir/libpdf.a ../../libs/libtiff/libtiff.a ..
/../libs/libpng/libpng.a ../../libs/zlib/libz.a ../../libs/xpdf/xpdf/libxpdf.a
../../libs/xpdf/goo/libGoo.a lib/lib.a ../kpathsea/libkpathsea.la -lm
c++ -o pdftex -static pdftexini.o pdftex0.o pdftex1.o pdftex2.o pdftex3.o pdfte
xextra.o pdftexdir/libpdf.a ../../libs/libtiff/libtiff.a ../../libs/libpng/libp
ng.a ../../libs/zlib/libz.a ../../libs/xpdf/xpdf/libxpdf.a ../../libs/xpdf/goo/
libGoo.a lib/lib.a ../kpathsea/STATIC/libkpathsea.a -lm
Undefined first referenced
symbol in file
dlclose /usr/lib/libc.a(nss_deffinder.o)
__builtin_delete pdftexdir/libpdf.a(pdftoepdf.o)
__builtin_new pdftexdir/libpdf.a(pdftoepdf.o)
__rtti_user ../../libs/xpdf/xpdf/libxpdf.a(GfxState.o)
terminate(void) pdftexdir/libpdf.a(pdftoepdf.o)
__builtin_vec_new pdftexdir/libpdf.a(pdftoepdf.o)
__builtin_vec_delete ../../libs/xpdf/goo/libGoo.a(GString.o)
__rtti_si ../../libs/xpdf/xpdf/libxpdf.a(GfxState.o)
dlsym /usr/lib/libc.a(nss_deffinder.o)
dlopen /usr/lib/libc.a(nss_deffinder.o)
ld: fatal: Symbol referencing errors. No output written to pdftex
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `pdftex'
Current working directory /tmp/pdftex/src/texk/web2c
*** Error code 1
make: Fatal error: Command failed for target `pdftexbin'
......................................................................
I noticed running make in the subdirectory uses "STATIC" in a
different way to running the main make.
Thank you
Bill
gcc -v
Reading specs from /opt/gcc295/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)
W. B. Langdon, Phone +44 20 7679 4436
Computer Science, Fax +44 20 7387 1397
University College, London,
Gower Street,
London, WC1E 6BT, UK
http://www.cs.ucl.ac.uk/staff/W.Langdon
EuroGP Lake Como 18-20 April http://evonet.dcs.napier.ac.uk/eurogp2001
GECCO San Francisco 7-11 July http://www.isgec.org/GECCO-2001
GP+EM Journal http://www.wkap.nl/journalhome.htm/1389-2576
------- End of Forwarded Message
More information about the pdftex
mailing list