Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: robc on June 02, 2009, 12:26:12 PM

Title: apxs in apache2
Post by: robc on June 02, 2009, 12:26:12 PM
The first line in this file should be
Code: [Select]
#!/usr/local/bin/perl -w
Title: Re: apxs in apache2
Post by: softwaregurl on June 08, 2009, 07:40:41 PM
that would depend on if you have perl5 or perl_xml or some other perl loaded.  the standard perl path would be
Code: [Select]
#!/usr/bin/perl i usually symlink from there to whichever perl.
Title: Re: apxs in apache2
Post by: robc on June 09, 2009, 12:49:54 AM
Both the perl5 and perl_xml have /usr/local/bin/perl. The line in apxs right now is
Code: [Select]
#!/replace/with/path/to/perl/interpreter -wThe reason I bring this up is because when compiling against apache this file is used and in its present state requires a work-around. sed can be used to do this, but I did this so I wouldn't have to load it:
Code: [Select]
echo "#!/usr/local/bin/perl -w" > apxs
cat /usr/local/bin/apxs | grep -v -e '#!/' >> apxs
sudo mv apxs /usr/local/bin/apxs
sudo chmod 777 /usr/local/bin/apxs