Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

Compiling Cherokee on Mac OS X Leopard

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


tsenart at me

Aug 18, 2009, 2:48 PM

Post #1 of 3 (588 views)
Permalink
Compiling Cherokee on Mac OS X Leopard

Hello everyone.
I'm having trouble compiling (correctly) Cherokee on my mac.
The problem is that I can't compile it with PHP5 support out of the box.
I am a user of Macports so my php-cgi is /opt/local/bin/php-cgi and
yes it has the (cgi-fcgi) banner.
I did the following:
export PHPCGI=/opt/local/bin/php-cgi
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --
with-mysql=/usr/local/mysql/bin/mysql_config
make -j4
sudo make install
sudo cherokee-admin

And then I went to the web admin interface and had no php5 information
source.
Another question is that of how can I specify ffmpeg and geoip libs on
configure. They were installed with macports.

Thanks
Tomás Senart
_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


pablosaro at gmail

Aug 18, 2009, 4:52 PM

Post #2 of 3 (565 views)
Permalink
Re: Compiling Cherokee on Mac OS X Leopard [In reply to]

Remember you can do:
./configure --help

Cheers
Pablo

On 8/18/09, Tomás Senart <tsenart [at] me> wrote:
> Hello everyone.
> I'm having trouble compiling (correctly) Cherokee on my mac.
> The problem is that I can't compile it with PHP5 support out of the box.
> I am a user of Macports so my php-cgi is /opt/local/bin/php-cgi and
> yes it has the (cgi-fcgi) banner.
> I did the following:
> export PHPCGI=/opt/local/bin/php-cgi
> ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --
> with-mysql=/usr/local/mysql/bin/mysql_config
> make -j4
> sudo make install
> sudo cherokee-admin
>
> And then I went to the web admin interface and had no php5 information
> source.
> Another question is that of how can I specify ffmpeg and geoip libs on
> configure. They were installed with macports.
>
> Thanks
> Tomás Senart
> _______________________________________________
> Cherokee mailing list
> Cherokee [at] lists
> http://lists.octality.com/listinfo/cherokee
>

--
Sent from my mobile device
_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


alvaro at octality

Aug 19, 2009, 12:44 AM

Post #3 of 3 (565 views)
Permalink
Re: Compiling Cherokee on Mac OS X Leopard [In reply to]

Hello Tomás,

On 18-ago-09, at 23:48, Tomás Senart wrote:

> I'm having trouble compiling (correctly) Cherokee on my mac.
> The problem is that I can't compile it with PHP5 support out of the
> box.
> I am a user of Macports so my php-cgi is /opt/local/bin/php-cgi and
> yes it has the (cgi-fcgi) banner.
> I did the following:
> export PHPCGI=/opt/local/bin/php-cgi
> ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --
> with-mysql=/usr/local/mysql/bin/mysql_config
> make -j4
> sudo make install
> sudo cherokee-admin

It seems alright to me.

> And then I went to the web admin interface and had no php5 information
> source.

Technically, Cherokee doesn't support PHP but FastCGI, but that
doesn't matter actually.

You'll have to run the PHP Wizard in order of getting it configured,
up and running. Once in cherokee-admin, go to the Virtual Servers
list, pick the vserver you wanna configure, then select the Behavior
tab, click the "Wizards" bottom, and run the PHP wizard. It'll
configure everything for you.

> Another question is that of how can I specify ffmpeg and geoip libs on
> configure. They were installed with macports.

The configure script will find them as long as your $PATH and
$LD_LIBRARY_PATH contain references to the MacPorts ‘bin’ and ‘lib’
directories respectively.

Cheers!

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.