Mailing List Archive

Problem compiling apache in SunOS 5.8 on a SunBlade100
Hi, thanks in advance,

I have installed a SunOS 5.8 in a SunBlade100 ( 64 bits ), also i've
installed all the packages to develop
( gcc, binutils,make, flex, ...), and now i'm triying to compile a
apache-1.3.22 and i've found nexts errors:

make
===> src
make[1]: Entering directory `/home/WEB/APACHE/apache_1.3.22'
make[2]: Entering directory `/home/WEB/APACHE/apache_1.3.22/src'
===> src/os/unix
make[3]: Nothing to be done for `all'.
<=== src/os/unix
===> src/ap
make[3]: Nothing to be done for `all'.
<=== src/ap
===> src/main
gcc -c -I../os/unix -I../include -DSOLARIS2=280 -DMOD_SSL=208105
-DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED `../apaci` util.c
util.c: In function `ap_find_token':
util.c:1410: `test_char_table' undeclared (first use in this function)
util.c:1410: (Each undeclared identifier is reported only once
util.c:1410: for each function it appears in.)
util.c:1410: `T_HTTP_TOKEN_STOP' undeclared (first use in this function)
util.c: In function `ap_escape_shell_cmd':
util.c:1469: `test_char_table' undeclared (first use in this function)
util.c:1469: `T_ESCAPE_SHELL_CMD' undeclared (first use in this function)
util.c: In function `ap_escape_path_segment':
util.c:1596: `test_char_table' undeclared (first use in this function)
util.c:1596: `T_ESCAPE_PATH_SEGMENT' undeclared (first use in this function)
util.c: In function `ap_os_escape_path':
util.c:1625: `test_char_table' undeclared (first use in this function)
util.c:1625: `T_OS_ESCAPE_PATH' undeclared (first use in this function)
make[3]: *** [util.o] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/APACHE/apache_1.3.22/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/WEB/APACHE/apache_1.3.22'
make: *** [build] Error 2

Anybody can help me ?, what's the problem ?

Thanks
Re: Problem compiling apache in SunOS 5.8 on a SunBlade100 [ In reply to ]
apache wrote:
>
> Hi, thanks in advance,
>
> I have installed a SunOS 5.8 in a SunBlade100 ( 64 bits ), also i've
> installed all the packages to develop
> ( gcc, binutils,make, flex, ...), and now i'm triying to compile a
> apache-1.3.22 and i've found nexts errors:
>
> gcc -c -I../os/unix -I../include -DSOLARIS2=280 -DMOD_SSL=208105
> -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED `../apaci` util.c
> util.c: In function `ap_find_token':
> ... all goes to bits...
> make: *** [build] Error 2

I have the same OS but it compiles cleanly out of the box. Come on...
what did you change...? :-)

>:-| What's that "-DMOD_SSL=208105" line doing there? Are you compiling in mod_ssl?

Rgds,

Owen Boyle.
Re: Problem compiling apache in SunOS 5.8 on a SunBlade100 [ In reply to ]
apache wrote:
>
> Yes,
>
> i've been trying to compile apache first as only with --prefix
> =/etc/httpd ,
> second with ssl ( with mod_ssl ).

I suspect you've run "configure" a few times by now and things have got
a bit confused. To check that it compiles out of the box, please try
removing the existing untarred apache_1.3.22 directory, untarring it
again then doing the straight compile (not setting any options), i.e.

# rm -r apache_1.3.22
# gzip -d -c apache_1.3.22.tar.gz | tar xvf -
# cd apache_1.3.22
# ./configure
# make

and tell us what happens..

Rgds,

Owen Boyle.
Re: Problem compiling apache in SunOS 5.8 on a SunBlade100 [ In reply to ]
Yes,

i've been trying to compile apache first as only with --prefix
=/etc/httpd ,
second with ssl ( with mod_ssl ).

But it hasn't runs any time. I've found error messages twice times.

I don't know what's the problem ...


Owen Boyle wrote:

> apache wrote:
>
>> Hi, thanks in advance,
>>
>> I have installed a SunOS 5.8 in a SunBlade100 ( 64 bits ), also i've
>> installed all the packages to develop
>> ( gcc, binutils,make, flex, ...), and now i'm triying to compile a
>> apache-1.3.22 and i've found nexts errors:
>>
>> gcc -c -I../os/unix -I../include -DSOLARIS2=280 -DMOD_SSL=208105
>> -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED `../apaci` util.c
>> util.c: In function `ap_find_token':
>> ... all goes to bits...
>> make: *** [build] Error 2
>
> I have the same OS but it compiles cleanly out of the box. Come on...
> what did you change...? :-)
>
>
>> :-| What's that "-DMOD_SSL=208105" line doing there? Are you compiling in mod_ssl?
>
> Rgds,
>
> Owen Boyle.
>
> ---------------------------------------------------------------------
> 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: Problem compiling apache in SunOS 5.8 on a SunBlade100 [ In reply to ]
Thanks again,
i've erased all installation and i've compiled apache normally
and it has run ok .

I've found another PROBLEM, it was that openssl was installed as
package and compiler
can find a lot of libraries and links like libgcc_so.1 and in my system only
exists libgcc_so.0 , and some files ...


I've uninstalled a package SMCossl, and i've download openssl-0.9.6b
and compiled again ...
and all has gone ok .


Thank you very much



Owen Boyle wrote:

> apache wrote:
>
>> Yes,
>>
>> i've been trying to compile apache first as only with --prefix
>> =/etc/httpd ,
>> second with ssl ( with mod_ssl ).
>
> I suspect you've run "configure" a few times by now and things have got
> a bit confused. To check that it compiles out of the box, please try
> removing the existing untarred apache_1.3.22 directory, untarring it
> again then doing the straight compile (not setting any options), i.e.
>
> # rm -r apache_1.3.22
> # gzip -d -c apache_1.3.22.tar.gz | tar xvf -
> # cd apache_1.3.22
> # ./configure
> # make
>
> and tell us what happens..
>
> Rgds,
>
> Owen Boyle.
>
> ---------------------------------------------------------------------
> 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
>
>
>
>