Problem installing teTeX

Eric Brombaugh ebrombaugh at earthlink.net
Sat Nov 3 14:49:21 PDT 2007


Hi again,

Still trying to get octave and octave-forge installed on a Leopard /  
Santa Rosa Macbook. This time the teTex install bailed out. The  
relevant error is:

/bin/sh ../libtool --mode=link gcc -o xdvi-xaw.bin -L/opt/local/lib    
browser.o dvi-draw.o dvi-init.o dvisel.o encodings.o events.o  
filehist.o font-open.o gf.o hypertex.o image-magick.o mime.o my- 
snprintf.o my-vsnprintf.o pagehist.o pk.o print-internal.o psdps.o  
psgs.o psheader.o psnews.o read-mapfile.o search-internal.o special.o  
string-utils.o tfmload.o util.o vf.o xdvi.o xserver-info.o x_util.o ./ 
gui/libgui.a ../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/ 
libtype1.a -L/usr/local (from old Mac)/lib  -L/usr/X11/lib   -lXaw - 
lXmu -lXt -lSM -lICE -lXp -lXext -lX11 -liconv -lXpm  ../kpathsea/ 
libkpathsea.la -lm
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `/bin/sh ../libtool --mode=link gcc -o xdvi- 
xaw.bin -L/opt/local/lib   browser.o dvi-draw.o dvi-init.o dvisel.o  
encodings.o events.o filehist.o font-open.o gf.o hypertex.o image- 
magick.o mime.o my-snprintf.o my-vsnprintf.o pagehist.o pk.o print- 
internal.o psdps.o psgs.o psheader.o psnews.o read-mapfile.o search- 
internal.o special.o string-utils.o tfmload.o util.o vf.o xdvi.o  
xserver-info.o x_util.o ./gui/libgui.a ../../libs/t1lib/libt1.a ../../ 
libs/t1lib/../type1/libtype1.a -L/usr/local (from old Mac)/lib  -L/usr/ 
X11/lib   -lXaw -lXmu -lXt -lSM -lICE -lXp -lXext -lX11 -liconv - 
lXpm  ../kpathsea/libkpathsea.la -lm  '
make[2]: *** [xdvi-xaw.bin] Error 2
make[1]: *** [all] Error 1
make: *** [all] Error 1

Digging in it appears that the 'config.cache' file wasn't cleaned out  
prior to distribution and a bad definition for one of the library  
paths was left in resulting in the following entry in the xdvik  
Makefile:

x_ldflags=-L/usr/local (from old Mac)/lib  -L/usr/X11/lib

Removing the " (from old Mac) " in the Makefile allowed the build to  
proceed to completion.

Eric


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20071103/e0117aa9/attachment.html


More information about the macports-users mailing list