APACHE-> NEED expert
Posted: Wed Jan 31, 2007 12:24 am
I have searched everwhere for help. Moreover, I need some help from you guys. I have posted something on the "gentoo" forums for help. However they all say that I have a corrupted HD which to my understanding I don't. Maybe gentoox causes this problem?
Well, anyways, the post on the other forum is right here:
GENTOO POST Here.
And this is my basic problem that no one seems to be able to figure out.
I'm trying to install apache with PHP so I'm following a tuturial (figure 1), I followed the entire thing except it freezes upon the second emerge package of "emerge apache dev-lang/php".
--- figure 1 ---
Here's what the problem was the first time,
most important thing to note is the bottom it says to change the "thread" flags. So, I decided to open ------> EDIT "/etc/portage/package.use" .. for some reason it says that the file didn't exist already.
SO I did some research only to find that I should change the "use flag" in "etc/make.conf". however after changing the flag and "emerge apache dev-lang/php" the emerge did actually get farther this time. Here's the error I got on my second run:
How do I know if I actually have a corrupt HD?
Well, anyways, the post on the other forum is right here:
GENTOO POST Here.
And this is my basic problem that no one seems to be able to figure out.
I'm trying to install apache with PHP so I'm following a tuturial (figure 1), I followed the entire thing except it freezes upon the second emerge package of "emerge apache dev-lang/php".
--- figure 1 ---
1) Open a konsole/console
2) su –
3) Enter root password
4) emerge sync
5) pico -w /etc/make.conf 6) Ensure that "apache2" and "php" are in the USE="" line 7) emerge apache dev-lang/php
Here's what the problem was the first time,
Code: Select all
* checking php-patchset-5.1.6-r3.tar.bz2 ;-) ... [ ok ]
* Determining SAPI(s) to build
* Enabled SAPI: cli
* Disabled SAPI: cgi
* Disabled SAPI: apache
* Enabled SAPI: apache2
*
* If this package fails with a fatal error about Apache2 not having
* been compiled with a compatible MPM, this is normally because you
* need to toggle the 'threads' USE flag.
*
* If 'threads' is off, try switching it on.
* If 'threads' is on, try switching it off.
*
*
* USE flag 'truetype' needs one of these additional flag(s) set:
* gd gd-external
*
* 'gd' was automatically selected and enabled.
* You can change that by enabling/disabling those flags accordingly
* in /etc/portage/package.use.
*
*
* USE flag 'sharedmem' conflicts with these USE flag(s):
* threads
*
* You must disable these conflicting flags before you can emerge this package.
* You can do this by disabling these flags in /etc/portage/package.use:
* =dev-lang/php-5.1.6-r6 -threads
*
!!! ERROR: dev-lang/php-5.1.6-r6 failed.
Call stack:
ebuild.sh, line 1562: Called dyn_setup
ebuild.sh, line 665: Called pkg_setup
php-5.1.6-r6.ebuild, line 106: Called php5_1-sapi_pkg_setup
php5_1-sapi.eclass, line 270: Called php5_1-sapi_check_use_flags
php5_1-sapi.eclass, line 196: Called phpconfutils_use_conflict 'sharedmem' 'threads'
phpconfutils.eclass, line 163: Called die
!!! Conflicting USE flags found
!!! If you need support, post the topmost build error, and the call stack if relevant.
SO I did some research only to find that I should change the "use flag" in "etc/make.conf". however after changing the flag and "emerge apache dev-lang/php" the emerge did actually get farther this time. Here's the error I got on my second run:
As you can see I have tried to get this working. I have searched through the forums, this is why I'm coming to you. I have no idea what to do. I don't see any options here to fix this problem. Can anyone please help me?ext/date/lib/parse_date.lo
ext/date/lib/.libs/parse_date.o: Input/output error
{standard input}: Assembler messages:
{standard input}:37424: FATAL: Can't write ext/date/lib/.libs/parse_date.o: Illegal seek
make: *** [ext/date/lib/parse_date.lo] Error 1
!!! ERROR: dev-lang/php-5.1.6-r6 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
php-5.1.6-r6.ebuild, line 173: Called src_compile_normal
php-5.1.6-r6.ebuild, line 339: Called php5_1-sapi_src_compile
php5_1-sapi.eclass, line 577: Called die
!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
How do I know if I actually have a corrupt HD?