Computing.Net > Forums > Linux > Trouble installing Apache

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Trouble installing Apache

Reply to Message Icon

Name: Gixugif
Date: April 20, 2009 at 11:04:32 Pacific
OS: Fedora Core 10
Subcategory: Software Problems
Comment:

I'm trying to install Apache 2.2 using:

./configure --enable-module=so

When I try the make install though it comes up with this error:

libtool: install: error: cannot install `libaprutil-1.la' to a directory not ending in /usr/local/apache2/lib
make[2]: *** [install] Error 1
make[2]: Leaving directory `/home/Gixugif/Download/httpd-2.2.11/srclib/apr-util'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/Gixugif/Download/httpd-2.2.11/srclib'
make: *** [install-recursive] Error 1

I really have no clue what this means. Any ideas would be appreciated. Thanks!



Sponsored Link
Ads by Google

Response Number 1
Name: ernie
Date: April 21, 2009 at 09:53:26 Pacific
Reply:

Why do you not use the Fedora Package Manager to install Apache? I do not use Fedora here (I'm a Mandriva user) but nearly every distribution makes the Apache software available in the form of package(s) which can be installed using the distribution's package management system. Mandriva uses urpmi (command-line) while (IIRC) Fedora uses YUM. Unless you have some compelling reason for building Apache from source, I think you will be best served to use the software packaged for your distribution.

As for your error message, it appears that the installation routine is attempting to install a file in a location that is not allowed:

(libtool: install: error: cannot install `libaprutil-1.la' to a directory not ending in /usr/local/apache2/lib)

Issues such as this exemplify why I recommend using software packaged for your distribution.

HTH,

Ernie Registered Linux User 247790


0

Response Number 2
Name: Gixugif
Date: April 22, 2009 at 10:24:04 Pacific
Reply:

I did try using yum to install it, but it said there was no available package. I'll try again, maybe I entered it wrong somehow. Anyway, thanks.


0

Response Number 3
Name: ernie
Date: April 22, 2009 at 11:11:48 Pacific
Reply:

It is my understanding that all major distributions mirror their software repositories on the WEB (ftp sites) around the world (that is how Mandriva does it) because it would be impractical to put all the software packaged for any one distribution on CD or DVD images. Check that you have configured your Software Package Manager to access the Internet repositories for your distribution (Fedora?). If Apache is not included on your installation CD or DVD, it will be included in the Internet repositories.

HTH,

Ernie Registered Linux User 247790


0

Response Number 4
Name: discontent619
Date: June 26, 2009 at 18:03:38 Pacific
Reply:

You might want to try to install it as the root. So in the terminal type SU if you didnt already know that. Then try to install it again.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Trouble installing Apache

can't install Apache www.computing.net/answers/linux/cant-install-apache/15596.html

Linux newbie installing Apache www.computing.net/answers/linux/linux-newbie-installing-apache-/10073.html

installing apache www.computing.net/answers/linux/installing-apache/21888.html