MacPorts every port I try to install fails with dependency error

I have been trying to install Dia diagram for the last couple weekends. I finally got MacPorts and xcode installed and can now run port -d selfupdate and port info and such.

However, every time I try to install any port it fails with an error saying: The following dependencies failed to build: (20+ dependencies are usually listed)

This happens on every port I try to install. It has never successfully installed a port or even one dependency.

I am a good 20 hours into this so I have to assume MacPorts just does not work on 10.6.2. Can anyone confirm that this does not work on the new IMACS?

IMAC, Mac OS X (10.6.2), 3.06 HGz Intel Core 2 Duo 4GB RAM

Posted on Jan 15, 2010 4:05 PM

Reply
6 replies

Jan 15, 2010 4:20 PM in response to Oreilly1234567

In case it help, here is the output from when I try to install dia from Terminal as root:

port install dia
---> Computing dependencies for dia
---> Configuring expat
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/ opt_local_var_macports_sources_rsync.macports.org_release_ports_textprocexpat/work/expat-2.0.1" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man " returned error 1
Command output: ./configure: line 83: sed: command not found
./configure: line 92: chmod: command not found
./configure: line 98: rm: command not found
./configure: line 166: sed: command not found
./configure: line 175: sed: command not found
: error: cannot create .lineno; rerun with a POSIX shell

Error: The following dependencies failed to build: cairo expat fontconfig freetype zlib libiconv gperf libpixman libpng pkgconfig xrender xorg-libX11 groff xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto gettext ncurses ncursesw glib2 autoconf help2man p5-locale-gettext perl5 perl5.8 m4 automake libtool python_select gtk2 atk gtk-doc docbook-xml docbook-xml-4.1.2 unzip xmlcatmgr docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl gnome-doc-utils iso-codes libxslt libxml2 p5-xml-parser py26-libxml2 python26 bzip2 db46 gdbm openssl readline sqlite3 tk Xft2 tcl xorg-libXScrnSaver xorg-libXext xorg-scrnsaverproto rarian getopt intltool gnome-common p5-getopt-long p5-pathtools p5-scalar-list-utils jasper jpeg pango shared-mime-info tiff xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto libart_lgpl popt
Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.
bash-3.2#

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

MacPorts every port I try to install fails with dependency error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.