Hi Sakthi,
I have removed this line from apxs, i got following output
$ ./apxs -c -I/usr/include/libxml2 -I. -i mod_xml2enc.c ./apxs: require: not found ./apxs: use: not found ./apxs: package: not found ./apxs: syntax error at line 26: `(' unexpected $
Line 26 in apxs is following: my %config_vars = ();
Thanks. --- On Fri, 5/7/10, Sakthi Esakiappan <sakthi.esakiappan@xxxxxxxxxxxxxxxx> wrote: From: Sakthi Esakiappan <sakthi.esakiappan@xxxxxxxxxxxxxxxx> Subject: Re: apxs: not found To: users@xxxxxxxxxxxxxxxx Date: Friday, May 7, 2010, 1:58
PM
Hi Tapan, I could notice there is space missing in the first line between # and ! #!/usr/local/bin/perl -wit should be # !/usr/local/bin/perl -w
so only I want you delete the entire line, have a try with it and let me know the output.
On 7 May 2010 18:03, Tapan Maheshwari <tapan_mh@xxxxxxxxx> wrote:
Hi Sakthi, Thanks very much for you time and information, i have followed following steps: 1. executed this command in the shell
# PATH=$PATH:/usr/local/apache2/bin:/usr/local/bin/ # export $PATH
2.changed the permissions for apxs to 755
3. perl was already installed (checked with command $ which perl) this gave me the location of perl installation,
added perl install location to PATH variable,
>The first line in the apxs shell script(#!/usr/local/bin/perl -w) is already commented out, it won't be executed anyways??
Still i get the same error "./apxs: not found "
stuck on the same step. any
thoughts??
Thanks. Tapan Date: Thursday, May 6, 2010, 12:08 PM
Hello,
Check the following steps
1. I could see the path variable is not set. Add the following lines to
the homedirectory/.bash_profile
PATH=$PATH:/usr/local/apache2/bin:/usr/local/bin/
now reboot the computer to take this effect, if the system can't
rebooted then just execute this in the shell
# PATH=$PATH:/usr/local/apache2/bin:/usr/local/bin/
# export $PATH
2. Change the file permission, none of the shell script should be with
777 permission(rwx,rwx,rwx)
chmod 755 apxs
3. Make sure perl is installed in /usr/local/bin/perl, since I could see
the script uses perl for its execution.
# which perl add this output to PATH variable. or try deleting the
first line in the apxs shell script(#!/usr/local/bin/perl -w)
On 6 May 2010 15:59, Tapan Maheshwari <tapan_mh@xxxxxxxxx> wrote:
--- On Wed, 5/5/10, Sakthi Esakiappan <sakthi.esakiappan@xxxxxxxxxxxxxxxx> wrote:
From: Sakthi Esakiappan <sakthi.esakiappan@xxxxxxxxxxxxxxxx>Date: Wednesday, May 5, 2010, 3:19 PM
Also post
cat /usr/local/apache2/bin/apxs
-- With Regards, Sakthi Esakiappan.M Server Administrator MercuryMinds Technologies Pvt Ltd www.mercuryminds.com "An E-Commerce mentor"
+91 44 45588587 sakthi.esakiappan@xxxxxxxxxxxxxxxxwww.mercuryminds.com
Disclaimer: This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you have received this message in error, you are hereby notified that we do not consent to any reading, dissemination, distribution or copying of this message. If you have received this communication in error, please notify the sender immediately and destroy the transmitted information.
|
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
" from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
-- With Regards,
Sakthi Esakiappan.M Server Administrator
MercuryMinds Technologies Pvt Ltd www.mercuryminds.com "An E-Commerce mentor" +91 44 45588587 sakthi.esakiappan@xxxxxxxxxxxxxxxx
www.mercuryminds.comDisclaimer: This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you have received this message in error, you are hereby notified that we do not consent to any reading, dissemination, distribution or copying of this message. If you have received this communication in error, please notify the sender immediately and destroy the transmitted information.
|
-- With Regards, Sakthi Esakiappan.M Server Administrator MercuryMinds Technologies Pvt Ltd www.mercuryminds.com "An E-Commerce mentor"
+91 44 45588587 sakthi.esakiappan@xxxxxxxxxxxxxxxxwww.mercuryminds.comDisclaimer: This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you have received this message in error, you are hereby notified that we do not consent to any reading, dissemination, distribution or copying of this message. If you have received this communication in error, please notify the sender immediately and destroy the transmitted information.
|