#18242 closed defect (duplicate)
texlive_base build fails with "Multiple definitions of symbol" errors
Reported by: | ozak@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | alakazam@… | |
Port: | texlive |
Description (last modified by blb@…)
I'm trying to use macports to install octave and I have the following two problems.
- The program downloads and installs a whole bunch of stuff, some of which I already have, e.g. texlive, X11. I'm not sure why.
- Once it downloads texlive-base, the installation fails giving the following message:
---> Building texlive_base Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007" && make all " returned error 2 Command output: make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. cd gui; make CC='/usr/bin/gcc-4.0' CFLAGS='-O2 ' libgui.a make[3]: `libgui.a' is up to date. /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/X11R6/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 -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 -lintl -lc -lX11 -lXau -lXdmcp -liconv ../kpathsea/.libs/libkpathsea.a -lm /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning multiple definitions of symbol _XtRemoveTimeOut events.o definition of _XtRemoveTimeOut in section (__TEXT,__text) /opt/local/lib/libXt.dylib(NextEvent.o) definition of _XtRemoveTimeOut /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning multiple definitions of symbol _XtAddTimeOut events.o definition of _XtAddTimeOut in section (__TEXT,__text) /opt/local/lib/libXt.dylib(NextEvent.o) definition of _XtAddTimeOut /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning multiple definitions of symbol _XtAppAddTimeOut events.o definition of _XtAppAddTimeOut in section (__TEXT,__text) /opt/local/lib/libXt.dylib(NextEvent.o) definition of _XtAppAddTimeOut /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: multiple definitions of symbol _hash_create /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libc.dylib(strhash.So) definition of _hash_create ../kpathsea/.libs/libkpathsea.a(hash.o) definition of _hash_create in section (__TEXT,__text) /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning multiple definitions of symbol _vendorShellWidgetClass /opt/local/lib/libXaw.dylib(single module) definition of _vendorShellWidgetClass /opt/local/lib/libXt.dylib(Vendor.o) definition of _vendorShellWidgetClass /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning multiple definitions of symbol _vendorShellClassRec /opt/local/lib/libXaw.dylib(single module) definition of _vendorShellClassRec /opt/local/lib/libXt.dylib(Vendor.o) definition of _vendorShellClassRec collect2: ld returned 1 exit status make[2]: *** [xdvi-xaw.bin] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1 Error: The following dependencies failed to build: texlive texlive_base Error: Status 1 encountered during processing.
I appreciate any help.
Change History (4)
comment:1 Changed 16 years ago by blb@…
Description: | modified (diff) |
---|
comment:3 Changed 16 years ago by alakazam@…
Keywords: | octave texlive removed |
---|---|
Port: | texlive added; octave removed |
Resolution: | → duplicate |
Status: | new → closed |
Summary: | octave install fails → texlive_base build fails with "Multiple definitions of symbol" errors |
As indicated by blb, this is a duplicate of #18166.
Note: See
TracTickets for help on using
tickets.
Replying to ozak@…:
If you mean you have these items installed outside of MacPorts, that is by design; see the FAQ entry.
That error would appear to be the same as in ticket #18166.