Re: [BULK] Re: [WebDNA] [BULK] Mac OS X LION has no FastCGI

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 107064
interpreted = N
texte = christophe.billiottet@webdna.us wrote: > Here a temporary solution to install the FastCGI module in Lion > > > curl -O -L http://opensource.apple.com/source/FastCGI/FastCGI-4/fcgi-2.4.0.tar.gz > tar xzf fcgi-2.4.0.tar.gz > cd fcgi-2.4.0/ > cp Makefile.AP2 Makefile > > CFLAGS="-I/usr/include -I/usr/local/include -O2 -pipe $ARCH" ; \ > CPPFLAGS="-I/usr/include -I/usr/local/include" ; \ > LDFLAGS="-L/usr/lib -L/usr/local/lib" ; \ > DYLD_LIBRARY_PATH="/usr/lib:/usr/local/lib" ; \ > ./configure --prefix=/usr/ > > make > sudo make install > > - chris If anybody is trying the solution above, I'll save some time for you... the above won't work ;-). Note: Chris is trying to help with the above, and the important thing is that he is right in saying there are solutions out there for installing fastCGI on Lion. Disclaimer: I don't have time to do an exact README of what needs to be done, but if you have no experience compiling software or if you can't follow my comments below, I would not even try. ;-) Disclaimer#2: Below is for mod_fastcgi (from fastcgi.com), which is traditionally what MacOSX has deployed. My preference (perhaps) would likely be for mod_fcgi rather, which is a part of the apache.org foundation. If you are into building apps, it may be more interesting to build a new apache with mod_fcgi that also includes mod_suexec for Lion, as mod_suexec does not work right with mod_fastcgi... Anyway, below is the "beginnings" of a two part process on getting mod_fastcgi set up on Lion. Experienced app builders suggested beyond this point! (of which I barely qualify ;-) ) You will need the Developer tools installed so you have access to build tools such as G++ etc.. Since the fastcgi.com source's config creates it's own MakeFile from your system specs, you should probably build it on the server that it will be installed to (so install your developer tools on your live server). First download the fastcgi components from fastcgi.com. (you can use apples opensource resource, but you might as well get it from fastcgi.com) Next, unpack and follow the README on how to configure/make/install using the terminal. This installs the fastcgi engine. Then, download the mod_fastcgi.so file from fastcgi.com (under FastCGI servers). Use the apache extensions tool (apxs) in your terminal to build/install. Restart apache, then configure WebDNA. Obviously these are shallow instructions, but I didn't want to leave this thread as it was. If you dare to go down this road and find that you have good luck, let us know how it goes. Donovan -- Donovan Brooke Euca Design Center [Practical-Ethical-Efficient] www.euca.us egg.bz artglass-forum.com Associated Messages, from the most recent to the oldest:

    
christophe.billiottet@webdna.us wrote: > Here a temporary solution to install the FastCGI module in Lion > > > curl -O -L http://opensource.apple.com/source/FastCGI/FastCGI-4/fcgi-2.4.0.tar.gz > tar xzf fcgi-2.4.0.tar.gz > cd fcgi-2.4.0/ > cp Makefile.AP2 Makefile > > CFLAGS="-I/usr/include -I/usr/local/include -O2 -pipe $ARCH" ; \ > CPPFLAGS="-I/usr/include -I/usr/local/include" ; \ > LDFLAGS="-L/usr/lib -L/usr/local/lib" ; \ > DYLD_LIBRARY_PATH="/usr/lib:/usr/local/lib" ; \ > ./configure --prefix=/usr/ > > make > sudo make install > > - chris If anybody is trying the solution above, I'll save some time for you... the above won't work ;-). Note: Chris is trying to help with the above, and the important thing is that he is right in saying there are solutions out there for installing fastCGI on Lion. Disclaimer: I don't have time to do an exact README of what needs to be done, but if you have no experience compiling software or if you can't follow my comments below, I would not even try. ;-) Disclaimer#2: Below is for mod_fastcgi (from fastcgi.com), which is traditionally what MacOSX has deployed. My preference (perhaps) would likely be for mod_fcgi rather, which is a part of the apache.org foundation. If you are into building apps, it may be more interesting to build a new apache with mod_fcgi that also includes mod_suexec for Lion, as mod_suexec does not work right with mod_fastcgi... Anyway, below is the "beginnings" of a two part process on getting mod_fastcgi set up on Lion. Experienced app builders suggested beyond this point! (of which I barely qualify ;-) ) You will need the Developer tools installed so you have access to build tools such as G++ etc.. Since the fastcgi.com source's config creates it's own MakeFile from your system specs, you should probably build it on the server that it will be installed to (so install your developer tools on your live server). First download the fastcgi components from fastcgi.com. (you can use apples opensource resource, but you might as well get it from fastcgi.com) Next, unpack and follow the README on how to configure/make/install using the terminal. This installs the fastcgi engine. Then, download the mod_fastcgi.so file from fastcgi.com (under FastCGI servers). Use the apache extensions tool (apxs) in your terminal to build/install. Restart apache, then configure WebDNA. Obviously these are shallow instructions, but I didn't want to leave this thread as it was. If you dare to go down this road and find that you have good luck, let us know how it goes. Donovan -- Donovan Brooke Euca Design Center [Practical-Ethical-Efficient] www.euca.us egg.bz artglass-forum.com Donovan Brooke

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Webmerchant + Hubby (1998) [FoundItems] solved - thanks (1997) Adding Multiple Items to Shopping Cart from a Resultspage (1997) Showif vs. IF/then/else (2001) Searching (1998) Use of & in text areas.... (1998) Trouble with Netscape (1998) WebCatalog can't find database (1997) price carry over (1997) More on the email templates (1997) mac hack (1997) PCS Frames (1997) Snake Bites (1997) Non-repeating Random Numbers (2002) [Announce] Newest Commerce Site based on WebCatalog (1997) Applescript error (1998) normal users.db calls ... (1998) Credit card processing - UK (1997) Now you see it now you donīt (1997) Secure Server (1997)