LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-23-2004, 05:51 PM   #1
kaz4u2dig
Member
 
Registered: Jan 2004
Distribution: Suse Pro 9.0
Posts: 84

Rep: Reputation: 15
Just trying to install Apache... sigh... hlp plz


$ ./configure --prefix=PREFIX
$ make
$ make install
$ PREFIX/bin/apachectl start

NOTE: PREFIX is not the string "PREFIX". Instead use the Unix
filesystem path under which Apache should be installed. For
instance use "/usr/local/apache" for PREFIX above.

i have alomost tried every possibility of typing this... i still cannot get it.

[root@localhost root]# ./config --prefix=/root/apache_1.3.29
bash: ./config: No such file or directory
[root@localhost root]# ./config --prefix=/root/apache_1.3.29/
bash: ./config: No such file or directory
[root@localhost root]# ./configure --prefix=/root/apache_1.3.29/
bash: ./configure: No such file or directory
[root@localhost root]# ./configure /root/apache_1.3.29
bash: ./configure: No such file or directory
[root@localhost root]# ./configure /root/apache_1.3.29/
bash: ./configure: No such file or directory
[root@localhost root]# ./configure --/root/apache=/root/apache
bash: ./configure: No such file or directory
[root@localhost root]# ./configure --/root/apache=/root/apache

I have also tried this under my user name... kaz

COULD SOMEONE PLEASE SHOW ME HOW TO PROPERLY TYPE THIS IN???
(ITS BEEN MONTHS AND MONTHS)

[root@localhost root]# ./configure
bash: ./configure: No such file or directory
[root@localhost root]# ./configure --prefix=/usr/local/apache
bash: ./configure: No such file or directory
[root@localhost root]# ./configure --prefix=/usr/local/apache/
bash: ./configure: No such file or directory
[root@localhost root]# ./configure --prefix=/kaz/local/apache/
bash: ./configure: No such file or directory
[root@localhost root]# ./configure --prefix=/kaz/
bash: ./configure: No such file or directory
[root@localhost root]# ./configure --kaz
bash: ./configure: No such file or directory
[root@localhost root]# ./configure
bash: ./configure: No such file or directory
[root@localhost root]# ./configure --/usr/local/apache
bash: ./configure: No such file or directory
[root@localhost root]#

Last edited by kaz4u2dig; 04-23-2004 at 05:59 PM.
 
Old 04-23-2004, 06:14 PM   #2
kaz4u2dig
Member
 
Registered: Jan 2004
Distribution: Suse Pro 9.0
Posts: 84

Original Poster
Rep: Reputation: 15
This is the hardest thing I have ever had to do with computers. I considered myself a near Guru with windows... I just cannot seem to figure this out.

PLEASE HELP
 
Old 04-23-2004, 07:43 PM   #3
cww
LQ Newbie
 
Registered: Apr 2004
Location: Connecticut, USA
Distribution: Gentoo, Debian
Posts: 4

Rep: Reputation: 0
This may be an obvious question, and I apologize if it is....but are you in the Apache source directory? Use cd <apachedir> to enter the directory, then run ./configure, make, etc. as per the instructions.

--prefix <somedir> is the directory where you would like the Apache configuration files, etc. installed.
 
Old 04-23-2004, 09:08 PM   #4
kaz4u2dig
Member
 
Registered: Jan 2004
Distribution: Suse Pro 9.0
Posts: 84

Original Poster
Rep: Reputation: 15
Thank you for you post BUT i still cannot seem to figure out the code....... please help
I hope that there is someone out there that can understand how frustrating it is........
here is what I typed................

[kaz@localhost kaz]$ cd <home/kaz
bash: home/kaz: No such file or directory
[kaz@localhost kaz]$ cd </home/kaz
[kaz@localhost kaz]$ ./configure
bash: ./configure: No such file or directory
[kaz@localhost kaz]$ ./configure --prefix </home/kaz/>
bash: syntax error near unexpected token `newline'
[kaz@localhost kaz]$ ./configure --prefix /home/kaz
bash: ./configure: No such file or directory
[kaz@localhost kaz]$ ./configure --prefix /home/kaz/
bash: ./configure: No such file or directory
[kaz@localhost kaz]$ ./config --/home/kaz/apache_1.3.29=/home/kaz/apache_1.3.29
bash: ./config: No such file or directory
[kaz@localhost kaz]$ ./config --/home/kaz/apache_1.3.29=/home/kaz/apache_1.3.29/
bash: ./config: No such file or directory
[kaz@localhost kaz]$ ./config --/home/kaz/apache_1.3.29=/home/kaz/apache_1.3.29
bash: ./config: No such file or directory
[kaz@localhost kaz]$ ./config --/home/kaz/apache_1.3.29=/home/kaz/apache_1.3.29/
bash: ./config: No such file or directory
[kaz@localhost kaz]$ ./configure --prefix /home/kaz/apache_1.3.29=/home/kaz/apache_1.3.28
bash: ./configure: No such file or directory
[kaz@localhost kaz]$ ./configure --prefix /home/kaz/apache_1.3.29=/home/kaz/apache_1.3.28/
bash: ./configure: No such file or directory
[kaz@localhost kaz]$ ./configure --prefix </home/kaz/apache_1.3.29
bash: ./configure: No such file or directory
[kaz@localhost kaz]$ ./configure --prefix </home/kaz/apache_1.3.29=/home/kaz/apache_1.3.28
bash: /home/kaz/apache_1.3.29=/home/kaz/apache_1.3.28: No such file or directory
[kaz@localhost kaz]$ ./configure --prefix /home/kaz/apache_1.3.29=/home/kaz/apache_1.3.29
bash: ./configure: No such file or directory
[kaz@localhost kaz]$ ./configure --prefix </home/kaz/apache_1.3.29>
bash: syntax error near unexpected token `newline'
[kaz@localhost kaz]$ ./configure --prefix /home/kaz/apache_1.3.29=/home/kaz/apache_1.3.29
bash: ./configure: No such file or directory
[kaz@localhost kaz]$

