problem building adium 0.81 under mac os x 10.4
-
ImaSudonim
- Muffin
- Posts: 33
- Joined: Mon May 16, 2005 1:21 am
Are you sure? The error messages you're posting don't look like the default build hierarchy.ImaSudonim wrote:I don't think so. I'm using the default xcode with NO changes. Could it be that xcode 2.0 uses a different build structure that is breaking the adium build on 10.4?
/Developer/Temp/Adium.app/Contents/Frameworks
/Developer/Temp/../Frameworks/AIUtilities Framework/build: No such file or directory
Adium.app should be building into adium/build/
The framework scripts depend on the build products going into PRODUCT_DIR/build/.
-
ImaSudonim
- Muffin
- Posts: 33
- Joined: Mon May 16, 2005 1:21 am
Adam Iser wrote:
>Are you sure? The error messages you're posting don't look like the >default build hierarchy.
As sure as I can be.
from the adium src directory
rm -rf adium.xcode
svn update
A Adium.xcode
A Adium.xcode/project.pbxproj
Updated to revision 11988.
I then select 'Clean All Targets' and when that's done I build target Adium.
>/Developer/Temp/Adium.app/Contents/Frameworks
>/Developer/Temp/../Frameworks/AIUtilities Framework/build: No such >file >or directory
>Adium.app should be building into adium/build/
>The framework scripts depend on the build products going into >PRODUCT_DIR/build/.
I wish I knew how to get the build product in PRODUCT_DIR/build!
I found the following in Project Adium Settings, Styles, General
PROJECT
The path at which all products will be placed when performing a development build. For instance, to install your products on the system proper, set this path to '/'. Defaults to /tmp/$(PROJECT_NAME).dst to prevent a "test" install build from accidentally overwriting valid and needed data in the ultimate install path.
Typically this path is not set per target, but is set in the project or in a build style. [SYMROOT]
I did a clean all targets and I'm setting PROJECT to:
Adium
I'll try rebuilding
OK, I've finally noticed that my src/adium directory DOESN'T have a build directory. (Target "Adium" Info, Build, General collection, Development Build Products Path = build), I've run clean all targets again and am rebuilding after mkdir build in the adium directory...
OK, I modified the project to use src/adium/build as the project binary directory. Now I get a different error:
cd /Users/ima/Desktop/src/adium
/usr/bin/gcc-4.0 -x objective-c-header -arch ppc -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings -fasm-blocks -gfull -O0 -Wformat -Wunused-variable -fmessage-length=0 -mtune=G4 -mfix-and-continue -I/users/ima/desktop/src/adium/build/Adium.build/Adium.Framework.build/Adium.hmap -Wall -Wno-long-double -F/users/ima/desktop/src/adium/build "-FFrameworks/AIUtilities Framework/build" -I/users/ima/desktop/adium/build/include -I/users/ima/desktop/src/adium/build/Adium.build/Adium.Framework.build/DerivedSources -DDEBUG_BUILD -g3 -c Adium.pch -o /users/ima/desktop/src/adium/build/Adium.build/SharedCaches/Adium-azupaahfnsjtjucshhqhfblsvpsy/Adium.pch.gch
Adium.pch:21:91: error: AIUtilities/AIStringUtilities.h: No such file or directory
Adium.pch:21:91: error: AIUtilities/AIStringUtilities.h: No such file or directory
Build failed for target "Adium" using build style "Development" (1 error)
Of course the file IS there in adium/Frameworks/AIUtilities Framework/Source/AIStringUtilities.h
I just can't figure out what xcode is doing or why, much less the build scripts. I think that I'll have to give up on this and hope that someone smarter can figure the problem out evenually 8-(
thanks for your help...
Ima
>Are you sure? The error messages you're posting don't look like the >default build hierarchy.
As sure as I can be.
from the adium src directory
rm -rf adium.xcode
svn update
A Adium.xcode
A Adium.xcode/project.pbxproj
Updated to revision 11988.
I then select 'Clean All Targets' and when that's done I build target Adium.
>/Developer/Temp/Adium.app/Contents/Frameworks
>/Developer/Temp/../Frameworks/AIUtilities Framework/build: No such >file >or directory
>Adium.app should be building into adium/build/
>The framework scripts depend on the build products going into >PRODUCT_DIR/build/.
I wish I knew how to get the build product in PRODUCT_DIR/build!
I found the following in Project Adium Settings, Styles, General
PROJECT
The path at which all products will be placed when performing a development build. For instance, to install your products on the system proper, set this path to '/'. Defaults to /tmp/$(PROJECT_NAME).dst to prevent a "test" install build from accidentally overwriting valid and needed data in the ultimate install path.
Typically this path is not set per target, but is set in the project or in a build style. [SYMROOT]
I did a clean all targets and I'm setting PROJECT to:
Adium
I'll try rebuilding
OK, I've finally noticed that my src/adium directory DOESN'T have a build directory. (Target "Adium" Info, Build, General collection, Development Build Products Path = build), I've run clean all targets again and am rebuilding after mkdir build in the adium directory...
OK, I modified the project to use src/adium/build as the project binary directory. Now I get a different error:
cd /Users/ima/Desktop/src/adium
/usr/bin/gcc-4.0 -x objective-c-header -arch ppc -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings -fasm-blocks -gfull -O0 -Wformat -Wunused-variable -fmessage-length=0 -mtune=G4 -mfix-and-continue -I/users/ima/desktop/src/adium/build/Adium.build/Adium.Framework.build/Adium.hmap -Wall -Wno-long-double -F/users/ima/desktop/src/adium/build "-FFrameworks/AIUtilities Framework/build" -I/users/ima/desktop/adium/build/include -I/users/ima/desktop/src/adium/build/Adium.build/Adium.Framework.build/DerivedSources -DDEBUG_BUILD -g3 -c Adium.pch -o /users/ima/desktop/src/adium/build/Adium.build/SharedCaches/Adium-azupaahfnsjtjucshhqhfblsvpsy/Adium.pch.gch
Adium.pch:21:91: error: AIUtilities/AIStringUtilities.h: No such file or directory
Adium.pch:21:91: error: AIUtilities/AIStringUtilities.h: No such file or directory
Build failed for target "Adium" using build style "Development" (1 error)
Of course the file IS there in adium/Frameworks/AIUtilities Framework/Source/AIStringUtilities.h
I just can't figure out what xcode is doing or why, much less the build scripts. I think that I'll have to give up on this and hope that someone smarter can figure the problem out evenually 8-(
thanks for your help...
Ima
-
ImaSudonim
- Muffin
- Posts: 33
- Joined: Mon May 16, 2005 1:21 am
OK, WHAT instructions? (Maybe THAT's my problem!)
I'm used to ./configure & make & sudo make install
I have very little experience with xcode. I double click on the project, and do a build. Do I have to build things in a certain order or does the xcode file take care of that? Is there documentation on the scripts and how to modify them?
<http://www.adiumx.com/development.php> no longer works and
the support and development page
<http://trac.adiumx.com/>
doesn't seem to give any specifics about downloading via svn and compiling the xcode project.
I can download the source fine.
ima% svn info
Path: .
URL: svn://svn.adiumx.com/adium/trunk
Repository UUID: 1c916fce-81e2-0310-a464-8ca513f45935
Revision: 11989
Node Kind: directory
Schedule: normal
Last Changed Author: evands
Last Changed Rev: 11987
Last Changed Date: 2005-05-17 03:59:27 -0400 (Tue, 17 May 2005)
Properties Last Updated: 2005-05-16 09:37:03 -0400 (Mon, 16 May 2005)
ima% svn update
U Source/ESFileTransferProgressWindowController.m
Updated to revision 11999.
ima%
I need a 'for idiots' type guide. 8-( I'm sure I must be missing something simple, I just can't figure out what it is.
thanks!
Ima
I'm used to ./configure & make & sudo make install
I have very little experience with xcode. I double click on the project, and do a build. Do I have to build things in a certain order or does the xcode file take care of that? Is there documentation on the scripts and how to modify them?
<http://www.adiumx.com/development.php> no longer works and
the support and development page
<http://trac.adiumx.com/>
doesn't seem to give any specifics about downloading via svn and compiling the xcode project.
I can download the source fine.
ima% svn info
Path: .
URL: svn://svn.adiumx.com/adium/trunk
Repository UUID: 1c916fce-81e2-0310-a464-8ca513f45935
Revision: 11989
Node Kind: directory
Schedule: normal
Last Changed Author: evands
Last Changed Rev: 11987
Last Changed Date: 2005-05-17 03:59:27 -0400 (Tue, 17 May 2005)
Properties Last Updated: 2005-05-16 09:37:03 -0400 (Mon, 16 May 2005)
ima% svn update
U Source/ESFileTransferProgressWindowController.m
Updated to revision 11999.
ima%
I need a 'for idiots' type guide. 8-( I'm sure I must be missing something simple, I just can't figure out what it is.
thanks!
Ima
-
ImaSudonim
- Muffin
- Posts: 33
- Joined: Mon May 16, 2005 1:21 am
OK, I found build instructions here
<http://trac.adiumx.com/wiki/GettingAdiumSource>
but that's what I'm doing. Can someone please tell me what the paths of their adium source and xcode 2 project paths look like? Do they have a build directory in src/adium or is it in the xcode build directories? If so, what does the directory structure look like?
I'll do a Clean All Targets, then I'll rm -rf adium, svn co svn://svn.adiumx.com/adium/trunk adium, and Build with no Xcode project modifications and see how it goes.
sorry for being so frustrated, I appreciate the help and suggestions
thanks!
Ima
<http://trac.adiumx.com/wiki/GettingAdiumSource>
but that's what I'm doing. Can someone please tell me what the paths of their adium source and xcode 2 project paths look like? Do they have a build directory in src/adium or is it in the xcode build directories? If so, what does the directory structure look like?
I'll do a Clean All Targets, then I'll rm -rf adium, svn co svn://svn.adiumx.com/adium/trunk adium, and Build with no Xcode project modifications and see how it goes.
sorry for being so frustrated, I appreciate the help and suggestions
thanks!
Ima
-
ImaSudonim
- Muffin
- Posts: 33
- Joined: Mon May 16, 2005 1:21 am
Same problem:
cd /Users/ima/src/adium
/usr/bin/gcc-4.0 -o /Developer/Temp/Adium.app/Contents/MacOS/Adium -arch ppc /System/Library/PrivateFrameworks/ZeroLink.framework/Resources/libZeroLinkAppStub.a -Wl,-all_load -L/Developer/Temp -F/Developer/Temp "-FFrameworks/AIUtilities Framework/build" "-FFrameworks/AIHyperlinks Framework/build" -FFrameworks "-FFrameworks/AIBookmarksImport Framework/build" -framework AIUtilities -framework AIHyperlinks -framework Cocoa -framework Adium -framework Carbon -framework ExceptionHandling -framework SystemConfiguration -framework AddressBook -framework Growl-WithInstaller -framework AIBookmarksImport -framework ZeroLink -F/System/Library/PrivateFrameworks/ -Wl,-x -Wl,-unexported_symbols_list -Wl,/System/Library/PrivateFrameworks/ZeroLink.framework/Versions/A/Resources/ZeroLinkAppStub.nexp -Wl,-sectcreate -Wl,__TEXT -Wl,__zerolink -Wl,/Developer/Temp/Adium.build/Adium.build/Objects-normal/ppc/Adium.zerolink
/usr/bin/ld: warning -F: directory name (Frameworks/AIUtilities Framework/build) does not exist
/usr/bin/ld: warning -F: directory name (Frameworks/AIHyperlinks Framework/build) does not exist
/usr/bin/ld: warning -F: directory name (Frameworks/AIBookmarksImport Framework/build) does not exist
/usr/bin/ld: warning -F: directory name (Frameworks/AIUtilities Framework/build) does not exist
/usr/bin/ld: warning -F: directory name (Frameworks/AIHyperlinks Framework/build) does not exist
/usr/bin/ld: warning -F: directory name (Frameworks/AIBookmarksImport Framework/build) does not exist
cd /Users/ima/Desktop/src/adium
/System/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks "/Developer/Temp/../Frameworks/AIUtilities Framework/build/AIUtilities.framework" /Developer/Temp/Adium.app/Contents/Frameworks
/Developer/Temp/../Frameworks/AIUtilities Framework/build: No such file or directory
/Developer/Temp/../Frameworks/AIUtilities Framework/build: No such file or directory
/Developer/Temp/../Frameworks/AIUtilities Framework/build: No such file or directory
Ima
cd /Users/ima/src/adium
/usr/bin/gcc-4.0 -o /Developer/Temp/Adium.app/Contents/MacOS/Adium -arch ppc /System/Library/PrivateFrameworks/ZeroLink.framework/Resources/libZeroLinkAppStub.a -Wl,-all_load -L/Developer/Temp -F/Developer/Temp "-FFrameworks/AIUtilities Framework/build" "-FFrameworks/AIHyperlinks Framework/build" -FFrameworks "-FFrameworks/AIBookmarksImport Framework/build" -framework AIUtilities -framework AIHyperlinks -framework Cocoa -framework Adium -framework Carbon -framework ExceptionHandling -framework SystemConfiguration -framework AddressBook -framework Growl-WithInstaller -framework AIBookmarksImport -framework ZeroLink -F/System/Library/PrivateFrameworks/ -Wl,-x -Wl,-unexported_symbols_list -Wl,/System/Library/PrivateFrameworks/ZeroLink.framework/Versions/A/Resources/ZeroLinkAppStub.nexp -Wl,-sectcreate -Wl,__TEXT -Wl,__zerolink -Wl,/Developer/Temp/Adium.build/Adium.build/Objects-normal/ppc/Adium.zerolink
/usr/bin/ld: warning -F: directory name (Frameworks/AIUtilities Framework/build) does not exist
/usr/bin/ld: warning -F: directory name (Frameworks/AIHyperlinks Framework/build) does not exist
/usr/bin/ld: warning -F: directory name (Frameworks/AIBookmarksImport Framework/build) does not exist
/usr/bin/ld: warning -F: directory name (Frameworks/AIUtilities Framework/build) does not exist
/usr/bin/ld: warning -F: directory name (Frameworks/AIHyperlinks Framework/build) does not exist
/usr/bin/ld: warning -F: directory name (Frameworks/AIBookmarksImport Framework/build) does not exist
cd /Users/ima/Desktop/src/adium
/System/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks "/Developer/Temp/../Frameworks/AIUtilities Framework/build/AIUtilities.framework" /Developer/Temp/Adium.app/Contents/Frameworks
/Developer/Temp/../Frameworks/AIUtilities Framework/build: No such file or directory
/Developer/Temp/../Frameworks/AIUtilities Framework/build: No such file or directory
/Developer/Temp/../Frameworks/AIUtilities Framework/build: No such file or directory
Ima
Make sure you clean (I never trust Xcode and do it by manually trashing the build folder) after switching to deployment. Otherwise you end up with some freaky hybrid of development and deployment build codesaadiq wrote:I'm actually able to build using xcode 2 on tiger with the defaults without a problem. However, I can't seem to copy that application to another machine (also tiger but without the cross development sdk's installed) and run it even though I am using the "Deployment" build style.
-
ImaSudonim
- Muffin
- Posts: 33
- Joined: Mon May 16, 2005 1:21 am
that fixed it!
OK, the problem was that I was trying to set the build path in the project settings via custom path in XCode preferences.
As Adam Iser notes, this does not work. 8-( I never guessed...
When I changed my XCODE build settings to place build products in the project directory, cleaned all targets and rebuilt -- it worked!
Perhaps the scripts can be updated to use whatever XCode environment variable denotes the build products directory in its scripts?
Could someone please create a readme for adium/documentation/developer
that EXPLICITLY notes that XCode build settings must be changed to place build products in the project directory and that customized locations for build products in the project settings or XCode settings DON'T work.
Unless of course someone is willing to fix this
Thanks to all that helped.
best regards,
Ima
As Adam Iser notes, this does not work. 8-( I never guessed...
When I changed my XCODE build settings to place build products in the project directory, cleaned all targets and rebuilt -- it worked!
Perhaps the scripts can be updated to use whatever XCode environment variable denotes the build products directory in its scripts?
Could someone please create a readme for adium/documentation/developer
that EXPLICITLY notes that XCode build settings must be changed to place build products in the project directory and that customized locations for build products in the project settings or XCode settings DON'T work.
Unless of course someone is willing to fix this
Thanks to all that helped.
best regards,
Ima
