Comments (6)
From honglilai on April 13, 2008 16:33:31
I believe this is a duplicate of issue #3 . Could you follow the instructions that I
posted in issue #3 ?
Cc: honglilai
from passenger.
From sikandsak on April 13, 2008 22:41:57
After I follow the instruction in issue #3 , here's the result
$ruby -rubygems -e 'gem "passenger"; require "passenger/platform_info"; puts PlatformInfo::APXS2'
cannot open /Applications/MAMP/Library/build/config_vars.mk: No such file or directory at
/Applications/MAMP/Library/bin/apxs line 218.
cannot open /Applications/MAMP/Library/build/config_vars.mk: No such file or directory at
/Applications/MAMP/Library/bin/apxs line 218.
cannot open /Applications/MAMP/Library/build/config_vars.mk: No such file or directory at
/Applications/MAMP/Library/bin/apxs line 218.
cannot open /Applications/MAMP/Library/build/config_vars.mk: No such file or directory at
/Applications/MAMP/Library/bin/apxs line 218.
/Applications/MAMP/Library/bin/apxs
$ export APXS2=/Applications/MAMP/bin/apache2/bin/apxs
$ ruby -rubygems -e 'gem "passenger"; require "passenger/platform_info"; puts PlatformInfo::APXS2'
cannot open /Applications/MAMP/Library/build/config_vars.mk: No such file or directory at
/Applications/MAMP/bin/apache2/bin/apxs line 218.
cannot open /Applications/MAMP/Library/build/config_vars.mk: No such file or directory at
/Applications/MAMP/bin/apache2/bin/apxs line 218.
cannot open /Applications/MAMP/Library/build/config_vars.mk: No such file or directory at
/Applications/MAMP/bin/apache2/bin/apxs line 218.
cannot open /Applications/MAMP/Library/build/config_vars.mk: No such file or directory at
/Applications/MAMP/bin/apache2/bin/apxs line 218.
/Applications/MAMP/bin/apache2/bin/apxs
Try to run those ruby script:
- With the APXS2 set
cannot open /Applications/MAMP/Library/build/config_vars.mk: No such file or directory at
/Applications/MAMP/bin/apache2/bin/apxs line 218.
cannot open /Applications/MAMP/Library/build/config_vars.mk: No such file or directory at
/Applications/MAMP/bin/apache2/bin/apxs line 218.
cannot open /Applications/MAMP/Library/build/config_vars.mk: No such file or directory at
/Applications/MAMP/bin/apache2/bin/apxs line 218.
cannot open /Applications/MAMP/Library/build/config_vars.mk: No such file or directory at
/Applications/MAMP/bin/apache2/bin/apxs line 218.
ENV['APXS2'] = "/Applications/MAMP/bin/apache2/bin/apxs"
find_apxs2 -> "/Applications/MAMP/bin/apache2/bin/apxs"
env_defined?('APXS2') -> true - Without APXS2 set
cannot open /Applications/MAMP/Library/build/config_vars.mk: No such file or directory at
/Applications/MAMP/Library/bin/apxs line 218.
cannot open /Applications/MAMP/Library/build/config_vars.mk: No such file or directory at
/Applications/MAMP/Library/bin/apxs line 218.
cannot open /Applications/MAMP/Library/build/config_vars.mk: No such file or directory at
/Applications/MAMP/Library/bin/apxs line 218.
cannot open /Applications/MAMP/Library/build/config_vars.mk: No such file or directory at
/Applications/MAMP/Library/bin/apxs line 218.
ENV['APXS2'] = nil
find_apxs2 -> "/Applications/MAMP/Library/bin/apxs"
env_defined?('APXS2') -> false
from passenger.
From honglilai on April 14, 2008 05:09:43
"cannot open /Applications/MAMP/Library/build/config_vars.mk: No such file or
directory at /Applications/MAMP/Library/bin/apxs line 218."
It seems that either your MAMP installation is broken, or MAMP itself is broken.
Could you reinstall MAMP and/or contact the MAMP developers about this?
from passenger.
From sikandsak on April 14, 2008 06:35:26
Ah .. you really guided me to the right way.
It was really MAMP that was a curpit
I have found the config_vars.mk here: http://forum.mamp.info/viewtopic.php?t=1866 Then I copied that, to a new file, save as config_vars.mk in /Applications/MAMP/Library/build/
(I had to strip the ending space from each lines, or else it will be error)
And then it found my apache :D
Thanks guy! I have attached the file in case anybody has the same problem.
Attachment: config_vars.mk
from passenger.
From honglilai on April 14, 2008 07:00:44
Thanks sikandsak. I've documented this in the users guide.
Status: Invalid
from passenger.
From honglilai on April 14, 2008 12:50:08
It seems that wasn't the end. Here's a follow-up with more information: http://groups.google.com/group/phusion-passenger/t/e6dac9d5ea0de9c1
from passenger.
Related Issues (20)
- Hooks not being registered HOT 4
- String conversion while handling native Ruby support lib LoadErrors can cause errors HOT 1
- Feature request: Ability to configure path to error renderer template
- Deprecation warning with ActiveRecord 7.1.2
- passenger-install-nginx-module is running after installation as a dynamic module HOT 8
- Security update without published advisory HOT 2
- Memory leak HOT 3
- Crash when starting Ruby 3.3.0 Rails 7 application HOT 3
- Disable secure headers option for GLS HOT 1
- HTTP3/QUIC breaks passenger Python apps ( Nginx + HTTP3 + Passenger ) HOT 2
- Cannot build passenger nginx dynamic module HOT 1
- Out of memory leads to passenger shutdown and ensuing 502 error on nginx HOT 3
- Out of memory leads to passenger shutdown and ensuing 502 error on nginx HOT 1
- Cannot upgrade to 1.24.0-1: unmet dependencies HOT 2
- Cannot find nginx module on Amazon Linux 2023 HOT 1
- Cannot install passenger-6.0.20-1.el9.x86_64.rpm on CentOS 9 Stream with Ruby 3.3 HOT 2
- Requests intermittently result in 500, directory in /tmp not found HOT 2
- Better cooperation with Kubernetes zero-downtime restarts
- Error with Rack prevents editing rails production credentials
- params are empty upon proper form submission HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from passenger.