bash_profile problems, gcc/make/xcode tools problems
g-mac:~ lindec$ PATH=$PATH\:/Xcode2.5/usr/bin ; export PATH
Fixes the issue with gcc here. However, I then installed MacPorts, and MacPorts apparently fails to modify bash_profile as well, as the "port" command will fail unless I modify the PATH by hand to include the MacPorts directory. This at least allowed me access to the "port" command. However, now MacPorts cannot compile anything because it claims make is missing! Here is the output:
g-mac:~ lindec$ port install py-mysql
---> Building zlib with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/ opt_local_var_macports_sources_rsync.macports.org_release_ports_archiverszlib/work/zlib-1.2.3" && make all " returned error 127
Command output: sh: make: command not found
Error: The following dependencies failed to build: mysql5 openssl zlib python24 gettext expat libiconv gperf
Error: Status 1 encountered during processing.
What the heck is going on here??? I know this post could also be made on the MacPorts site, however I thought it prudent to be put here because I want to know why installations that are supposed to be setting PATH are not doing it and if that is causing my problem. Also, how do I permanently modify my bash_profile on Leopard so I dont have to keep reminding bash whenever I start a new terminal session.
Macbook Pro, Mac OS X (10.5.2)