[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: php5 flavors, newbie question



On Wed, Apr 27, 2005 at 11:07:51AM -0700, b h wrote:
> Hi,
> 
> sorry, this is a little bit of a newbie question. 
> Since I've started following current, I've had to
> switch from packages to ports.  Most things I have no
> problem with and are really straight forward, however,
> with all the flavors with php5
> 
> so, within /usr/ports/www/php5
> 
> I do a:
> 
> $ make show=flavors
> ===> www/php5/core
> 
> ===> www/php5/extensions
> 
> ===> www/php5/extensions,no_x11
> 
> fantastic.  But then I realized after running
> 
> $ env FLAVOR="no_x11" make package
> 
> that it is installing all this other stuff....
> so I wised up and thought it might be case
> sensitive... I tried a:
> 
> $ make show=FLAVORS
> ===> www/php5/core
> 
> ===> www/php5/extensions
> no_x11 no_bz2 no_curl no_dba no_dbase no_dbx
> no_filepro no_gd no_gmp no_imap no_ldap no_mcrypt
> no_mhash no_mysql no_ncurses no_odbc no_pgsql no_shmop
> no_snmp no_sqlite no_sybase_ct no_xmlrpc
> ===> www/php5/extensions,no_x11
> no_x11 no_bz2 no_curl no_dba no_dbase no_dbx
> no_filepro no_gd no_gmp no_imap no_ldap no_mcrypt
> no_mhash no_mysql no_ncurses no_odbc no_pgsql no_shmop
> no_snmp no_sqlite no_sybase_ct no_xmlrpc
> $
> 
> hmm, much better.   if the first one was wrong, why
> did the no_x11 still show up?

because the Makefile that interprets your command has those in
SUBDIR.

> Okay, so to my question, I tried a:
> 
> $ env FLAVOR="no_x11 no_bz2 no_curl no_dba no_dbase
> no_dbx no_filepro no_gd no_gmp no_imap no_ldap
> no_mcrypt no_mhash no_ncurses no_odbc no_pgsql
> no_shmop no_snmp no_sqlite no_sybase_ct no_xmlrpc"
> make package
> 
> (all the no- flavors are listed except mysql) and it
> would still proceed to build pgsql and curl and
> whatnot (and I stop the build process before it is
> done).  I'm really only interested in installing the
> core php5, pear and the one mysql extension.  Am I
> running this from the wrong directory?  Am I missing a
> switch?

what directory _did_ you run that command in?  you should do that in
/usr/ports/www/php5/extensions.

-- 
<jakemsr_(_at_)_jakemsr_(_dot_)_com>