LoginSignup
0
0

More than 1 year has passed since last update.

./configure: /opt/lampp/bin/apxs: /bin/perl: bad interpreter: No such file or directory

Last updated at Posted at 2022-12-18

/bin/perlにパールがなかったので、シンボリックリンクを作成

sudo ln -s /opt/lampp/bin/perl /bin/perl

--with-apxs2=/opt/lampp/bin/apxsでphpを./configureしたらエラーがでた

Configuring SAPI modules
checking for Apache 2.0 handler-module support via DSO through APXS... 

Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of /opt/lampp/bin/apxs follows:
./configure: /opt/lampp/bin/apxs: /bin/perl: bad interpreter: No such file or directory
configure: error: Aborting
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0