Git Product home page Git Product logo

Comments (6)

FooBarWidget avatar FooBarWidget commented on May 23, 2024

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.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

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.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

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.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

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.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From honglilai on April 14, 2008 07:00:44

Thanks sikandsak. I've documented this in the users guide.

Status: Invalid

from passenger.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.