[MacPorts] #18166: texlive_base fails to install

MacPorts noreply at macports.org
Sun Feb 8 09:01:10 PST 2009


#18166: texlive_base fails to install
--------------------------------+-------------------------------------------
 Reporter:  andilipa@…          |       Owner:  milosh@…              
     Type:  defect              |      Status:  new                   
 Priority:  Normal              |   Milestone:  Port Bugs             
Component:  ports               |     Version:  1.7.0                 
 Keywords:                      |        Port:  texlive_base xorg-libs
--------------------------------+-------------------------------------------

Comment(by matt.r.walker@…):

 Replying to [comment:5 jjstickel@…]:
 > After some searching, I think this is NOT related to X11 libraries.
 Those are just warnings.  The error is "multiple definitions of symbol
 _hash_create" in libkpathsea.a and libc.dylib.  This thread seems
 relevant:
 >
 > http://www.tug.org/pipermail/tex-live/2006-December/011599.html
 >
 > If I follow correctly, the -lc needs to be after libkpathsea.la in the
 link line, as the -lm currently is.  I don't know how to make it do
 that...

 Despite seeing the modification to the port file and patch to xdivk
 provided above in my local source, I still receive the reported error
 under Tiger (10.4.11).  jjstickel@… was right when he said that `-lc`
 needs to come after `libkpathsea.a`.  I manually executed:

 `sudo /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  -L/opt/local/lib ./gui/libgui.a ../../libs/t1lib/libt1.a
 ../../libs/t1lib/../type1/libtype1.a -L/usr/X11R6/lib -lXaw -lXmu -lXt
 -lSM -lICE -lXp -lXext -lXpm -lX11 -lXau -lXdmcp -lintl -liconv
 ../kpathsea/.libs/libkpathsea.a -lc -lm`

 (which is the same as the broken build command except moving `-lc`) in
 the:

 `/opt/local/var/macports/sources/rsync.macports.org/release/ports/print/teTeX/work
 /tetex-src-3.0/texk/xdvik`

 directory, which successfully built xdvi-xaw.bin.  Afterward, the rest of
 the build went without error using the standard upgrade command.  I'm not
 savvy enough to trace down what exactly needs to be changed in the make
 files as they seem to be multiply nested, but this is at least a work
 around.

-- 
Ticket URL: <http://trac.macports.org/ticket/18166#comment:25>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list