DeveloperSide.NET Forums
October 16, 2019, 08:01:36 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: not able to compile apache...  (Read 21517 times)
0 Members and 1 Guest are viewing this topic.
robin
Member
*
Posts: 13


View Profile
« on: November 22, 2003, 09:31:34 PM »

hello everybody,

going into the forth hour and getting now where.. followed the instrctoins from this site but its just not working for me...HELP.......

[root@voyager httpd-2.0.48]# ./configure --prefix=/wwwroot/apache2 --enable-mods-shared=most --enable-deflate --enable-ssl --with-z=/usr/lib --with-ssl=/usr/local/ssl

near the end of make it displays a error messgae. i haven't tried make install since its not clean compile...
.0.48/srclib/apr/include    export_vars.h | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> aprutil.exp
make[3]: Leaving directory `/downloads/httpd-2.0.48/srclib/apr-util'
make[2]: Leaving directory `/downloads/httpd-2.0.48/srclib/apr-util'
Making all in pcre
make[2]: Entering directory `/downloads/httpd-2.0.48/srclib/pcre'
Makefile:7: /build/ltlib.mk: No such file or directory
make[2]: *** No rule to make target `/build/ltlib.mk'.  Stop.
make[2]: Leaving directory `/downloads/httpd-2.0.48/srclib/pcre'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/downloads/httpd-2.0.48/srclib'
make: *** [all-recursive] Error 1

any help u can give me would be greatly appreciated...
mandrake 9.2..
downloaded and followed instruction from this site...
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #1 on: November 22, 2003, 09:48:59 PM »

That looks like you did not complete the openssl build.

Did you "update the run time linker"?

When you go to "/" and type 'openssl version' what do you get?
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
robin
Member
*
Posts: 13


View Profile
« Reply #2 on: November 22, 2003, 09:57:57 PM »

first Thank you for getting back to me...

[root@voyager /]# openssl version
OpenSSL 0.9.7b 10 Apr 2003
[root@voyager /]#
[root@voyager /]#

-----------------------------------------------------
whats in /etc/ld.so.con
/usr/X11R6/lib
/usr/lib/qt3/lib
/usr/local/ssl/lib
-------------------------------------------------------------



if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

mesg n



PATH=/usr/local/ssl/bin:$PATH     <---this line is an example from your from

---------
according to the inst. on this site.. i went over the "update the path"(ssl). but the version still showing up as the old one..
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #3 on: November 22, 2003, 10:20:31 PM »

Did you run 'ldconfig' ?
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
robin
Member
*
Posts: 13


View Profile
« Reply #4 on: November 22, 2003, 11:16:11 PM »

hello again..
still not getting the correct version of openssl

i went through both instruction for zlib and openssl.
ran configure
make clean
make
make install
changed the paths
ran ldconfig..

stll getting the follwing
[root@voyager bin]# cd /usr/local/ssl/bin
[root@voyager bin]# ./openssl version
OpenSSL 0.9.7b 10 Apr 2003
[root@voyager bin]#

when i configured openssh this is waht i typed in
./config --prefix=/usr/local/ssl shared zlib-dynamic
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #5 on: November 22, 2003, 11:54:07 PM »

This is very likely the result of /usr/local/ssl/bin/openssl linking to the wrong libraries.

And, something to do with your particular distro (Mandrake 9.2).

Since 'ldconfig' is not linking the right libs to openssl, the only choice left is to do it manually.

Add libcrypto.so.0.9.7 and libssl.so.0.9.7 to /lib, see if that give you the right version.
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
Anonymous
Guest
« Reply #6 on: November 23, 2003, 03:03:00 AM »

Hey Admin,

Thanks for your help, it worked; copying the 2 files seem to have fixed the problem:

For future readers:
Moved the 2 old files (libssl.so.0.9.7 and libcrypto.so.0.9.os) from /usr/lib to a folder that has no affect on anything. Then copied the same 2 files from /usr/local/ssl/bin (new install)  to /usr/lib.
This is based on the installation instructions found on this site.
os-- mandrake9.2
Logged
Diane
Member
*
Posts: 5


View Profile
« Reply #7 on: October 11, 2005, 04:54:27 PM »

Quote from: "robin"
first Thank you for getting back to me...

[root@voyager /]# openssl version
OpenSSL 0.9.7b 10 Apr 2003
[root@voyager /]#
[root@voyager /]#

-----------------------------------------------------
whats in /etc/ld.so.con
/usr/X11R6/lib
/usr/lib/qt3/lib
/usr/local/ssl/lib
-------------------------------------------------------------



if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

mesg n



PATH=/usr/local/ssl/bin:$PATH     <---this line is an example from your from

---------
according to the inst. on this site.. i went over the "update the path"(ssl). but the version still showing up as the old one..



we are also newbies. and running into the same problems....the mirror given on your tutorial shows 0.9.8 and the version that was downloaded was 0.9.7e......we are unsure which files to access to add the requested information.....could you please tell us what to type at the command line to get into the files to edit them?  Also on the build instructions do we use all the commands.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!