LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-02-2005, 12:34 AM   #1
cmccully
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
Installing Apache 1.3


Hi
I am trying to setup Apache 1.3 on a Fedora Core III system. As I am new to Linux and Apache I am using the book Setting up LAMP by E. Rosebrock and E. Filson. The book instructs me to create the following script:

cd /usr/local/src/webserver/mod_ssl-2.8.22-1.3.33

./configure \

--with-apache=/usr/local/src/webserver/apache_1.3.33 \

--with-ssl=/usr/local/src/webserver/openssl-0.9.7e \

--prefix=/www \

--enable-module=so \

--enable-module=rewrite \

--enable-shared=rewrite \

--enable-module=setenvif \

--enable-shared=setenvif \

--enable-module=mime \

--enable-shared=mime \

--enable-module=mime_magic \

--enable-shared=mime_magic \

--enable-module=dir \

--enable-shared=dir \

--enable-module=auth \

--enable-shared=auth \

--enable-module=access \

--enable-shared=access \

--enable-module=alias \

--enable-shared=alias \

--enable-module=status \

--enable-shared=status \

--enable-module=userdir \

--enable-shared=userdir \

--enable-module=vhost_alias \

--enable-shared=vhost_alias \

--enable-module=env \

--enable-shared=env \

--enable-module=log_referer \

--enable-shared=log_referer \

--enable-module=log_config \

--enable-shared=log_config \

--enable-module=log_agent \

--enable-shared=log_agent \

--enable-module=headers \

--enable-shared=headers



When I execute the script I get the following output:

[root@localhost webserver]# ./apache_ssl_install
: No such file or directory1: cd: /usr/local/src/webserver/mod_ssl-2.8.22-1.3.33
./apache_ssl_install: line 2: ./configure: No such file or directory
./apache_ssl_install: line 3: --with-apache=/usr/local/src/webserver/apache_1.3.33: No such file or directory
./apache_ssl_install: line 4: --with-ssl=/usr/local/src/webserver/openssl-0.9.7e: No such file or directory
./apache_ssl_install: line 5: --prefix=/www: No such file or directory
./apache_ssl_install: line 6: --enable-module=so: command not found
./apache_ssl_install: line 7: --enable-module=rewrite: command not found
./apache_ssl_install: line 8: --enable-shared=rewrite: command not found
./apache_ssl_install: line 9: --enable-module=setenvif: command not found
./apache_ssl_install: line 10: --enable-shared=setenvif: command not found
./apache_ssl_install: line 11: --enable-module=mime: command not found
./apache_ssl_install: line 12: --enable-shared=mime: command not found
./apache_ssl_install: line 13: --enable-module=mime_magic: command not found
./apache_ssl_install: line 14: --enable-shared=mime_magic: command not found
./apache_ssl_install: line 15: --enable-module=dir: command not found
./apache_ssl_install: line 16: --enable-shared=dir: command not found
./apache_ssl_install: line 17: --enable-module=auth: command not found
./apache_ssl_install: line 18: --enable-shared=auth: command not found
./apache_ssl_install: line 19: --enable-module=access: command not found
./apache_ssl_install: line 20: --enable-shared=access: command not found
./apache_ssl_install: line 21: --enable-module=alias: command not found
./apache_ssl_install: line 22: --enable-shared=alias: command not found
./apache_ssl_install: line 23: --enable-module=status: command not found
./apache_ssl_install: line 24: --enable-shared=status: command not found
./apache_ssl_install: line 25: --enable-module=userdir: command not found
./apache_ssl_install: line 26: --enable-shared=userdir: command not found
./apache_ssl_install: line 27: --enable-module=vhost_alias: command not found
./apache_ssl_install: line 28: --enable-shared=vhost_alias: command not found
./apache_ssl_install: line 29: --enable-module=env: command not found
./apache_ssl_install: line 30: --enable-shared=env: command not found
./apache_ssl_install: line 31: --enable-module=log_referer: command not found
./apache_ssl_install: line 32: --enable-shared=log_referer: command not found
./apache_ssl_install: line 33: --enable-module=log_config: command not found
./apache_ssl_install: line 34: --enable-shared=log_config: command not found
./apache_ssl_install: line 35: --enable-module=log_agent: command not found
./apache_ssl_install: line 36: --enable-shared=log_agent: command not found
./apache_ssl_install: line 37: --enable-module=headers: command not found
: command not foundl: line 38: --enable-shared=headers
[root@localhost webserver]#


The directory structure is as follows:

[root@localhost webserver]# pwd
/usr/local/src/webserver
[root@localhost webserver]# ll
total 6180
drwxr-xr-x 8 501 games 4096 Oct 27 09:47 apache_1.3.33
-r-xr-xr-x 1 root root 2468567 Jan 26 23:30 apache_1333tar.gz
-r-xr-xr-x 1 root root 1104 Jan 28 12:45 apache_ssl_install
drwxr-xr-x 10 root root 4096 Jan 28 12:37 mod_ssl-2.8.22-1.3.33
-r-xr-xr-x 1 root root 754606 Jan 26 23:27 mod_ssl_2822_1333tar.gz
drwxr-xr-x 21 root root 4096 Jan 28 12:20 openssl-0.9.7e
-r-xr-xr-x 1 root root 3043231 Jan 26 23:26 openssl_097etar.gz
[root@localhost webserver]#


As you can see the computer is not changing to the corect directories and therefore the script fails. I have checked the instructions several times and have everything exactly as specified.

I have also discovered the following points:
1. I can manually change to each diectory.
2. The owner and group of the apache sourcedirectory is 500, and games, respectively.
3. Changing both of these to root has no affect.
4. The exact versions of these programs is slightly different than listed in the book but the file and directory names have been changed accordingly.

What is wrong? Any help is greatly appreciated.



Curtis
 
Old 02-02-2005, 02:04 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
cd /usr/local/src/webserver/mod_ssl-2.8.22-1.3.33
You must first configure mod-ssl like this:
./configuge --with-apache=/path/you/extracted/apache
where: /path/you/extracted/apache ist the directory you extracted apache-1.3.33. No need for make, make install.
Then cd to that directory and run ./configure with the options you mentioned since they are all for apache.

Good luck
 
Old 02-03-2005, 11:49 PM   #3
cmccully
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, ill try that


Curtis
 
  


Reply



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
Installing Apache Gins Linux - General 31 09-11-2005 01:08 PM
Installing apache squirellplaying Linux - Newbie 7 05-19-2004 03:53 PM
installing apache wurzul Linux - Newbie 9 04-20-2004 09:03 AM
Installing Apache Michael2003 Linux - Newbie 7 12-27-2003 12:59 PM
Installing Apache 1.3.26 with Thinkgeekness Linux - Software 1 03-17-2003 12:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:18 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
Open Source Consulting | Domain Registration