$ locate gcc
WARNING: The locate database (/var/db/locate.database) does not exist.
To create the database, run the following command:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
Please be aware that the database can take some time to generate; once
the database has been created, this message will no longer appear.

if you have a lot of installed mac ports it might be easier to just start from a fresh /opt/local by moving the old files out of the way and re-installing the ports you need.

seem to have problems with libemf, libvorbis as well …

if you see something like the following in the error output, it probably mean a dependancy is installed but needs to be updated first, so you might be able to upgrade it or need to uninstall, clean, re-install which seems to solve the problem

ld: symbol(s) not found

this command might also be usefull if variants are installed but need to be rebuilt first for x86_64

Thanks for the info. MacPorts is a tedious bloody thing, and after looking at all the fixes and packages that are required, I realised why I got rid of it in the first place off my machine: buggy, tired old versions of software, and over the top dependency/version checking. I’m back to DIY compilation in /usr/local with the original software source (which usually includes Mac-ready compile options)!
Too any newbs out there: be prepared for a lot of frustration with MacPorts – it just doesn’t work very well.

Thanks for the tips. For the life of me, I can’t exactly remember what sequence of uninstall and cleans I had to do. I had to throw in a reinstall of macports as well. But in the end it worked. For some strange reason, one of the source header files for ncurses (ncurses_def.h, I think) was missing a terminating #endif. In the end, I think I had to (1) force uninstall all versions of ncurses and gawk that I had, (2) that wrecked macports itself so I couldn’t run the port command so I reinstalled macports from the .dmg file, (3) I installed ncurses and gawk, (4) I was trying to install subversion and I think that worked (5) but the svn command wouldn’t work because neon was broken so (5) I upgraded neon. I think *then* subversion finally worked.

Spoke too soon. Also had to uninstall, clean and reinstall neon and xslt. I had an older installation of mac ports on Leopard, and I upgraded to Snow Leopard rather than doing a clean install. So I therefore started with outdated macports libraries. I think I just stumble on them when I luck into them and muck around uninstalling, cleaning and reinstalling.

Post a Comment

Your email is never published nor shared. Required fields are marked *