LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-28-2009, 06:14 PM   #1
munguy
LQ Newbie
 
Registered: Aug 2009
Posts: 5

Rep: Reputation: 0
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
 
Old 08-28-2009, 06:38 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,343

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
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

Last edited by willysr; 08-28-2009 at 06:39 PM.
 
Old 08-28-2009, 08:21 PM   #3
munguy
LQ Newbie
 
Registered: Aug 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by willysr View Post
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.
 
Old 08-29-2009, 01:38 AM   #4
bassmadrigal
Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 173

Rep: Reputation: 34
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.
 
Old 08-29-2009, 02:44 PM   #5
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,421

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

Brian
 
Old 08-30-2009, 10:20 AM   #6
munguy
LQ Newbie
 
Registered: Aug 2009
Posts: 5

Original Poster
Rep: Reputation: 0
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.
 
Old 08-31-2009, 11:59 PM   #7
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,421

Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apache installation problem ambavaram Linux - Software 1 08-04-2008 10:05 AM
apache installation and running problem? balmnm Red Hat 1 01-03-2008 12:53 AM
apache server installation problem diptanshu Linux - Software 3 07-11-2005 11:25 PM
Apache installation problem newLinuz Linux - Software 1 12-05-2004 07:40 PM
apache installation problem... chuck77 Linux - General 1 04-25-2002 05:45 AM


All times are GMT -5. The time now is 05:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration