[Adium-devl] Building Adium X and Libpurple

Holger Bornträger pheredhel at gmail.com
Wed Apr 2 14:49:22 UTC 2008


On Apr 2, 2008, at 4:13 PM, Charles Hardnett wrote:
>
> Hi Everyone,
>
> I have experience with writing C/C++ code and networks code. I have  
> an interest in Adium X and its development. I downloaded the source  
> for Adium X using svn and tried to build it and got this error:

[...]
>
> I also tried compiling in Xcode and it also gave an error message:
>
>             cd "/Users/hardnett/Documents/SW/adium/Frameworks/ 
> AIUtilities Framework"
>     /Developer/usr/bin/gcc-4.0 -o "/Users/hardnett/Documents/SW/ 
> adium/Frameworks/AIUtilities Framework/../../build/Development/ 
> AIUtilities.framework/Versions/A/AIUtilities" "-L/Users/hardnett/ 
> Documents/SW/adium/Frameworks/AIUtilities Framework/../../build/ 
> Development" "-F/Users/hardnett/Documents/SW/adium/Frameworks/ 
> AIUtilities Framework/../../build/Development" -filelist "/Users/ 
> hardnett/Documents/SW/adium/Frameworks/AIUtilities Framework/../../ 
> build/AIUtilities.framework.build/Development/AIUtilities.build/ 
> Objects-normal/i386/AIUtilities.LinkFileList" -framework Cocoa - 
> framework Carbon -framework Security -framework IOKit -framework  
> SystemConfiguration -framework AudioUnit -framework AudioToolbox - 
> framework AddressBook -arch i386 -Wl,-single_module - 
> compatibility_version 1 -current_version 1 -install_name  
> @executable_path/../Frameworks/AIUtilities.framework/Versions/A/ 
> AIUtilities -dynamiclib -mmacosx-version-min=10.4 -Wl,-dead_strip - 
> seg1addr 0x12000000 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
> ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libJPEG.dylib,  
> file is not of required architecture
> collect2: ld returned 1 exit status
>                 ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/ 
> libJPEG.dylib, file is not of required architecture
>                 collect2: ld returned 1 exit status
> Build failed (1 error, 2 warnings)
>
> It appears to be going farther in Xcode and that is how I would  
> prefer to build it. I am building on a Mac OS X 10.5.2 MacBook Pro  
> with 4GB of RAM. My XCode is at 3.0.
>

As I had a similar probleme lately (solved thanks to Mac_arena):
	This error seems to appear, if you've installed custom versions of  
this library in /usr/local/lib

For me, the solution was to remove them (as I installed them manually)  
I think there sould be some other solutions for this, but this worked.
But be aware, moving or deleting the libs could break other software  
that installed it...

Best regards
	Holger

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20080402/75df9f5a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4066 bytes
Desc: not available
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20080402/75df9f5a/attachment.p7s>


More information about the devel mailing list