LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Apache installation problem (https://www.linuxquestions.org/questions/slackware-14/apache-installation-problem-750974/)

munguy 08-28-2009 06:14 PM

Apache installation problem
 
Hello,

I'm attempting to install apache but receive the following errors:

configure: error: in '/usr/src/httpd-2.2.13/srclib/apr':
configure: error: C compiler can not create executables

gcc-4.2.4-i486-1 is installed, but i don't have a full install of 12.2.

Thank You

willysr 08-28-2009 06:38 PM

apache is available from n/ directory, so you only need to install it using installpkg (don't forget to install apr and apr-utils as well)

if you want to compile it from source, you may need to install gcc-g++ also

munguy 08-28-2009 08:21 PM

Quote:

Originally Posted by willysr (Post 3661421)
apache is available from n/ directory, so you only need to install it using installpkg (don't forget to install apr and apr-utils as well)

if you want to compile it from source, you may need to install gcc-g++ also

Thanks for your response, but i've got gcc-g++ -4.2.4-i486-1 installed at the time i received the errors.

bassmadrigal 08-29-2009 01:38 AM

What willysr is saying, is that Apache is a package that has already been compiled by the developers of Slackware. He mentions you can get it from the n/ directory which is on the dvd or any of the mirrors. He also lists the two dependencies that it requires.

If, when you installed, you did a full install, apache is already installed and you just need to go into /etc/rc.d and make sure that rc.httpd is executable. Then apache will start on boot.

BCarey 08-29-2009 02:44 PM

And if you want to build it yourself, start with the Slackbuild provided in the source directories.

Brian

munguy 08-30-2009 10:20 AM

Thanks again
 
Thanks for the suggestions but at this point i'm trying to figure out what is causing the following errors.

configure: error: in '/usr/src/httpd-2.2.13/srclib/apr':
configure: error: C compiler can not create executables

I've installed the following packages but still no luck.

glibc-solibs-2.7-i486-17
glib-1.2.10-i486-3
gib2-2.16.6-i486-1
glibc-2.7-i486-17
glibc-i18n-2.7-noarch-17

Can anyone point me in the right direction. I'm aware that i can install apache from the installation cds but that won't solve my problem.

BCarey 08-31-2009 11:59 PM

What is your goal? Why are you recompiling?

My suggestion was to start with the Slackbuild, which is a script for compiling apache, and make the modifications that you need.

Brian


All times are GMT -5. The time now is 02:46 PM.