[MacPorts] #18242: octave install fails
MacPorts
noreply at macports.org
Tue Jan 27 19:54:44 PST 2009
#18242: octave install fails
------------------------------+---------------------------------------------
Reporter: ozak@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: octave, texlive | Port: octave
------------------------------+---------------------------------------------
Old description:
> I'm trying to use macports to install octave and I have the following two
> problems.
>
> 1. 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.
> 2. 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.
New description:
I'm trying to use macports to install octave and I have the following two
problems.
1. 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.
2. 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.
--
Comment(by blb@…):
Replying to [ticket:18242 ozak@…]:
> 1. 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.
If you mean you have these items installed outside of MacPorts, that is by
design; see [wiki:FAQ#WhyisMacPortsusingitsownlibraries the FAQ entry].
> 2. Once it downloads texlive-base, the installation fails giving the
following message:
That error would appear to be the same as in ticket #18166.
--
Ticket URL: <http://trac.macports.org/ticket/18242#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list