[tex-live] Compile error on OSX

Kyle Husmann kyle.husmann at gmail.com
Sun Jun 22 10:48:02 CEST 2008


Hi,

I just compiled texlive using macports on OSX, and found an error in
one of the Makefiles.  It was giving me this compile error:

/bin/sh ../libtool --mode=link /usr/bin/gcc-4.0 -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/lib/ruby 1  -L/usr/X11/lib
  -lXaw -lXmu -lXt -lSM -lICE -lXp -lXext -lXpm -lX11 -liconv
../kpathsea/libkpathsea.la -lm
/usr/bin/gcc-4.0 -o xdvi-xaw.bin 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 1  -L/opt/local/lib ./gui/libgui.a
../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/libtype1.a
-L/usr/lib/ruby -L/usr/X11/lib -lXaw -lXmu -lXt -lSM -lICE -lXp -lXext
-lXpm -lX11 -lXau -lXdmcp -liconv ../kpathsea/.libs/libkpathsea.a -lm
i686-apple-darwin9-gcc-4.0.1: 1: No such file or directory
make[2]: *** [xdvi-xaw.bin] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1

I fixed it by editing texlive_base-2007/texk/xdvik/Makefile

I changed the line that read:

x_ldflags=-L/usr/lib/ruby 1 -L/usr/X11/lib

to:

x_ldflags=-L/usr/lib/ruby -L/usr/X11/lib

Anyway, hope that helps someone, and that I am reporting this in the
right place.  Please let me know!

Thanks,

Kyle


More information about the tex-live mailing list