switches for php5-extensions

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

switches for php5-extensions

beavis-2
hi,

  I'm trying to install php5-extensions  on "-current". and I'm having
some problems with the options on how to activate only specific
modules for php. I know that FLAVORS="no_x11" will install the
extensions without X. but what if i want to disable specific modules
that php has say odbc. On the script there's a switch called
PSEUDO_FLAVORS. I tried using it as follows:

env FLAVORS="no_x11"; env PSEUDO_FLAVORS="no_odbc no_pgsql" make install

but with no luck.

any help will be greatly appreciated.


-b

Reply | Threaded
Open this post in threaded view
|

Re: switches for php5-extensions

Mike Erdely
On Sun, Oct 19, 2008 at 09:34:49AM -0600, Beavis wrote:
> env FLAVORS="no_x11"; env PSEUDO_FLAVORS="no_odbc no_pgsql" make install

Try: FLAVOR="no_x11 no_odbc no_pgsql" make install

Reply | Threaded
Open this post in threaded view
|

Re: switches for php5-extensions

beavis-2
mike,

  thanks for the reply. I tried it and it just installed up iodbc and
a couple of other stuff i don't use.
I tried it on /usr/ports/www/php5 and directly under extensions folder
but still no good.

-b

On Sun, Oct 19, 2008 at 9:45 AM, Mike Erdely <[hidden email]> wrote:
> On Sun, Oct 19, 2008 at 09:34:49AM -0600, Beavis wrote:
>> env FLAVORS="no_x11"; env PSEUDO_FLAVORS="no_odbc no_pgsql" make install
>
> Try: FLAVOR="no_x11 no_odbc no_pgsql" make install
>

Reply | Threaded
Open this post in threaded view
|

Re: switches for php5-extensions

patrick keshishian
On Sun, Oct 19, 2008 at 8:57 AM, Beavis <[hidden email]> wrote:
> mike,
>
>  thanks for the reply. I tried it and it just installed up iodbc and
> a couple of other stuff i don't use.
> I tried it on /usr/ports/www/php5 and directly under extensions folder
> but still no good.

Are you sure those packages weren't installed from a previous
build/install of the package? I mean before the `env FLAVOR="no_x11
no_odbc ..." make install'.

In the php5/extensions directory do a:

    $ make show=FLAVORS

That will give you all possible flavors. Next construct your FLAVOR
list and make install:

    $ env FLAVOR="no_x11 no_pgsql no_odbc no_..." make install

I'm stating the obvious, but make sure you have no typos. This
absolutely has worked for me in the past.

--patrick



> -b
>
> On Sun, Oct 19, 2008 at 9:45 AM, Mike Erdely <[hidden email]> wrote:
>> On Sun, Oct 19, 2008 at 09:34:49AM -0600, Beavis wrote:
>>> env FLAVORS="no_x11"; env PSEUDO_FLAVORS="no_odbc no_pgsql" make install
>>
>> Try: FLAVOR="no_x11 no_odbc no_pgsql" make install