NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
mfe_
Dec 05, 2012Tutor
Advice compiling php
Hello,
I'm trying to compile php from source by using gcc 4.6.0 on the readynas duo sparc. I read the php.net manual which says I have to set the parameter --with-apxs2=
The only apxs file I found in the readynas duo was located in /c/home/admin/support/apxs.
But when viewing the content of apxs I seems that the paths are set wrong. Anyway, when using "../php-5.3.10/configure --with-apxs2=/c/home/admin/support/apxs --host=sparc-linux I'll get
Have I to correct all paths? Is there a newer apxs file available? Or is there an other workaround to get the php compiled with using the apache version of the readynas duo? greetings
I'm trying to compile php from source by using gcc 4.6.0 on the readynas duo sparc. I read the php.net manual which says I have to set the parameter --with-apxs2=
The only apxs file I found in the readynas duo was located in /c/home/admin/support/apxs.
But when viewing the content of apxs I seems that the paths are set wrong. Anyway, when using "../php-5.3.10/configure --with-apxs2=/c/home/admin/support/apxs --host=sparc-linux I'll get
Sorry, I cannot run apxs. Possible reasons follow:
1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)
The output of /c/home/admin/support/apxs follows:
sh: line 1: /usr/local/apache2/bin/envvars: No such file or directory
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/c/home/admin/'..
configure: error: Aborting
Have I to correct all paths? Is there a newer apxs file available? Or is there an other workaround to get the php compiled with using the apache version of the readynas duo? greetings
14 Replies
Replies have been turned off for this discussion
- WhoCares_MentorShort answer: DON'T DO THIS!
-Stefan - chirpaLuminaryLong answer: Really! Don't do this! I mean it! #notsupported #borked #noGUI
- mfe_TutorIs there a nice way to solve this issue? I want to execute apt-get install libgsasl7 which breaks because of the above depency problems.
- WhoCares_MentorThe only way to solve this is to recompile manually from the source packages and changing the dependencies there.
-Stefan
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!