macport user advice
Joshua Root
jmr at macports.org
Thu Mar 5 19:38:34 PST 2009
Artie Ziff wrote:
> Hello,
>
> I did th followiong command:
>
> port -vu upgrade outdated
>
> I see things ended like this:
>
>
> /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -W -Wall -Wunused
> -I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
> -I./../../libs/t1lib/../type1 -DPS_GS -I./gui
> -I../../libs/t1lib/lib/t1lib -I../kpathsea -I/usr/X11/include
> -I/opt/local/include -O2 -c x_util.c -o x_util.o
> /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 1/lib -L/usr/X11/lib
> -lXaw -lXmu -lXt -lSM -lICE -lXp -lXext -lX11 -liconv -lXpm
> ../kpathsea/libkpathsea.la -lm
> mkdir .libs
> /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/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 -lintl -liconv -lc
> ../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
> make[1]: *** [all] Error 1
> make: *** [all] Error 1
See this Problem Hotlist entry:
<http://trac.macports.org/wiki/ProblemHotlist#Aportfailedtobuildwithamessagereferringto1lib:Nosuchfileordirectory>
> How to manage MacPort after you have been adding packages for a couple
> of years? Are there any good web pages with advice on managing the
> MacPort tree? I want to prune mine.
Try the port_cutleaves port.
> Is there a way to start over? i.e. deleting everything and then
> providing a "manifest" of the packages you want, somewhat like the
> Gentoo Linux "world" file.
Not directly. You can use the output of `port echo installed` with a
little scripting.
> How do I determine why I have a particular package on my system? For
> example, why am I compiling "i686-apple-darwin9-gcc-4.0.1" ? :)
i686-apple-darwin9-gcc-4.0.1 is part of Apple's gcc 4. It's what you are
compiling with, not what you're compiling. If you want to see which port
installed a file, use `port provides /path/to/file`. If you want to see
why that port is needed, use `port dependents portname`.
- Josh
More information about the macports-users
mailing list