Tiny Core Extensions > TCE Bugs

apxs in apache2

(1/1)

robc:
The first line in this file should be
--- Code: ---#!/usr/local/bin/perl -w
--- End code ---

softwaregurl:
that would depend on if you have perl5 or perl_xml or some other perl loaded.  the standard perl path would be
--- Code: ---#!/usr/bin/perl
--- End code ---
i usually symlink from there to whichever perl.

robc:
Both the perl5 and perl_xml have /usr/local/bin/perl. The line in apxs right now is
--- Code: ---#!/replace/with/path/to/perl/interpreter -w
--- End code ---
The 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: ---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
--- End code ---

Navigation

[0] Message Index

Go to full version