Macports selfupdate failed

Troy Telford ttelford.groups at gmail.com
Thu Sep 1 13:45:25 PDT 2011


I just tried to run port -v selfupdate, and the update to MacPorts 2.0.2 fails.

It appears the problem is MacPorts is grabbig SQLite from

/Library/Frameworks/Mono.framework/Versions/2.10.3/include/sqlite3.h

With the final error being:
/usr/bin/cc -dynamiclib -g -O2 -W -Wall -pedantic  
-I/Library/Frameworks/Mono.framework/Versions/2.10.3/include    
-Wl,-single_module registry.o util.o entry.o entryobj.o 
../cregistry/cregistry.a -o registry.dylib 
-L/System/Library/Frameworks/Tcl.framework/Versions/8.5 -ltclstub8.5   
-L/Library/Frameworks/Mono.framework/Versions/2.10.3/lib -lsqlite3
ld: warning: ignoring file 
/Library/Frameworks/Mono.framework/Versions/2.10.3/lib/libsqlite3.dylib, 
file was built for unsupported file format which is not the 
architecture being linked (x86_64)

Obviously, part of the problem is that the version of SQlite being 
found/used is from the Mono SDK (installed from go-mono.com),  
installed at /Library/Frameworks/Mono.framework.

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?

Thanks.
-- 
Troy Telford




More information about the macports-users mailing list