Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trying to install apache...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
noodles
n00b
n00b


Joined: 10 Mar 2003
Posts: 10
Location: Vancouver, BC, Canada

PostPosted: Sun Mar 16, 2003 2:49 am    Post subject: Trying to install apache... Reply with quote

I've got my system up and running OK, but I'm relatively new to Gentoo and I've been using the guides to get apache set up. The one I'm reading says to do this:
Code:

emerge apache php mod_php mod_ssl


I've done this but when trying to emerge I get the following error:

Code:

...
checking for getrlimit... yes
checking for PSPELL support... no
checking for QtDOM support... yes
configure: error: qdom.h not found.

!!! ERROR: dev-php/php-4.3.1-r1 failed.
!!! Function src_compile, Line 184, Exitcode 1
!!! bad ./configure

tigers root #


I'm not really sure what to do from here, anyone else have any ideas what could be causing this?[/code]
Back to top
View user's profile Send private message
El_Presidente_Pufferfish
Veteran
Veteran


Joined: 11 Jul 2002
Posts: 1179
Location: Seattle

PostPosted: Sun Mar 16, 2003 3:04 am    Post subject: Reply with quote

try
Code:
# USE="-qt" emerge apache mod_php mod_ssl
Back to top
View user's profile Send private message
noodles
n00b
n00b


Joined: 10 Mar 2003
Posts: 10
Location: Vancouver, BC, Canada

PostPosted: Sun Mar 16, 2003 6:08 pm    Post subject: Reply with quote

OK, well that seemed to get a little bit further, but not this is what I am getting...

Code:

...
checking for pthreads_cflags... -pthread
checking for pthreads_lib...

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS...

Sorry, I was not able to successfully run APXS.  Possible reasons:

1.  Perl is not installed;
2.  Apache was not compiled with DSO support (--enable-module=so);
3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
The output of /usr/sbin/apxs follows
./configure: line 3215: /usr/sbin/apxs: No such file or directory
configure: error: Aborting

!!! ERROR: dev-php/mod_php-4.3.1-r1 failed.
!!! Function src_compile, Line 219, Exitcode 1
!!! bad ./configure
Back to top
View user's profile Send private message
Yamakasi
Apprentice
Apprentice


Joined: 28 Sep 2002
Posts: 201

PostPosted: Mon Mar 17, 2003 1:28 am    Post subject: Reply with quote

El_Presidente_Pufferfish wrote:
try
Code:
# USE="-qt" emerge apache mod_php mod_ssl



try this:

Code:
USE="-java" emerge php mod_php mod_ssl


Since Apache is already merged, u dont need to merge it again
Back to top
View user's profile Send private message
noodles
n00b
n00b


Joined: 10 Mar 2003
Posts: 10
Location: Vancouver, BC, Canada

PostPosted: Mon Mar 17, 2003 1:56 am    Post subject: Reply with quote

OK, I will try it, but does someone mind explaining a little bit about what these settings mean when I do it?

I mena I've installed a few versions of Linux before but didn't really learn anything from it, that's why I'm trying out Gentoo, so I can actually do stuff and learn about it, I've learned quite a bit so far, but an explanation would be great. :)
Back to top
View user's profile Send private message
noodles
n00b
n00b


Joined: 10 Mar 2003
Posts: 10
Location: Vancouver, BC, Canada

PostPosted: Mon Mar 17, 2003 2:32 am    Post subject: Reply with quote

hrmm....exact same problem :?
Back to top
View user's profile Send private message
Yamakasi
Apprentice
Apprentice


Joined: 28 Sep 2002
Posts: 201

PostPosted: Mon Mar 17, 2003 3:07 am    Post subject: Reply with quote

noodles wrote:
hrmm....exact same problem :?


aight, modify your /etc/make.conf and this


Code:
USE="-java -qt"


then emerge again
Back to top
View user's profile Send private message
noodles
n00b
n00b


Joined: 10 Mar 2003
Posts: 10
Location: Vancouver, BC, Canada

PostPosted: Mon Mar 17, 2003 7:54 am    Post subject: Reply with quote

Yamakasi wrote:
noodles wrote:
hrmm....exact same problem :?


aight, modify your /etc/make.conf and this


Code:
USE="-java -qt"


then emerge again



:evil: still not working....thx for trying to help though...i'm still getting that exact same error though
Back to top
View user's profile Send private message
g0dzuki
n00b
n00b


Joined: 18 Mar 2003
Posts: 22

PostPosted: Mon Mar 31, 2003 12:55 pm    Post subject: Reply with quote

Have you found a solution for this yet?
I'm getting the exact same error... I can install Apache from source without any errors but I'd rather get it from Portage :(
Back to top
View user's profile Send private message
aabragan
n00b
n00b


Joined: 15 Jul 2002
Posts: 33
Location: Columbus,OH

PostPosted: Mon Mar 31, 2003 6:23 pm    Post subject: Reply with quote

did you try
1. unmerging and re-emerging perl and apache after doing a sync?
or
2.
Code:
 emerge -e apache php mod_php mod_ssl


also do you have libwww in your USE flags?
_________________
Zoom-Zoom-Zoom ;)
Back to top
View user's profile Send private message
g0dzuki
n00b
n00b


Joined: 18 Mar 2003
Posts: 22

PostPosted: Mon Mar 31, 2003 7:00 pm    Post subject: Reply with quote

I got it working after 'emerge rsync'.... it's always good to update portage once in a while :D
Back to top
View user's profile Send private message
juparave
n00b
n00b


Joined: 22 Jan 2003
Posts: 9

PostPosted: Tue Apr 01, 2003 6:17 am    Post subject: Java Reply with quote

Also ran into the same problem, solved by upgrading the java-vm
Code:
java-config --java-version
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.1-01)
Java HotSpot(TM) Client VM (build Blackdown-1.4.1-01, mixed mode)


then

Code:

emerge mod_php


and that's it, now I'm trying to make it work cause apache is not runninf php files...

cu
Back to top
View user's profile Send private message
juparave
n00b
n00b


Joined: 22 Jan 2003
Posts: 9

PostPosted: Tue Apr 01, 2003 6:21 am    Post subject: Java bis Reply with quote

oooh, forgot to tell you before emergin mod_php you need to
Code:
env-update

cheers
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum