Hi.

The build scripts are for Studio 12 (the previous release before 
ceres). Some of the undocumented flags for Studio 12 may not work with 
ceres, so they have to be adjusted.

You can get SVR4 packages for the Apache Standard C++ Library from here:

http://s247136804.onlinehome.us/stdcxx/4.2.1/packages/SOLARIS10/

This is the Apache Standard C++ Library build which will be integrated 
  in OpenSolaris. I would strongly recommend you use these packages, 
and you do not build the Apache Standard C++ Library from source. The 
packaged Apache Library is built slightly different than we used to 
build it from source.

Mandatory disclaimer: these are not official packages, there is no 
support for them, etc etc etc.

--Stefan

------

malcolm wrote:
> Hi Everyone,
> 
> I have joined the KDE on OpenSolaris effort with a specific agenda to 
> help fix the kcheckpass bug.
> 
> My environment is  opensolaris in a virtualbox on my MacBook.
> 
>     uname -a => SunOS opensolaris 5.11 snv_111a i86pc i386 i86pc Solaris
> 
> 
> I have been following the instructions at:
> 
>     http://techbase.kde.org/Projects/KDE_on_Solaris/OpenSolaris
> 
> _Question #1:_ Compiler Installation:
> 
> The tarball is no longer available on the Sun Studio 12 site for 
> OpenSolaris 
> <http://developers.sun.com/sunstudio/downloads/opensolaris/index.jsp>
> instead the webpage states:
> 
>     /*Sun Studio Express 3/09:* The Sun Studio Express 3/09 release is
>     the official build used /
>     /for the Sun Studio 12 Update 1 Early Access Program
>     <http://developers.sun.com/sunstudio/overview/earlyaccess/index.jsp>.
>     It has recently been added to the /
>     /OpenSolaris development repository. /
> 
> So, I changed my package repository to the development archive and 
> updated all packages,
> and installed what I believe is the latest patched compiler.
> 
>     CC -V =>   Sun Ceres C++ 5.10 SunOS_i386 2009/03/06
> 
> 
> Is this in fact correct?
> The date looks pretty recent.
> 
> _Question #2_: Are the makefiles updated to recognize the new compiler ?
> 
> Executing :
>   
>     make check-version
> 
> Outputs:
> 
>     ! SunStudio Express (Ceres) is spectacularly bad.
>     ! System will not compile at all. Give up.
>     ! System will probably not compile properly.
>     !   hit ^C now to abort compilation.
> 
> Does the script check the date /version of the compiler or just the name ?
> 
> 
> I have gone through as much of the instructions as I could, before 
> getting stuck in the building of Qt,
> specifically: the first library FOSSstdcxx fails, with (part of) the log 
> output as:
> 
>> pkgbuild: checking if the compiler is sane                   no
>> pkgbuild:
>> pkgbuild: int main () { return 0; }
>> pkgbuild: /usr/bin/CC 
>> -I/export/home/mk147459/packages/BUILD/FOSSstdcxx-4.2.1/i386/stdcxx-4.2.1/include/ansi
>>  
>> -I/export/
>> home/mk147459/packages/BUILD/FOSSstdcxx-4.2.1/i386/stdcxx-4.2.1/include 
>> -D_REENTRANT -D_IN_BUILD_STDCXX -D_RWSTD_REENTR
>> ANT -DNDEBUG -DPIC -D__EXTENSIONS__=1 -D_LARGEFILE_SOURCE 
>> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=
>> 500 -D_XPG5 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS     -I. 
>> -I/export/home/mk147459/packages/BUILD/FOSSstdcxx-4.2.1/i386/s
>> tdcxx-4.2.1/include/ansi 
>> -I/export/home/mk147459/packages/BUILD/FOSSstdcxx-4.2.1/i386/stdcxx-4.2.1/include
>>  
>> -library=no%
>> Cstd 
>> -features=anachronisms,except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic
>>  
>> -instances=global -templat
>> e=geninlinefuncs -verbose=template -xlang=c99 -xinline=%auto -xlibmil 
>> -xustr=ascii_utf16_ushort -xlibmopt -z combreloc
>> -z redlocsym -z nodefaultlib -z ignore -z now -z rescan -z absexec 
>> -xldscope=symbolic -xalias_level=compatible -lc -lpt
>> hread -lposix4 -lrt -mt -D_REENTRANT -D_RWSTD_REENTRANT -DNDEBUG -KPIC 
>> -Qoption ccfe ++boolflag:sunwcch=false -Qoption
>> ccfe -features=gcc -Qoption ccfe -features=zla -Qoption ube -gcc=1 
>> -Qoption ube -gnu_compat=1 -xF=%none -xthreadvar=%al
>> l -D__EXTENSIONS__=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
>> -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500 -D_POSIX_PTHR
>> EAD_SEMANTICS -D_IN_BUILD_STDCXX -DSOLARIS -DNDEBUG -DPIC -KPIC    
>> -xregs=no%frameptr -m32 -xcache=generic -xO3 -s -xre
>> gs=no%frameptr -m32 -xcache=generic -xO3 -s -xregs=no%frameptr -m32 
>> -xcache=generic -xO3 -s +w  -c a.cpp -o a.o
>> pkgbuild: ube: error: Illegal option to UBE: gcc=1
>> pkgbuild: gmake[3]: *** [sane] Error 1
> 
> I guess this does look like a problem with the compiler, or with the 
> build scripts. If this is so, does anyone
> have a good tarball available for downloading ? And perhaps, we need to 
> notify the Sun Studio 12 team t
> hat they have a bad compiler on the OpenSolaris download page, or at 
> least not good enough for c
> ompiling KDE.
> 
> Thanks,
> Malcolm
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> kde-discuss mailing list
> kde-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/kde-discuss


-- 
Stefan Teleman
Sun Microsystems, Inc.
stefan.teleman at Sun.COM


Reply via email to