Macports selfupdate failed

Jeremy Lavergne jeremy at
Thu Sep 1 13:55:45 PDT 2011

> It appears the problem is MacPorts is grabbig SQLite from
> /Library/Frameworks/Mono.framework/Versions/2.10.3/include/sqlite3.h
> Obviously, part of the problem is that the version of SQlite being
> found/used is from the Mono SDK (installed from,
> installed at /Library/Frameworks/Mono.framework.

You nailed it: that's precisely the issue.

> The odd thing:  As far as I can tell, MacPorts should be using the
> frameworks in /opt/local/Library/Frameworks:
> (from the configure script output:)
> checking for Frameworks installation directory...
> /opt/local/Library/Frameworks
> What do I need to do to get 'port selfupdate' to ignore the Mono framework
> in
> 	/Library/Frameworks
> And use the one(s) in
> 	/opt/local/Library/Frameworks?

In this instance, when MacPorts is checking that directory it is for
creating it and not using it. MacPorts will use the SQLite from:
or applicable Xcode SDKs.

As a workaround, I'd recommend you move the mono framework temporarily out
of /Library/Frameworks, selfupdate MacPorts, and then put your Mono
framework back.

More information about the macports-users mailing list