Page 1 of 2

problem building adium 0.81 under mac os x 10.4

Posted: Mon May 16, 2005 1:39 am
by ImaSudonim
Hi,

I didn't find a developer forum exactly, so I am writing here (hope that's ok).

I am using the source downloaded from html, not thru version control.

The build in xcode goes fine, until, seemingly at the end of the build process, I get the following error:

PBXCp /Developer/Temp/Adium.app/Contents/Frameworks/AIUtilities.framework "/Developer/Temp/../Frameworks/AIUtilities Framework/build/AIUtilities.framework"
cd /Users/ima/src/adium-0.81
/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

Before that I get two warnings:

Tool:0: warning -F: directory name (Frameworks/AIHyperlinks Framework/build) does not exist
Tool:0: warning -F: directory name (Frameworks/AIUtilities Framework/build) does not exist

I put build products in the default /Developer/Temp directory

I have a framework directory in /developer/temp, but no frameworks. I don't understand why the two dots is in the fully qualified (?) path.

does anyone know what the exact path should be for this framework and how I put it in the xcode file? If I need to create these directories myself can someone please tell me where?

Thanks for any help. The same error occurs with gcc 3.3 on tiger.

best regards,

Ima

Posted: Mon May 16, 2005 2:13 am
by MBHockey
What are you trying to build? An official source off the SVN, or the latest 0.9 SVN?

If it's the latter, then you have to remember the svn is for developmental purposes, which means a lot of the time it is going to be broken.

Posted: Mon May 16, 2005 2:14 am
by TheSilverFox06
Doesn't Xcode 2.0 on Tiger use gcc 4.0?

Posted: Mon May 16, 2005 2:40 am
by Catfish_Man
TheSilverFox06 wrote:Doesn't Xcode 2.0 on Tiger use gcc 4.0?
You can set it to use 4.0 or 3.3

ImaSudonim: Not sure on your exact problem, but doing a clean rebuild can sometimes fix issues, as can updating (yesterday, for example, 0.9svn source wasn't compiling for a while).

Posted: Mon May 16, 2005 8:30 am
by cbarrett
MBHockey wrote:you have to remember the svn is for developmental purposes, which means a lot of the time it is going to be broken.
Being broken in terms of features is one thing; being broken in terms of compilation is quite another. Comitting code to trunk that doesn't compile is something that should be avoided at all costs!

That being said, we ocassionally slip up and things don't compile. That said, try again in a few hours, or ask on IRC about the issue.

Posted: Mon May 16, 2005 10:51 am
by ImaSudonim
OK, I wasn't very clear, sorry!

I wasn't using SVC, I downloaded source from the same place I downloaded the adiumx 0.81.dmg (I thought that was this site off of the developer page, but I can't get to the developer page due to a php problem to confirm this). The file is called AdiumX_Source_0.81.tgz


Warning: main(scripts/tabs.php): failed to open stream: No such file or directory in /home/groups/a/ad/adium/htdocs/development.php on line 3

Fatal error: main(): Failed opening required 'scripts/tabs.php' (include_path='.:/usr/local/share/pear') in /home/groups/a/ad/adium/htdocs/development.php on line 3


I am using xcode 2.0 (and gcc 4.0), but I also tried it with the gcc 3.3 compiler using gcc_select and restarting xcode.

gcc_select
Current default compiler:
gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4061)

I haven't used SVC before I will try that once the developer section is back up so I know how and where to do it from.

I did do clean rebuilds each time I switched compilers.

I've never used irc 8-(, but I'll try it if I continue having problems. Sorry for the newbie questions! thanks for all your suggestions... still having the same problem but I'll try to install SVC -- until the developer site is up can someone tell me how to setup svc to get the latest stable source?

best regards,

Ima

Posted: Mon May 16, 2005 10:57 am
by ImaSudonim
OK, I can't find an svc client for mac os x online either so could someone please point me to a download install (not the fink one, I think there were three ways to get it) for that. thanks!

Ima

Posted: Mon May 16, 2005 11:33 am
by Catfish_Man
You can find svn here: http://codingmonkeys.de/mbo/

Posted: Mon May 16, 2005 12:02 pm
by ImaSudonim
Oh, DUH! 8-)

OK, thanks for the correction I've got svN installed as well as Version Control on the brain 8-(

