macport user advice

Artie Ziff artie.ziff at gmail.com
Thu Mar 5 19:08:09 PST 2009


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

Warning: the following items did not execute (for teTeX):
org.macports.destroot org.macports.build
Error: Unable to upgrade port: 1
      548.86 real       288.70 user        74.93 sys


####



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.

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.

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" ? :)

And lastly and more specifically, is there an easy work-around to keep
my build moving forward? Why did the gcc fail? Clearly, "1/lib" does not
exist. :)

Apologies if all of these questions have been answered before... If so,
then I am happy to read the archives.

Cheers!



More information about the macports-users mailing list