It still won't work for me.... .any ideas, thoughts......
 
Old 04-23-2004, 09:22 PM   #5
kaz4u2dig
Member
 
Registered: Jan 2004
Distribution: Suse Pro 9.0
Posts: 84

Original Poster
Rep: Reputation: 15
[kaz@localhost kaz]$ ./configure --prefix=/home/kaz/apache_1.3.29
bash: ./configure: No such file or directory
[kaz@localhost kaz]$


[kaz@localhost kaz]$ ./configure --prefix=/home/kaz/apache_1.3.29
bash: ./configure: No such file or directory
[kaz@localhost kaz]$ ./configure --prefix=/home/kaz/apache_1.3.29 \
> make
bash: ./configure: No such file or directory
[kaz@localhost kaz]$ ./configure --prefix=/home/kaz/apache_1.3.29 \
> make \
> make install \
> /home/kaz/apache_1.3.29/bin/apachel start
bash: ./configure: No such file or directory
[kaz@localhost kaz]$ ./configure --prefix=/home/kaz/apache_1.3.29 make make install /home/kaz/apache_1.3.29/bin/apachel start \
>

thought i was getting somewhere..........................................

THIS WILL NOT WORK!!!!!!!!!!!!!

Last edited by kaz4u2dig; 04-23-2004 at 09:31 PM.
 
Old 04-23-2004, 11:57 PM   #6
dmedici
Member
 
Registered: Aug 2003
Posts: 57

Rep: Reputation: 15
Try this thread I posted a while ago. I hope this is able to help you...


http://linuxquestions.org/questions/...380#post781380
 
Old 04-24-2004, 01:41 AM   #7
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
you have to cd into the directory where you extracted the source file.

Last edited by Demonbane; 04-24-2004 at 01:43 AM.
 
Old 04-24-2004, 11:19 AM   #8
kaz4u2dig
Member
 
Registered: Jan 2004
Distribution: Suse Pro 9.0
Posts: 84

Original Poster
Rep: Reputation: 15
STUCK!!!

DMEDICI & DEMONBANE THANKS YOUR YOUR THREAD
BUT I AM STUCK AT THIS PART... WHAT DO I TYPE NOW?????

kaz@linux:~> cd /home/kaz/Documents/apache/httpd-2.0.49
kaz@linux:~/Documents/apache/httpd-2.0.49> make install && clean
bash: make: command not found
kaz@linux:~/Documents/apache/httpd-2.0.49> make
bash: make: command not found
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> make
bash: make: command not found
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> make
bash: make: command not found
kaz@linux:~/Documents/apache/httpd-2.0.49> make install
bash: make: command not found
kaz@linux:~/Documents/apache/httpd-2.0.49> /bin/apachectl start
bash: /bin/apachectl: No such file or directory
kaz@linux:~/Documents/apache/httpd-2.0.49> ./configure --prefix=/home/kaz/Documents/apache/httpd-2.0.49
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>

WHATS NEXT... WHEN I TYPE MAKE IT SAYS BAD COMMAND???????????
 
Old 04-24-2004, 11:24 AM   #9
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
You need to install GCC (Gnu C Compiler), if you're using Suse there's should be a tool that allows you to add softwares from the CD in YaST2.
In fact I think you're better off installing the RPM provided by Suse instead of trying to compile it yourself.
 
Old 04-24-2004, 11:34 AM   #10
kaz4u2dig
Member
 
Registered: Jan 2004
Distribution: Suse Pro 9.0
Posts: 84

Original Poster
Rep: Reputation: 15
When I installed Suse 9.0 Pro, It only prompted me for two CD's to be installed... I dont feel like suse 9.0 pro has everything it should. It came with five CD's. I don't know how to install the other three. Nor can I locate that GCC package in Yast2.

any ideas?

THANK YOU SO MUCH FOR YOUR HELP
 
  


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
apt-get dist-upgrade now I can't login, hlp plz Oxyacetylene Debian 15 12-18-2004 11:21 AM
Window Decoration - hlp plz Oxyacetylene Linux - Software 7 12-08-2004 07:26 PM
The Fourth and Final Step... Plz Hlp kaz4u2dig Linux - Newbie 4 05-05-2004 01:22 AM
Audio being a payne...Plz hlp! aero_77 Linux - General 2 07-23-2003 09:40 AM
Audio being a payne...Plz hlp! aero_77 Linux - Hardware 1 07-23-2003 03:45 AM


All times are GMT -5. The time now is 10:07 AM.

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