View previous topic :: View next topic |
Author |
Message |
noodles n00b
Joined: 10 Mar 2003 Posts: 10 Location: Vancouver, BC, Canada
|
Posted: Sun Mar 16, 2003 2:49 am Post subject: Trying to install apache... |
|
|
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 |
|
|
El_Presidente_Pufferfish Veteran
Joined: 11 Jul 2002 Posts: 1179 Location: Seattle
|
Posted: Sun Mar 16, 2003 3:04 am Post subject: |
|
|
try
Code: | # USE="-qt" emerge apache mod_php mod_ssl |
|
|
Back to top |
|
|
noodles n00b
Joined: 10 Mar 2003 Posts: 10 Location: Vancouver, BC, Canada
|
Posted: Sun Mar 16, 2003 6:08 pm Post subject: |
|
|
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 |
|
|
Yamakasi Apprentice
Joined: 28 Sep 2002 Posts: 201
|
Posted: Mon Mar 17, 2003 1:28 am Post subject: |
|
|
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 |
|
|
noodles n00b
Joined: 10 Mar 2003 Posts: 10 Location: Vancouver, BC, Canada
|
Posted: Mon Mar 17, 2003 1:56 am Post subject: |
|
|
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 |
|
|
noodles n00b
Joined: 10 Mar 2003 Posts: 10 Location: Vancouver, BC, Canada
|
Posted: Mon Mar 17, 2003 2:32 am Post subject: |
|
|
hrmm....exact same problem |
|
Back to top |
|
|
Yamakasi Apprentice
Joined: 28 Sep 2002 Posts: 201
|
Posted: Mon Mar 17, 2003 3:07 am Post subject: |
|
|
noodles wrote: | hrmm....exact same problem |
aight, modify your /etc/make.conf and this
then emerge again |
|
Back to top |
|
|
noodles n00b
Joined: 10 Mar 2003 Posts: 10 Location: Vancouver, BC, Canada
|
Posted: Mon Mar 17, 2003 7:54 am Post subject: |
|
|
Yamakasi wrote: | noodles wrote: | hrmm....exact same problem |
aight, modify your /etc/make.conf and this
then emerge again |
still not working....thx for trying to help though...i'm still getting that exact same error though |
|
Back to top |
|
|
g0dzuki n00b
Joined: 18 Mar 2003 Posts: 22
|
Posted: Mon Mar 31, 2003 12:55 pm Post subject: |
|
|
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 |
|
|
aabragan n00b
Joined: 15 Jul 2002 Posts: 33 Location: Columbus,OH
|
Posted: Mon Mar 31, 2003 6:23 pm Post subject: |
|
|
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 |
|
|
g0dzuki n00b
Joined: 18 Mar 2003 Posts: 22
|
Posted: Mon Mar 31, 2003 7:00 pm Post subject: |
|
|
I got it working after 'emerge rsync'.... it's always good to update portage once in a while |
|
Back to top |
|
|
juparave n00b
Joined: 22 Jan 2003 Posts: 9
|
Posted: Tue Apr 01, 2003 6:17 am Post subject: Java |
|
|
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
and that's it, now I'm trying to make it work cause apache is not runninf php files...
cu |
|
Back to top |
|
|
juparave n00b
Joined: 22 Jan 2003 Posts: 9
|
Posted: Tue Apr 01, 2003 6:21 am Post subject: Java bis |
|
|
oooh, forgot to tell you before emergin mod_php you need to
cheers |
|
Back to top |
|
|
|