LongHike
LongHike

Reputation: 4460

FreeBSD passenger gem (rubygem-passenger) not building for nginx

I am trying to build rubygem-passenger for nginx on FreeBSD 11.1 but the compiler stops with Error code 1 complaining:

2.3/gems/passenger-5.1.8/buildout/apache2/mod_passenger.so failed: No such file or directory *** Error code 1

Stop. make[1]: stopped in /usr/ports/www/rubygem-passenger *** Error code 1

Please note the section of the path where it says /apache2/mod_passenger.so

The config options are set to nginx!

Any help or hint is appreciated since I am stuck for days now with this problem.

Upvotes: 0

Views: 176

Answers (1)

devanand
devanand

Reputation: 5290

You gave less information how you call the compile process. Usually I do

cd /usr/local/lib/ruby/gems/2.3/gems/passenger-5.1.11
rake nginx:as_dynamic_module

If you call rake -T then you will get more options how to compile passenger.

Upvotes: 0

Related Questions