Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: robc on June 02, 2009, 12:26:12 PM
-
The first line in this file should be
#!/usr/local/bin/perl -w
-
that would depend on if you have perl5 or perl_xml or some other perl loaded. the standard perl path would be
#!/usr/bin/perl
i usually symlink from there to whichever perl.
-
Both the perl5 and perl_xml have /usr/local/bin/perl. The line in apxs right now is
#!/replace/with/path/to/perl/interpreter -w
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: 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