Do you know what adiumx releases are available via SVN and how to set SVN up to get the latest non-development release?

Thanks for correcting my STUPID mistake!

Does this subversion package JUST install an XCODE plugin? in other words, there's no command line subversion (unlike cvs)?

I have a _Subversion on my system as a function of zsh (whatever that is 8-) )

Ima

Posted: Mon May 16, 2005 12:55 pm
by ImaSudonim
OK, I downloaded svn from here: <http://metissian.com/projects/macosx/subversion/>

and installed it and svn is in /usr/local/bin and works.

Ima

Posted: Mon May 16, 2005 12:59 pm
by ImaSudonim
OK, found adium on a french adium development page here <svn co svn://svn.adiumx.com/adium/trunk adium
>

I will give this a try as the developer.php page on http://www.adiumx.com is still giving the php error

Posted: Mon May 16, 2005 2:20 pm
by ImaSudonim
OK, same problem occurs.

>Compiling Other/Adium Crash Reproter/main.m
!
!building zerolink launcher /developer/temp/Adium Crash Reporter.app/Contents/MacOS/Adium Crash Reporter (1 warning)
!warning -F: directory name (Frameworks/AIUtilities Framework/Build) does not exist

Then the error:

cd /Users/ima/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
Build failed for target "Adium" using build style "Development" (1 error, 56 warnings)

I don't know what's going on, but I'm basically clueless... 8-(

Thanks!

Ima

Posted: Mon May 16, 2005 2:27 pm
by lazydesert
I don't know if this has anything to do with it, but "Compiling Other/Adium Crash Reproter/main.m" doesn't sound right at all

Posted: Mon May 16, 2005 2:32 pm
by MBHockey
no that's right. the crash reporter is a separate app that launches when adium crashes with the information about why it crashed. very useful to the devs.

Posted: Mon May 16, 2005 2:34 pm
by Adam Iser
The way it's supposed to work:
- Install svn
- Checkout the source with svn
- Double click Adium.xcode
- Click build & run in the toolbar

:)

Posted: Mon May 16, 2005 2:40 pm
by FredAkbar
MBHockey wrote:no that's right. the crash reporter is a separate app that launches when adium crashes with the information about why it crashed. very useful to the devs.
lazydesert was referring to how CrashReporter was misspelled in that line. However, I'm guessing ImaSudonim just typed out that line by hand when making the post, so it's irrelavent.

Posted: Mon May 16, 2005 5:27 pm
by ImaSudonim
That's EXACTLY how I did it. 8-( Still no luck though, same problem.

Is anyone else building with Tiger's XCODE and gcc 4.0? Are you successful?

Thanks!

Ima

---v

The way it's supposed to work:
- Install svn
- Checkout the source with svn
- Double click Adium.xcode
- Click build & run in the toolbar

Posted: Mon May 16, 2005 6:32 pm
by ImaSudonim
It was my mistake in the spelling of Crash Reporter. Sorry for the confusion. Thank you!

Ima

Posted: Tue May 17, 2005 12:24 pm
by ImaSudonim
Could this have something to do with a run script that is not creating directories on 10.4 or with xcode 2.0 for some reason that are needed for later cp commands? Just a wild guess 8-(

Target Adium has

Copy Files (5)
Copy Files (6)
Copy Files (5)
Copy Files (1)

and

Run Script
Run Script

I think that the problem might be in there somewhere but am unsure how to find it.

--- build logs show ---
Native Build of Target "Adium" using Build Style "Development"

PhaseScriptExecution /Developer/Temp/Adium.build/Adium.build/Script-34E9DCF2078FC79900662E8E.sh
...

/bin/sh -c /Developer/Temp/Adium.build/Adium.build/Script-34E9DCF2078FC79900662E8E.sh

PBXCp /Developer/Temp/Adium.app/Contents/Frameworks/AIUtilities.framework "/Developer/Temp/../Frameworks/AIUtilities Framework/build/AIUtilities.framework"
cd /Users/ima/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

--- end build logs show ---

I guess that the two dots above replace Adium.app/Contents. /developer/temp/adium.app/contents/frameworks is EMPTY! 8-(

Thanks!

Ima

Posted: Tue May 17, 2005 1:17 pm
by Adam Iser
It looks like Adium is not building because you're putting build products in a separate directory and it's expecting to find them in the default locations.