Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17351 - Apache/PHP missing symlink from /usr/sbin/apxs2 to /usr/sbin/apxs
Summary: Apache/PHP missing symlink from /usr/sbin/apxs2 to /usr/sbin/apxs
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-12 02:04 UTC by Dion Sayles
Modified: 2003-03-22 15:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dion Sayles 2003-03-12 02:04:48 UTC
When emerging apache like the docs Code Listing 8.1:  The emerge fails due to a missing 
/usr/sbin entry:  apxs.  This is fixable by adding a symbolic link from apxs to apxs2.
Comment 1 Dion Sayles 2003-03-12 02:18:02 UTC
Update, this is in the mod_php build.  After creating the symlink to apxs the following 
error message shows up: 
 
Configuring SAPI modules 
checking for AOLserver support... no 
checking for Apache 1.x module support via DSO through APXS... configure: error: You 
have enabled Apache 1.3 support while your server is Apache 2.  Please use the 
appropiate switch --with-apxs2 
 
!!! ERROR: dev-php/mod_php-4.3.1-r1 failed. 
!!! Function src_compile, Line 219, Exitcode 1 
!!! bad ./configure 
Comment 2 Troy Dack 2003-03-13 16:37:03 UTC
Try this:

    USE="apache2" emerge mod_php

and don't have the symlink
Comment 3 Dion Sayles 2003-03-13 20:28:08 UTC
Adding apache2 to the USE variable helped.  Then I ran into the same problem as bug 
16910.  After adjusting the mod_php ebuild script mod_php-4.3.1.ebuild, I emerged 
again and it defaults to the -r1.ebuild.  I then had to emerge the proper ebuild and it 
finally worked. 
 
Thanks for the help and bugzilla.... :) 
Comment 4 Donny Davies (RETIRED) gentoo-dev 2003-03-22 15:52:56 UTC
:\