Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13396 closed defect (fixed)

BUG: texlive_base-2007 build failure

Reported by: jmroot (Joshua Root) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc: milosh@…, josh+macports@…
Port:

Description

Error output is as follows:

gcc -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/lib  -L/opt/local/lib ./gui/libgui.a ../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/libtype1.a -L/usr/X11R6 -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/lib: No such file or directory
make[2]: *** [xdvi-xaw.bin] Error 1

Change History (7)

comment:1 Changed 17 years ago by milosh@…

Summary: BUG: texlive_base-2007 build failure on LeopardBUG: texlive_base-2007 build failure

The texlive port has been reported to compile on leopard. Could I have more info about your configuration? Could you look into the Makefile in the faulty directory to understand where this 1/lib comes from?

comment:2 Changed 17 years ago by josh-macports@…

There's not a lot to add about my setup. Leopard + XCode 3 on x86, and a bunch of stuff installed via MacPorts.

"1/lib" shows up in 3 places:

config.cache:345:xdvi_cv_motif_libdir=${xdvi_cv_motif_libdir='/usr/X11R6 1/lib'}
texk/xdvik/config.status:79:s%@X_LIBS@%-L/usr/X11R6 1/lib  -L/usr/X11/lib%g
texk/xdvik/Makefile:213:x_ldflags=-L/usr/X11R6 1/lib  -L/usr/X11/lib

comment:3 Changed 17 years ago by milosh@…

You have a "/usr/X11R6 1/" directory? The space is the reason for the failure. I think the best would be to get rid of (or at least rename without any spaces) this directory as it is bound to cause problems for other things: many configure scripts are not robust again spaces in paths.

comment:4 Changed 17 years ago by josh-macports@…

Ack, you're right. Looks an installer renamed an older version of the directory at some point. I wonder why it decided to use "/usr/X11R6 1" instead of "/usr/X11R6"? Turns out I also had "/usr/lib/ruby 1" which caused another build problem. I wonder what other things I have renamed copies of. :-/

Anyway, with those taken care of it builds OK.

comment:5 Changed 17 years ago by milosh@…

Resolution: fixed
Status: newclosed

comment:6 Changed 17 years ago by febeling (Florian Ebeling)

Duplicated by #14253.

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.