You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Thys de Wet <th...@za.didata.com> on 2002/04/18 10:42:35 UTC

Solaris Compile

Hi There..
I compiled 2.0.35 on my linux box .. no problem..

I try it on my solaris box .. i get the following messsage :

i do :

./configure --enable-ssl --enable-rewrite --enable-proxy --disable-ipv6
make

then i get :

Making all in atomic/solaris_sparc
make[3]: Entering directory `/httpd-2.0.35/srclib/apr/atomic/solaris_sparc'
make[4]: Entering directory `/httpd-2.0.35/srclib/apr/atomic/solaris_sparc'
cpp -D_ASM -D__STDC__=0 
/httpd-2.0.35/srclib/apr/atomic/solaris_sparc/apr_atomic_sparc.s > 
apr_atomic_sparc.S
In file included from 
/httpd-2.0.35/srclib/apr/atomic/solaris_sparc/apr_atomic_sparc.s:63:
/usr/include/sys/asm_linkage.h:104: `#' operator should be followed by a macro 
argument name
/usr/include/sys/asm_linkage.h:113: `#' operator should be followed by a macro 
argument name
/usr/include/sys/asm_linkage.h:120: `#' operator should be followed by a macro 
argument name
/usr/include/sys/asm_linkage.h:133: `#' operator should be followed by a macro 
argument name
/usr/include/sys/asm_linkage.h:133: `#' operator should be followed by a macro 
argument name
/usr/include/sys/asm_linkage.h:143: `#' operator should be followed by a macro 
argument name
/usr/include/sys/asm_linkage.h:143: `#' operator should be followed by a macro 
argument name
/usr/include/sys/asm_linkage.h:152: `#' operator should be followed by a macro 
argument name
/usr/include/sys/asm_linkage.h:169: `#' operator should be followed by a macro 
argument name
/usr/include/sys/asm_linkage.h:177: `#' operator should be followed by a macro 
argument name
/httpd-2.0.35/srclib/apr/atomic/solaris_sparc/apr_atomic_sparc.s:113: 
unterminated character constant
make[4]: *** [apr_atomic_sparc.lo] Error 1
make[4]: Leaving directory `/httpd-2.0.35/srclib/apr/atomic/solaris_sparc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/httpd-2.0.35/srclib/apr/atomic/solaris_sparc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/httpd-2.0.35/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/httpd-2.0.35/srclib'
make: *** [all-recursive] Error 1
root@isolde /httpd-2.0.35 $

running :
SunOS isolde 5.8 Generic_108528-11 sun4u sparc SUNW,UltraSPARC-IIi-cEngine


any ideas ??

Please help..

Thanx
Thys de Wet


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Solaris Compile

Posted by Darragh Sherwin <Da...@Sun.COM>.

Josh Glover wrote:

> Thys de Wet wrote:
> 
>> Hi There..
>> I compiled 2.0.35 on my linux box .. no problem..
>>
>> I try it on my solaris box .. i get the following messsage :
> 
> [...]
> 
> Had you searched Google Groups, you would have come to the following link:
> 
> 
> http://groups.google.com/groups?hl=en&threadm=a8u46s%24d2k%241%40jute.lausitz.net&rnum=1&prev=/groups%3Fq%3DProblems%2Bcompiling%2BApache%2B2.0.35%2Bon%2BSolaris%2B2.7%26hl%3Den%26selm%3Da8u46s%2524d2k%25241%2540jute.lausitz.net%26rnum%3D1 
> 
> 
> 
> This is exactly the same problem, is it not? Luckily, I stumbled across 
> this while Googling on a compile failure on Sol9 for httpd-2.0.35.
> 
> The moral of the story is: use Google. If you find nothing, then post to 
> the list. That will make people less likely to:
> 
> a) Ignore your plea.
> b) Respond with an RTFM/SOFG.
> 
> I would recommend reading ESR's "How to Ask Questions the Smart Way".[1] 
> This is actually pointed out in the posting guidelines to *this* list.[2]
> 
> 
> [1] http://www.tuxedo.org/~esr/faqs/smart-questions.html
> [2] http://httpd.apache.org/userslist.html
> 

Hi,
you need to use the cpp that comes with Solaris, in is normally 
installed in /usr/lib, the easy thing to do is to put /usr/lib first in 
your PATH variable, this should overcome this problem without any need 
to be fiddling with source code.


This needs to be done as gcc does not seem (from my prespective anyway) 
understand the Assembler code in Apache, were as cpp does understand it.

-- 
_______________________
Darragh Sherwin
Darragh.Sherwin@Sun.COM

"To alcohol, the cause of, and solution to, all of life's problems"
					Homer Simpson


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Solaris Compile

Posted by Josh Glover <jm...@incogen.com>.
Thys de Wet wrote:
> Hi There..
> I compiled 2.0.35 on my linux box .. no problem..
> 
> I try it on my solaris box .. i get the following messsage :
[...]

Had you searched Google Groups, you would have come to the following link:


http://groups.google.com/groups?hl=en&threadm=a8u46s%24d2k%241%40jute.lausitz.net&rnum=1&prev=/groups%3Fq%3DProblems%2Bcompiling%2BApache%2B2.0.35%2Bon%2BSolaris%2B2.7%26hl%3Den%26selm%3Da8u46s%2524d2k%25241%2540jute.lausitz.net%26rnum%3D1


This is exactly the same problem, is it not? Luckily, I stumbled across 
this while Googling on a compile failure on Sol9 for httpd-2.0.35.

The moral of the story is: use Google. If you find nothing, then post to 
the list. That will make people less likely to:

a) Ignore your plea.
b) Respond with an RTFM/SOFG.

I would recommend reading ESR's "How to Ask Questions the Smart Way".[1] 
This is actually pointed out in the posting guidelines to *this* list.[2]


[1] http://www.tuxedo.org/~esr/faqs/smart-questions.html
[2] http://httpd.apache.org/userslist.html

-- 
Josh Glover <jm...@incogen.com>

Associate Systems Administrator
INCOGEN, Inc.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org