[Adium-devl] Building Adium X and Libpurple

Jordan Schelew jas8522 at gmail.com
Wed Apr 2 14:21:52 UTC 2008


Charles,

I can't comment on the build failure, but I also recently attempted to  
build latest MTN of libpurple for inclusion in Adium. I did the  
following

1. Installed Fink (though DarwinPorts should do just as well)
2. using Fink or DarwinPorts, install monotone
3. Follow the directions on Pidgin's website for grabbing the latest  
MTN revision of Pidgin
4. Follow the directions in /path/to/adium/checkout/Utilities/dep- 
build-scripts/README for building libpurple and including it in your  
Adium builds.

That appeared to work for me, though I ran into issues afterward,  
likely of my own making though.

Jordan

On 2-Apr-08, at 11:13 AM, 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:
>
>
> ProcessPCH /Library/Caches/com.apple.Xcode.504/ 
> SharedPrecompiledHeaders/AIUtilities.framework_Prefix- 
> hadrzvmhcouxcygcujrqnklxsfqf/AIUtilities.framework_Prefix.pch.gch  
> AIUtilities.framework_Prefix.pch normal i386 objective-c  
> com.apple.compilers.gcc.4_0
>     cd "/Users/hardnett/Documents/SW/adium/Frameworks/AIUtilities  
> Framework"
>     /Developer/Library/PrivateFrameworks/DevToolsCore.framework/ 
> Resources/gcc -x objective-c-header -arch i386 -pipe -std=gnu99 -Wno- 
> trigraphs -fpascal-strings -fasm-blocks -Os -Wformat -Wunused- 
> variable -DDEBUG_BUILD -fmessage-length=0 -mmacosx-version-min=10.4  
> "-I/Users/hardnett/Documents/SW/adium/Frameworks/AIUtilities  
> Framework/../../build/AIUtilities.framework.build/Deployment-Debug/ 
> AIUtilities.build/AIUtilities.hmap" -Wall -Wno-long-double "-F/Users/ 
> hardnett/Documents/SW/adium/Frameworks/AIUtilities Framework/../../ 
> build/Deployment-Debug" "-I/Users/hardnett/Documents/SW/adium/ 
> Frameworks/AIUtilities Framework/../../build/Deployment-Debug/ 
> include" "-I/Users/hardnett/Documents/SW/adium/Frameworks/ 
> AIUtilities Framework/../../build/AIUtilities.framework.build/ 
> Deployment-Debug/AIUtilities.build/DerivedSources" -isysroot / 
> Developer/SDKs/MacOSX10.4u.sdk -c "/Users/hardnett/Documents/SW/ 
> adium/Frameworks/AIUtilities Framework/ 
> AIUtilities.framework_Prefix.pch" -o /Library/Caches/com.apple.Xcode. 
> 504/SharedPrecompiledHeaders/AIUtilities.framework_Prefix- 
> hadrzvmhcouxcygcujrqnklxsfqf/AIUtilities.framework_Prefix.pch.gch
> error: can't exec '/Developer/Library/PrivateFrameworks/ 
> DevToolsCore.framework/Resources/gcc' (No such file or directory)
> ** BUILD FAILED **
> make[1]: *** [adium] Error 1
> make: *** [latest] Error 2
>
> 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.
>
>
> My other question is how do I go about updating the libpurple in the  
> AdiumX distribution with the current libpurple or should I only look  
> at the libpurple that is included with AdiumX distribution. I am  
> interested in looking at issues regarding file transfer, sound, and  
> video transmissions and that is why I am wanting to do some work  
> with libpurple.
>
> Best Regards,
>
>
> Charles
>
>
> Spelman College
> "Genius is most often in the obvious"
>
> E-Mail: hardnett at spelman.edu (best way to reach me)
> Physical: Science Bldg Office 219 (Tapley)
> Phone: 404-270-5880
> Fax: 404-270-5881
> WWW: http://www.spelman.edu/~hardnett
> NSF-BPC CARE Program: http://www.spelman.edu/~care
> Snail:
> Spelman College
> Computer Science Department Box #1257
> 350 Spelman Lane, SW
> Atlanta, GA 30314_______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20080402/8a17f7f7/attachment-0001.html>


More information about the devel mailing list