DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th February 2010
Sunnz's Avatar
Sunnz Sunnz is offline
Real Name: I don't have real time
Just a computer user...
 
Join Date: May 2008
Location: See Google Maps
Posts: 101
Default Are php extensions subpackages?

Hello,

I have been trying to install PHP from ports but end up quite confused.

I installed php5-core but I think it built the -fastcgi subpackage/flavor for some reason? This is the command I used:

cd /usr/ports/www/php5/core
env SUBPACKAGE="-main" make install

Anyway that only installed php5-core so I guess I go on.

Now I am trying to install some extensions,

cd /usr/ports/www/php5/extensions
env SUBPACKAGE="-gd" make install

But it seems to be compiling not just gd but ALL extensions?? What's going on here?? Does anyone know how to build extensions one by one? This is taking ages and I rather not have to wait this long every time.

And no I won't be able to use precompiled packages.
__________________
She sells C shells by the seashore.
Reply With Quote
  #2   (View Single Post)  
Old 5th February 2010
wilfried's Avatar
wilfried wilfried is offline
Real Name: Peter Strömberg
Port Guard
 
Join Date: May 2008
Location: Teckomatorp, Sweden
Posts: 11
Default

Use the no_* (pseudo)flavors to disable the subpackages you don't want to build

e.g.
env FLAVOR='no_bz2 no_curl no_dba no_dbase no_gmp no_imap no_ldap no_mcrypt no_mhash no_mysql no_ncurses no_odbc no_pgsql no_snmp no_soap no_sybase_ct no_xmlrpc
no_xsl' make
__________________
HP ProCurve 1800-24G, Phenom 9750, Dual Opteron 265, AMD64 3000+,
Dual P3-800, eMac G4 1.0GHz, Sun Blade 150, Alpha PWS 433 and more ...
Reply With Quote
  #3   (View Single Post)  
Old 7th February 2010
Sunnz's Avatar
Sunnz Sunnz is offline
Real Name: I don't have real time
Just a computer user...
 
Join Date: May 2008
Location: See Google Maps
Posts: 101
Default

DOH!

I was actually doing env FLAVORS='no_bz2 no_curl no_dba no_dbase no_gmp no_imap no_ldap no_mcrypt no_mhash no_mysql no_ncurses no_odbc no_pgsql no_snmp no_soap no_sybase_ct no_xmlrpc
no_xsl' make

Because, well, I did a make show=FLAVORS before that, which shows all available FLAVORS. So for actually building the port you want FLAVOR without the S instead.

Thanks for the help it has build the packages I want now!!
__________________
She sells C shells by the seashore.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:03 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick