Thanks to all. I have successfully compile the module with the
following steps:

Install solaris studio 12.2 with this guild
http://koberoi.com/2010/11/installing-oracle-solaris-studio-12-2-tarfile-on-solaris-11-express/.
NOTE: I use the shell script in the comment section.

Remove all gcc package from the system with "pkg uninstall gcc-3".
NOTE: The gcc package won't installed by default, I install it myself.
You can skip this if you have a clean system.

Link the solaris studio "cc" compiler to /usr/bin with "ln -s /opt/
solstudio12.2/bin/cc /usr/bin/cc". Check if the link was successfully
by "which cc".

Compile mod_wsgi with "./configure --with-apxs=/usr/apache2/2.2/bin/
apxs" and "make" and "make install". NOTE: I installed apache package
through the package manager with "pkg install apache-22"

The compilation should finish successfully. I haven't test whether the
module is functional yet.

Regards
Chen

On Jan 12, 11:35 pm, Dane Springmeyer <[email protected]>
wrote:
> On Jan 12, 2011, at 12:33 PM, Graham Dumpleton wrote:
>
> > Your choices are to get and install Sun C, or to build Apache from
> > source code yourself using GNU C such that apxs utility for that
> > installation is setup for GNU C and not Sun C.
>
> I've been down the compile apache and friends from source with g++  route on 
> open solaris before and left a few notes behind here:
>
> http://trac.mapnik.org/wiki/OpenSolarisInstallation/64bit#Otherstuff
>
> - Dane

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to