Skip to Content.
Sympa Menu

shibboleth-dev - Re: target 1.2: compiling log4cpp on Solaris with Sun CC?

Subject: Shibboleth Developers

List archive

Re: target 1.2: compiling log4cpp on Solaris with Sun CC?


Chronological Thread 
  • From: Derek Morr <>
  • To:
  • Subject: Re: target 1.2: compiling log4cpp on Solaris with Sun CC?
  • Date: Sat, 26 Jun 2004 13:23:16 -0400

Valery Tschopp wrote:

I deseperately try to compile the log4cpp on a solaris8 machine, using SUNWspro compiler...

<snip>

CC: Warning: Option -pthreads passed to ld, if ld is invoked, ignored otherwise

Note, according to Sun ( http://docs.sun.com/db/doc/806-6867/6jfpgdcob?a=view ) -- to compile with pthreads on Forte, you use "-lpthread". Scott, INSTALL.txt should probably be updated to reflect this (any chance you could also mention that blastwave.org has gcc for Solaris too :).

FWIW, I've build log4cpp on Solaris 8 with the following setup:

Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-12 2002/12/16 (SPARC)
Sun C++ 5.5 Patch 113819-08 2004/04/13 (x86)

export CC=/opt/SUNWspro/bin/cc
export CXX=/opt/SUNWspro/bin/CC
export CXXFLAGS="-fast -xarch=v8 -lrt -lpthread"
export MAKE=gmake

./configure --with-pthreads=yes --enable-static=no --enable-doxygen=no

You might have to set LD="CC -KPIC".

-derek



Archive powered by MHonArc 2.6.16.

Top of Page