LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2004, 09:33 PM   #1
kaz4u2dig
Member
 
Registered: Jan 2004
Distribution: Suse Pro 9.0
Posts: 84

Rep: Reputation: 15
Easy For Most...


I have been trying for months to get this right. Could comeone just look at this for a second. I am trying to install apache in Suse 9.0 Pro. Thats it, just install it. But it gives me some error. Someone told me that I need to install gcc. So I tried to install the package, and it gave me an error like "failed" or something.


kaz@linux:~> cd /home/kaz/Documents/apache/httpd-2.0.49
kaz@linux:~/Documents/apache/httpd-2.0.49> ./configure --prefix=
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
configure: error: expected an absolute directory name for --datadir:
configure failed for srclib/apr
kaz@linux:~/Documents/apache/httpd-2.0.49>
 
Old 05-03-2004, 09:58 PM   #2
vdogvictor
Member
 
Registered: Feb 2004
Distribution: Arch
Posts: 498

Rep: Reputation: 31
SuSE 9.0 Pro is what I use and it comes with Apache and Apache2 right on the install CD's go to YaST and add/remove progrems then search for apache. and install the stuff. No command line needed. then go to YaST and to Network Services then HTTP server.

edit> make sure you check the little box to autocheck for dependencies before installing Apache or Apache2

Last edited by vdogvictor; 05-03-2004 at 10:00 PM.
 
Old 05-03-2004, 10:11 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
You need to specify a directory for the --prefix= option. The --prefix tells the install scripts where to put the Apache files. I usually use --prefix=/usr/local/apache2.
 
Old 05-03-2004, 10:36 PM   #4
kaz4u2dig
Member
 
Registered: Jan 2004
Distribution: Suse Pro 9.0
Posts: 84

Original Poster
Rep: Reputation: 15
kaz@linux:~> cd /home/kaz/Documents/apache/httpd-2.0.49
kaz@linux:~/Documents/apache/httpd-2.0.49> ./configure --prefix=/home/kaz/documents/apache
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 0.9.5
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr
kaz@linux:~/Documents/apache/httpd-2.0.49>

ok i did that but now i am back to this GCC. It will not let me install it as a package from the CD there are errors. Is there anyway to download the right one and install it. You know like Winzip. download... install... and thats it.

ps. i would install apache from the cd but i have noticed that my suse 9.0 pro doesnt like cdrom's. Thats about the easiest way i can explain it. I have tried three different ones and while installing packages takes a long time and usually ends with errors. I have tried installing apache on Redhat 9.0, Mandrake 9.2, Suse 9.0 Pro, and Win XP. In XP there are very few buttons to click, its mostly scripting too. Maybe I'll go ahead and go to school take classes on linux and write my own web server, it would probably be easier.

Last edited by kaz4u2dig; 05-03-2004 at 10:46 PM.
 
Old 05-04-2004, 03:32 PM   #5
vdogvictor
Member
 
Registered: Feb 2004
Distribution: Arch
Posts: 498

Rep: Reputation: 31
If you go to YaST and go to change source of installation and pick the internet you can then add apache2 as I said before but it will get it from SuSE servers and not the CDs. It is nice through YaST because it is tailored to SuSE
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
easy connect not easy in suse greg collins Linux - Newbie 11 03-30-2006 07:31 PM
Easy urpmi ,no easy send mail. akihandyman Linux - General 2 12-27-2004 02:15 PM
Linux4RegularGuys - EASY FTP setup using vsftpd - READ THIS FOR EASY HELP DropHit Linux - Networking 4 11-25-2004 02:44 PM
Easy for most ... Please help.... kaz4u2dig Linux - Newbie 1 10-18-2004 09:46 PM
Here's an easy one... jhotchkiss Linux - Software 5 09-23-2003 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:55 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration