View Single Post
  #6   (View Single Post)  
Old 7th February 2011
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 429
Default

Quote:
Originally Posted by http://www.procyonlabs.com/guides/openbsd/apache_php_ssl_db/index.php
env FLAVORS="no_x11 no_snmp" make install

This is just an example. Type make show=FLAVORS to view all possibilities.
Those don't look like configure options to me...

You aren't understanding how the port builds...it builds php5 core, and it builds all of the extensions as separate packages that you can install one-by-one as needed. Using "no_<extention_name>"in FLAVOR just tells it to not build that extension, so it's harmless to build them all.

In other words, DO NOT use "--with-blah-blah" in FLAVORS. Those are options that you would pass to *configure*, whereas FLAVORS is a ports variable.

Quote:
Originally Posted by Nothing2Do View Post
BSDfan666 : why port exist if I can't use it ? If it's "silly" mistake, tell me why openbsd faq speak about that "silly" way !
Quote:
Originally Posted by http://www.openbsd.org/faq/faq15.html#Ports
IMPORTANT NOTE: The ports tree is meant for advanced users. Everyone is encouraged to use the pre-compiled binary packages. Do NOT ask beginner questions on the mailing lists like "How can I get the ports tree working?". If you have questions about the ports tree, it is assumed that you have read the manual pages and this FAQ, and that you are able to work with it.
Edit: Packages of php5 ***and all extensions*** are available. You can get the same effect (much faster) with "pkg_add php5-core php5-bz2 php5-gmp etc..."

Last edited by rocket357; 7th February 2011 at 01:31 PM.
Reply With Quote