MacPorts on Snow Leopard
by Stevo on Feb.10, 2010, under mozilla, songbird, thunderbird
So I work on Songbird and apparently it doesn’t need to have the 64bit version of the libIDL in MacPorts. I was building with no problems on a recently upgraded desktop computer. I then tried to build Thunderbird and got major fail:
ld: warning: in /opt/local/lib/libIDL-2.dylib, file is not of required architecture ld: warning: in /opt/local/lib/libglib-2.0.dylib, file is not of required architecture ld: warning: in /opt/local/lib/libintl.dylib, file is not of required architecture ld: warning: in /opt/local/lib/libiconv.dylib, file is not of required architecture
Thinking this was something to do with MacPorts I tried a sudo port selfupdate, this failed even worse!
dlopen(/Library/Tcl/macports1.0/MacPorts.dylib, 10): no suitable image found. Did find:
/Library/Tcl/macports1.0/MacPorts.dylib: no matching architecture in universal wrapper
while executing
"load /Library/Tcl/macports1.0/MacPorts.dylib"
("package ifneeded macports 1.0" script)
invoked from within
"package require macports"
(file "/opt/local/bin/port" line 39)
OK so what the hell, well a little Google search and I find that there is a new version for Snow Leopard, so I downloaded and tried the update again with success.
Now off to build again after the update completes…
March 18th, 2010 on 6:59 pm
Could you provide your .mozconfig for the build? I tried to build 2.0.0.24 but I get the same “no matching arch” error messages.
I reinstalled MacPorts, but it seems that the error still exists. Any hints?
March 19th, 2010 on 9:23 pm
For building Songbird I used the default .mozconfig by just running make -f songbird.mk debug in the trunk folder.
[WORDPRESS HASHCASH] The poster sent us ’0 which is not a hashcash value.