yuntong.jin wrote:
> Hi all ,
> I got a problem when build telepathy-glib in juicer.
> http://jucr.opensolaris.org/build/viewlog/3248/
>
> pkgbuild: checking for gcc... /opt/SunStudioExpress/bin/cc
>> pkgbuild: checking for C compiler default output file name... 
>> pkgbuild: configure: error: C compiler cannot create executables
>>   But this project had built successfully with the following compiler,
>> pkgbuild: checking for gcc... /opt/SUNWspro/bin/cc
>> pkgbuild: checking for C compiler default output file name... a.out
>> pkgbuild: checking whether the C compiler works... yes

This is strange, I know that others have hit the same issue too. 
/opt/SunStudioExpress/bin/cc should exist on the build zone and your 
flags work fine on my setup.

Try adding

export CC=cc

to the %build section. I noticed that this seemed to work for Robert 
with RCS.

>
> I try to add BuildRequires SUNWglib2 to fix that, but get another 
> problem, how could SUNWglib2 no being installed successfully?
> [job 3247 : Phase 0] Installing dependencies
> [job 3247 : Phase 0] Install IPS failed
> STDOUT: STDERR: pkg: The following pattern(s) did not match any 
> packages in the current catalog.
> Try relaxing the pattern, refreshing and/or examining the catalogs:
>     SUNWglib2

Why would SUNWglib2 fix the compiler problem? SUNWglib2 isn't available 
in the 2009.06 /release repository so you can't use it in SourceJuicer 
submissions currently.

Amanda
>
> Anything i missed here?
> -Simon
>
>
> _______________________________________________
> sourcejuicer-discuss mailing list
> sourcejuicer-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/sourcejuicer-discuss


Reply via email to