Path problems

Rainer Müller raimue at macports.org
Mon Oct 12 06:28:03 PDT 2009


Fabrizio Bartolomucci wrote:
> Following a web suggestion, I edited file macports.conf in
> /opt/local/etc/macports to add /Developer/usr/bin in the sbin path, but
> I came to the following error.
> What else must I make?

This is absolutely unnecessary.

> sudo ./port upgrade outdated
> --->  Computing dependencies for zlib
> --->  Building zlib
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/zlib-1.2.3"
> && /Developer/usr/bin/make -j2 all " returned error 2
> Command output: /usr/bin/gcc-4.2 -O2 -arch x86_64 -DNO_snprintf
> -DHAS_sprintf_void -DNO_ERRNO_H   -c -o example.o example.c
> make: /usr/bin/gcc-4.2: Command not found

Seems like you do not have Xcode installed which is a requirement for
MacPorts. Please see <http://guide.macports.org/#installing.xcode>

Rainer


More information about the macports-users mailing list