Compiling Apache HTTPD 2.0.35 on Solaris 2.8

Compiling Apache HTTPD 2.0.35 on Solaris 2.8

Post by John Carro » Sun, 21 Apr 2002 09:16:01



I am having trouble getting Apache HTTPD 2.0.35 to compile on a Sun
Solaris 2.8 system, with GNU gcc, make, bintools, etc.  I am getting
the following error in the apr section, with libtool reporting an
error of:

make[3]: Entering directory
`/usr/local/src/NMS/httpd-2.0.35/srclib/apr'
/bin/sh /usr/local/src/NMS/httpd-2.0.35/srclib/apr/libtool --silent
--mode=link
gcc -g -O2 -pthreads -DHAVE_CONFIG_H -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_
REENTRANT -I./include -I../include -o libapr.la -rpath refix/lib
strings/apr_cpy
strn.lo strings/apr_fnmatch.lo strings/apr_snprintf.lo
strings/apr_strings.lo st
... snip ...
libtool: link: only absolute run-paths are allowed

the configure command I am using is:
./configure --enable-layout=USAP --enable-ssl
--with-ssl=/usr/local/lib

where the USAP layout is:
<Layout USAP>
    prefix:        /usr/local
    exec_prefix:   $prefix
    bindir:        $exec_prefix/bin
    sbindir:       $exec_prefix/bin
    libexecdir:    $exec_prefix/libexec
    mandir:        $prefix/man
    sysconfdir:    $prefix/etc
    datadir:       $prefix/www
    iconsdir:      $datadir/icons
    htdocsdir:     $datadir/html
    manualdir:     $mandir/info
    cgidir:        $datadir/cgi-bin
    includedir:    $prefix/include
    localstatedir: $datadir
    runtimedir:    $localstatedir/log
    logfiledir:    $localstatedir/log
    proxycachedir: $localstatedir/proxy
</Layout>

and the SSL lib is:
openssl-0.9.6c

configured with the following:
./config --prefix=/usr/local

and installed with no errors

Any ideas as to why this is giving me an error?
I was able to get the old HTTPD 1.3 installed with no problems, so it
seems to be an error specific to HTTPD 2.0.

thanks,
john

John Patrick Carroll
LAN/WAN Specialist
Raytheon Polar Services Company

 
 
 

Compiling Apache HTTPD 2.0.35 on Solaris 2.8

Post by John Carro » Wed, 24 Apr 2002 02:51:09


FYI:
I tried the suggestions made in the "Problems compiling Apache 3.0.35
on Solaris 2.7" thread, but that did not fix the problem I am having.

thanks,
john


> I am having trouble getting Apache HTTPD 2.0.35 to compile on a Sun
> Solaris 2.8 system, with GNU gcc, make, bintools, etc.  I am getting
> the following error in the apr section, with libtool reporting an
> error of:

> make[3]: Entering directory
> `/usr/local/src/NMS/httpd-2.0.35/srclib/apr'
> /bin/sh /usr/local/src/NMS/httpd-2.0.35/srclib/apr/libtool --silent
> --mode=link
> gcc -g -O2 -pthreads -DHAVE_CONFIG_H -DSOLARIS2=8
> -D_POSIX_PTHREAD_SEMANTICS -D_
> REENTRANT -I./include -I../include -o libapr.la -rpath refix/lib
> strings/apr_cpy
> strn.lo strings/apr_fnmatch.lo strings/apr_snprintf.lo
> strings/apr_strings.lo st
> ... snip ...
> libtool: link: only absolute run-paths are allowed

> the configure command I am using is:
> ./configure --enable-layout=USAP --enable-ssl
> --with-ssl=/usr/local/lib

> where the USAP layout is:
> <Layout USAP>
>     prefix:        /usr/local
>     exec_prefix:   $prefix
>     bindir:        $exec_prefix/bin
>     sbindir:       $exec_prefix/bin
>     libexecdir:    $exec_prefix/libexec
>     mandir:        $prefix/man
>     sysconfdir:    $prefix/etc
>     datadir:       $prefix/www
>     iconsdir:      $datadir/icons
>     htdocsdir:     $datadir/html
>     manualdir:     $mandir/info
>     cgidir:        $datadir/cgi-bin
>     includedir:    $prefix/include
>     localstatedir: $datadir
>     runtimedir:    $localstatedir/log
>     logfiledir:    $localstatedir/log
>     proxycachedir: $localstatedir/proxy
> </Layout>

> and the SSL lib is:
> openssl-0.9.6c

> configured with the following:
> ./config --prefix=/usr/local

> and installed with no errors

> Any ideas as to why this is giving me an error?
> I was able to get the old HTTPD 1.3 installed with no problems, so it
> seems to be an error specific to HTTPD 2.0.

> thanks,
> john

> John Patrick Carroll
> LAN/WAN Specialist
> Raytheon Polar Services Company



 
 
 

1. problem compiling Apache HTTPD 2.0.35 in Solaris 8 (sparc)

Hi,

I've searched through the newsgroups looking for an already posted
solution and couldn't find one.

I'm trying to make Apache HTTPD 2.0.35 in Solaris 8 (sparc), using gcc
version 3.03. I'm getting the following error when make enters the
strings directory. Any help or advice would be GREATLY appreciated!

Thanks,
Jeff

======================
Making all in strings
/bin/sh /usr/local/src/httpd-apache_2.0.35/srclib/apr/libtool --silent
--mode=compile gcc -g -O2 -pthreads   -DHAVE_CONFIG_H -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT   -I../include
-I../include/arch/unix  -c apr_snprintf.c && touch apr_snprintf.lo
/usr/ccs/bin/as: "/var/tmp/ccokjxnQ.s", line 4227: error: unknown
opcode ".subsection"
/usr/ccs/bin/as: "/var/tmp/ccokjxnQ.s", line 4227: error: statement
syntax
/usr/ccs/bin/as: "/var/tmp/ccokjxnQ.s", line 4351: error: unknown
opcode ".previous"
/usr/ccs/bin/as: "/var/tmp/ccokjxnQ.s", line 4351: error: statement
syntax
*** Error code 1
make: Fatal error: Command failed for target `apr_snprintf.lo'
Current working directory
/usr/local/src/httpd-apache_2.0.35/srclib/apr/strings
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory
/usr/local/src/httpd-apache_2.0.35/srclib/apr/strings
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory
/usr/local/src/httpd-apache_2.0.35/srclib/apr
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/httpd-apache_2.0.35/srclib
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

2. Best sound card?

3. Problems compiling Apache 2.0.35 on Solaris 2.7

4. Redhat, X and resolution

5. Compiling Apache 1.3.27+SSL on Solaris 2.8

6. HELP! How can i validate windows users using a NIS server(unix)

7. Apache 2.0.35 LoadModule paths wrongly hard-coded - httpd.conf fails to use $libexecdir

8. lost my mbr by win95

9. Apache 2.0.35 compile without mod_autoindex

10. compiled/installed lasted Apache on Linux 2.0.35 kernel

11. compiling DSO on apache 2.0.35

12. Compiling Apache 2.0.35 on SCO Openserver 5.0.5

13. mod_v2h don't compile with apache 2.0.35