Compling Apache 2.0.46 on Solaris 8 (sparc)

Compling Apache 2.0.46 on Solaris 8 (sparc)

Post by Alon Of » Sat, 28 Jun 2003 01:49:31



If you get the following errors while running 'make':

libtool: link: cannot find the library
`/export/home/alono/httpd-2.0.46/srclib/apr-util/xml/expat/lib/libexpat.la'
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/export/home/alono/httpd-2.0.46/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/alono/httpd-2.0.46/support'

Try making the Expat tool before.
You can find it inside the Apache distribution:

'cd /path-to-the-distribution/httpd-2.0.46/srclib/apr-util/xml/
'./configure --prefix=/usr/local' (it will put the lib under
/usr/local/lib)
'make'
'make install'

Then try again 'configure ;make ; make install;

Worked for me...

 
 
 

1. Compilation problem with Solaris 7/8/9 and apache 2.0.45 / 2.0.46

First sorry for my bad English !!!!!!

I try to compile some version of apache ( 2.0.45 /  2.0.46 ) on Sun
E4500 / Solaris 7/8/9 but it fail with this message :

make[4]: *** [apr_snprintf.lo] Error 1
make[4]: Leaving directory
`/usr/local/httpd-2.0.35/srclib/apr/strings'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/local/httpd-2.0.35/srclib/apr/strings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/httpd-2.0.35/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/httpd-2.0.35/srclib'
make: *** [all-recursive] Error 1

and

other different error messages !!!!!

After some test and check this is the solution :

USE GCC !!!

A) Download and install expat-1.95.5 ( sunfreeware.com )
B) Download and install libtool-1.5 ( sunfreeware.com )
C) Check your env for LD_LIBRARY_PATH and LD_RUN_PATH
   this variables contain path of system library .
   in my system :
         LD_LIBRARY_PATH  = /usr/lib:/usr/local/lib
         LD_RUN_PATH  = /usr/lib:/usr/local/lib
E) Add to $PATH /usr/ccs/bin

Then ./configure, make, make install !!

All go on ......


Bye to all

2. 802.11 wvlan driver security key format

3. Newbie: Having trouble compiling Apache 2.0.46 on Solaris 8

4. Shell scripting and chmod +s

5. Apache newbie - cannot install Apache 2.0.46

6. write error on solaris 7 installation

7. Apache 2.0.46 won't start

8. software RAID

9. Apache 2.0.46 and Apr 0.9.2

10. installing apache 2.0.46

11. Problems with Apache 2.0.46

12. Permission denied at /usr/lib/perl5/site_perl /5.005/Apache/Session/SysVSemaphoreLocker.pm line 46.

13. Can't compile Apache 2.0.46, fails on make.