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 <[email protected]> 
wrote:

From: Sakthi Esakiappan <[email protected]>
Subject: Re: [us...@httpd] apxs: not found
To: [email protected]
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 -w
it 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 <[email protected]> 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
--- On Thu, 5/6/10, Sakthi Esakiappan <[email protected]> 
wrote:


From: Sakthi Esakiappan <[email protected]>

Subject: Re: [us...@httpd] apxs: not found
To: [email protected]
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 <[email protected]> wrote:




--- On Wed, 5/5/10, Sakthi Esakiappan <[email protected]> 
wrote:



From: Sakthi Esakiappan <[email protected]>


Subject: Re: [us...@httpd] apxs: not found
To: [email protected]
Date: Wednesday, May 5, 2010, 3:19 PM


Also post 


cat /usr/local/apache2/bin/apxs

On 5 May 2010 19:38, Hendrik Schmieder <[email protected]> wrote:



Tapan Maheshwari schrieb:


YES,

i am executing this command from this directory: /usr/local/apache2/bin

where apxs is present.



again, apxs is not a binary, this is a text file....



Thanks,






What is the output of

ls -l /usr/local/apache2/bin/apxs ?



  Hendrik



---------------------------------------------------------------------

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: [email protected]

  "   from the digest: [email protected]

For additional commands, e-mail: [email protected]






-- 
With Regards,
Sakthi Esakiappan.M
Server Administrator

MercuryMinds Technologies Pvt Ltd
www.mercuryminds.com "An E-Commerce mentor"



+91 44 45588587
[email protected]
www.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: [email protected]

   "   from the digest: [email protected]

For additional commands, e-mail: [email protected]



-- 
With Regards,

Sakthi Esakiappan.M
Server Administrator


MercuryMinds Technologies Pvt Ltd
www.mercuryminds.com "An E-Commerce mentor"
+91 44 45588587
[email protected]


www.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.






      


-- 
With Regards,
Sakthi Esakiappan.M
Server Administrator

MercuryMinds Technologies Pvt Ltd
www.mercuryminds.com "An E-Commerce mentor"

+91 44 45588587
[email protected]
www.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.





      

Reply via email to