[geeks] Compiling php5 with extras from pkgsrc
    Mark 
    md.benson at gmail.com
       
    Sun May 25 11:02:17 CDT 2008
    
    
  
I compiled php 5.2 from pkgsrc a couple of weeks back under NetBSD,  
and found it compiles with almost non of the options enabled. Some are  
modules that can be added in but a lot aren't, and I need to know how  
to compile them in when using pkgsrc.
My host has this as the config command:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--prefix=/usr/ 
local' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with- 
curl' '--with-dom' '--with-dom-xslt' '--with-dom-exslt' '--enable- 
exif' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with- 
png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--enable-mbstring' '-- 
enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt' '--with- 
mhash' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr/ 
local' '--with-openssl' '--enable-discard-path' '--with-pear' '-- 
enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype- 
dir=/usr/local' '--enable-gd-native-ttf' '--with-xmlrpc' '--with-zip'  
'--with-zlib' '--with-xsl=/usr'
in php info. The default for NetBSD isn't anywhere near that much  
stuff, and I'd like mine and the hosts to match as closely as possible.
Anyone know how to set the compile options via pkgsrc?
Thanks
-- 
Mark Benson
My Blog:
<http://markbenson.org/blog>
Visit my Homepage: <http://homepage.mac.com/markbenson>
"Never send a human to do a machine's job..."
    
    
More information about the geeks
mailing list