LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-23-2009, 02:14 AM   #1
azard
LQ Newbie
 
Registered: Jan 2009
Posts: 13

Rep: Reputation: 0
Building httpd-2.0.53 on fedora 9


Hi,
Due to some software requirement, I need to run apache 2.0. I have a fedora 9 box. I have to build the source rpm but face some errors (Something to do with FNM_PERIOD). Is there someone out there that can help me please? Thanks
 
Old 01-23-2009, 04:21 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to Linux Questions.

May be you can use a package :

httpd-2.0.40
http://rpm.pbone.net/index.php3?stat...h=httpd-2&dist[]=64&dist[]=54&dist[]=52&dist[]=55&field[]=1&field[]=2
httpd-2.0.40 legacy
http://rpm.pbone.net/index.php3?stat...h=httpd-2&dist[]=64&dist[]=54&dist[]=52&dist[]=55&field[]=1&field[]=2

Your errors could be caused by gcc-4.3 , just guessing.
The 'compat-gcc' might work.

'make CC=gcc34 CXX=g++34'
( Haven't checked, if any c++ code in httpd )
....
EDIT : The links seem incomplete,
but "Search" > "Advanced Search" 'httpd-2' Fedora 9
would work or
http://rpm.pbone.net/index.php3?stat...egacy.i386.rpm
http://rpm.pbone.net/index.php3?stat...21.11.i386.rpm
....

Last edited by knudfl; 01-23-2009 at 04:29 AM.
 
Old 01-23-2009, 07:13 PM   #3
azard
LQ Newbie
 
Registered: Jan 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Hi knudfl,
Thanks for the reply. Will try out your suggestion.
 
Old 02-02-2009, 03:56 AM   #4
azard
LQ Newbie
 
Registered: Jan 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Hi knudfl,
Finally I managed to try your suggestion after a long holiday here in Asia. I have downloaded httpd-2.0.21-21. I uninstall the httpd 2.2 and installed the rpm I just downloaded. However there are some dependencies issue like;

libcrypto.so.4 is required by httpd-2.0.21-21
libdb-4.0.so is required by httpd-2.0.21-21
libexpat.so.0 is required by httpd-2.0.21-21
libssl.so.4 is required by httpd-2.0.21-21
libcom_err.so.3 is required by httpd-2.0.21-21

How do I overcome this issue. Thanks again.
 
Old 02-02-2009, 05:51 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
I think you will have to go for a package build for Fedora 9,

httpd-2.0.40
http://rpm.pbone.net/index.php3?stat...21.11.i386.rpm
or httpd-2.0.40-21.16.legacy
http://rpm.pbone.net/index.php3?stat...egacy.i386.rpm

Will version 2.0.40 not be OK ? ?

....

Last edited by knudfl; 02-02-2009 at 05:53 PM.
 
Old 02-02-2009, 08:29 PM   #6
azard
LQ Newbie
 
Registered: Jan 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Hi knudfl,
I have downloaded and install the rpms from both links but I got the same dependencies error. I tried to build from rpm source but got other errors. Any another ideas. Thanks.
 
Old 02-02-2009, 09:54 PM   #7
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
@azard: Is there a reason you are not installing Apache httpd using yum?

# yum install httpd
 
Old 02-03-2009, 12:21 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
anomie........see #1 :
Quote:
Due to some software requirement, I need to run apache 2.0.
Version 2.2 was installed regularly, but now uninstalled ......

....

Last edited by knudfl; 02-03-2009 at 01:50 AM.
 
Old 02-03-2009, 01:43 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
azard .....

http://archive.apache.org/dist/httpd/

> > httpd-2.0.63.tar.gz

version 2.0 > 2.0.63 will compile on Fedora 9 with no errors
and no warnings at all ( did not test extra options, just
'sh configure' + 'make' )

....
 
Old 02-03-2009, 02:29 AM   #10
azard
LQ Newbie
 
Registered: Jan 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Let me be honest to you knudfl. I have never install with this method before. I have downloaded the tar file. Untar, sh configure and make. What next. Thanks
 
Old 02-03-2009, 02:50 AM   #11
azard
LQ Newbie
 
Registered: Jan 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Manage to install it. There is no error but no modules are being compiled. Guess that is why it returns no error.
 
Old 02-03-2009, 06:07 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
OK, there is of course a lot of options usually to be
added, when building httpd.

I can ask you, if the modules / options etc. in the
just uninstalled version 2.2.8 were satisfactory ?

....

Last edited by knudfl; 02-03-2009 at 06:26 AM.
 
Old 02-03-2009, 10:39 AM   #13
azard
LQ Newbie
 
Registered: Jan 2009
Posts: 13

Original Poster
Rep: Reputation: 0
I believe it should be fine.
 
Old 02-03-2009, 12:10 PM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Then this is a starter ........
Code:
 ./configure --enable-mods-shared=all
There are a few other options, may be you can do with "all" modules ?
 
Old 02-04-2009, 07:05 PM   #15
azard
LQ Newbie
 
Registered: Jan 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Hi,
Let me explain what I am trying to do. We used to have a box running on fedora core 3 and coldfusion 5. The box is failing. I have got a new hardware HP DL320G5. However I cannot install FC3 on the new box as it cannot detect the storage controller. On the coldfusion, it is meant to run on apache 1.3 but there some great people out there modified the apache module so that it can run on apache 2.0. I chose to install F9 as it can detect the hardware but I have other issues with apache and coldfusion. After the guidance from knudfl, I manage to get apache 2.0 to run but there are some error where it try to load mod_coldfusion.so. I guess it is a dead end. Another approach would be to build the kernel src rpm from F9 in a FC3 machine and rebuild the installation cd or create a driver disk. This method should work. Anyone can help me
 
  


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
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 11:26 AM
httpd - Fedora Core 6 SgtM Linux - Server 6 04-09-2007 10:49 AM
httpd on fedora, help? CoteJM Linux - Software 3 12-20-2004 03:28 PM
Fedora HTTPD chrisknight Linux - Software 4 07-05-2004 12:01 AM
Fedora 2 HTTPD Problem robkettle Fedora 3 05-20-2004 03:24 PM

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

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