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

Notices

Reply
 
Search this Thread
Old 09-09-2005, 12:53 PM   #1
sat86
LQ Newbie
 
Registered: Oct 2004
Location: Scotland
Distribution: Fedora
Posts: 14

Rep: Reputation: 0
Apache2 compilation problems FC3 and FC4


I have been trying without success to compile apache2 (2.0.46 and 2.0.48) on FC3. I was sure that I had done this earlier this year though it now appears not to work. A suspicious compile-time error is this:
Code:
mpm_common.c: In function `ap_mpm_rewrite_args':
mpm_common.c:884: warning: function called through a non-compatible type
mpm_common.c:884: note: if this code is reached, the program will abort
core.c: In function `register_hooks':
core.c:4282: warning: function called through a non-compatible type
core.c:4282: note: if this code is reached, the program will abort
mod_include.c: In function `register_hooks':
mod_include.c:3572: warning: function called through a non-compatible type
mod_include.c:3572: note: if this code is reached, the program will abort
mod_include.c:3573: warning: function called through a non-compatible type
mod_include.c:3573: note: if this code is reached, the program will abort
mod_include.c:3574: warning: function called through a non-compatible type
mod_include.c:3574: note: if this code is reached, the program will abort
mod_log_config.c: In function `register_hooks':
mod_log_config.c:1421: warning: function called through a non-compatible type
mod_log_config.c:1421: note: if this code is reached, the program will abort
mod_log_config.c:1422: warning: function called through a non-compatible type
mod_log_config.c:1422: note: if this code is reached, the program will abort
mod_log_config.c:1423: warning: function called through a non-compatible type
mod_log_config.c:1423: note: if this code is reached, the program will abort
httpd reports a segmentation fault when running. Suspecting a broken library somewhere, I tried a fresh install of FC4 and the same problem occured. Debian Sarge (testing) had no problem with this, so I suspect this may be something Fedora specific.

Any help would be appreciated. My configure command was
Code:
./configure --prefix=/usr/local/apache2
though I'd tried more options to begin with.

Thanks

Last edited by sat86; 09-09-2005 at 12:55 PM.
 
Old 09-09-2005, 09:39 PM   #2
LLS
Member
 
Registered: Sep 2003
Location: North America
Distribution: FC6 FC7 F8
Posts: 75

Rep: Reputation: 15
Re: Apache2 compilation problems FC3 and FC4

Quote:
Code:
./configure --prefix=/usr/local/apache2
This only places apache in your disired location--

make sure you su to root when compiling, "doing make and make install and when doing the configure" and see if that helps.

add
Code:
 --enable-mods-shared=most
and then comment out the mods you don't need.
 
Old 09-09-2005, 10:03 PM   #3
ShatteredArm
LQ Newbie
 
Registered: Aug 2005
Location: AZ
Distribution: FC4, Gentoo
Posts: 22

Rep: Reputation: 15
The add/remove packages interface that comes with FC4 does this without any problems at all. I tried configuring it from source, and it failed if I tried anything other than the most basic settings. I don't know what you're trying to do with it, but you might try using that interface.
 
Old 09-12-2005, 12:48 PM   #4
sat86
LQ Newbie
 
Registered: Oct 2004
Location: Scotland
Distribution: Fedora
Posts: 14

Original Poster
Rep: Reputation: 0
Re: Re: Apache2 compilation problems FC3 and FC4

Quote:
Originally posted by LLS
This only places apache in your disired location--

make sure you su to root when compiling, "doing make and make install and when doing the configure" and see if that helps.

add
Code:
 --enable-mods-shared=most
and then comment out the mods you don't need.
I had actually tried this as root from a console without much success. I will double check to make sure I tried the configure as root, but I think it was done as root anyway.

I'm aware the make install must be done as root to write the files to /usr/local, though in the past doing the configure and make as myself was never a problem...
 
Old 09-13-2005, 08:44 AM   #5
LLS
Member
 
Registered: Sep 2003
Location: North America
Distribution: FC6 FC7 F8
Posts: 75

Rep: Reputation: 15
How is your SELinux configured? That could also be a source of problems and make sure you have all the proper development tools installed.
If all else fails as ShatteredArm posts suggests the GUI works,
http://cit.wta.swin.edu.au/cit/subje...ling-LAMP.html
as does an rpm install.
Or you can try an install using yum
http://users.tkk.fi/~tkarvine/lamp-l...mysql-php.html
 
  


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
FC4 vs FC3 UmneyDurak Fedora 19 01-10-2006 10:17 AM
amarok compilation in fc4 daedalus12 Linux - Software 1 10-12-2005 12:40 PM
amarok 1.3 compilation problem in fc3 truelinux Linux - Newbie 1 08-26-2005 02:22 AM
problems updating from FC3 to FC4 gearoidc Fedora 1 07-23-2005 03:20 PM
FC3 hotplugging issue (kernel compilation?) god_is_good478 Linux - Newbie 2 01-03-2005 02:07 AM


All times are GMT -5. The time now is 11:18 AM.

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