2009/1/10 BraneSKS <[email protected]>:
>
> You rock! That was a really quick response. I will try to figure out
> how to fix that.

You only have two choices. Use an Apache installation installed with
gcc, or you hack up your own copy of apxs and its configuration files
that uses gcc instead.

For the latter, find where apxs is installed and make a copy of it
somewhere. Edit that apxs copy and look for where it reads its config
files, then copy that directory of files to another location. Change
the apxs copy to look at new location. Then go and edit the copies of
the config files, changing it to invoke gcc instead of cc and change
any Sun C specific options to gcc equivalents.

I have to do this once before. Is a bit of a fiddle but it works.

Graham

> On Jan 10, 2009, at 3:18 AM, Graham Dumpleton wrote:
>
>>
>> 2009/1/10 branesks <[email protected]>:
>>>
>>> I successfully run the ./configure command but when trying to run
>>> make
>>> I end up with this error: http://dpaste.com/hold/107411/
>>>
>>>
>>> The guys on the #opensolaris channel tried to help but we could not
>>> figure out why the make file is pointing to /opt/SUNWspro/bin/cc. I
>>> reinstalled the entire OS and I still get the error? Anyone else have
>>> this, or know what to do to fix it?
>>
>> The version of Apache you are building against was configured for and
>> built with Sun C compiler rather than GNU C compiler. If you now do
>> not have Sun C compiler on the box where you are building mod_wsgi you
>> will have issues. The basic problem is that when Apache is installed,
>> it embeds information about the compiler it used in the setup for its
>> apxs build tool, which is the tool which is now being used to try and
>> build mod_wsgi.
>>
>> Graham
>>
>> >
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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