Subject: mk.conf PKG_OPTIONS. problems
To: None <tech-pkg@NetBSD.org>
From: Tomas D <u0giene@yahoo.com>
List: tech-pkg
Date: 05/26/2005 05:03:32
Hi,
I've recently upgraded to netbsd 2.0.2 and started to install some software I hadn't been using
much before (such as apache php and mysql) as you might know some extra configure args needs to be
specified in order to make all work together nice so I've been reading tru
http://www.netbsd.org/Documentation/pkgsrc/options.html and understood that configure args
specified from /etc/mk.conf must follow after 'PKG_OPTIONS.<pkg_name>=' something like mine:
PKG_OPTIONS.ap-php="--with-apxs2=/usr/pkg/sbin/apxs \
--with-mysql \
--enable-force-cgi-redirect \
--disable-cgi \
--with-zlib \
--with-gettext \
--with-gdbm"
this however is not what configure is being run with, would anyone please tell me if you had any
luck specifying configure args on mk.conk? if so please write how cause it's been like 3rd package
I'm trying to customize and no luck what so ever, I do however get message during compilation such
as:
bash-3.00# cd /usr/pkgsrc/www/ap-php/
bash-3.00# make
===> Checking for vulnerabilities in ap-php-4.3.11
bash-3.00# make clean && make
===> Cleaning for ap-php-4.3.11
===> Checking for vulnerabilities in ap-php-4.3.11
=> Checksum SHA1 OK for php-4.3.11.tar.bz2.
=> Checksum RMD160 OK for php-4.3.11.tar.bz2.
work -> /usr/obj/pkg/www/ap-php/work
===> Extracting for ap-php-4.3.11
==========================================================================
The following variables will affect the build process of this package,
ap-php-4.3.11. Their current value is shown below:
* PKG_APACHE = apache13
You may want to abort the process now with CTRL-C and change their value
before continuing. Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
===> Required installed package php-4.3.*: php-4.3.11 found
===> Required installed package php>=4.3.11: php-4.3.11 found
===> Required installed package apache{,6}-1.3.*: apache-1.3.33nb3 found
===> Required installed package libtool-base>=1.5.10nb6: libtool-base-1.5.10nb10 found
===> Required installed package {perl>=5.0,perl-thread>=5.0}: perl-5.8.6nb3 found
==========================================================================
The supported build options for this package are:
ssl
You can select which build options to use by setting the following
variables. Their current value is shown:
PKG_OPTIONS.ap-php = --with-apxs2=/usr/pkg/sbin/apxs --with-mysql
--enable-force-cgi-redirect --disable-cgi --with-zlib --with-gettext --with-gdbm
==========================================================================
but when I check my php configuration using
#php -r 'phpinfo();'
phpinfo()
PHP Version => 4.3.11
System => NetBSD wally 2.0.2 NetBSD 2.0.2 (GENERIC) #0: Tue Mar 22 16:19:08 UTC 2005
jmc@faith.netbsd.org:/home/builds/ab/net
bsd-2-0-2-RELEASE/macppc/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/macppc/compile/GENERIC
macppc
Build Date => Mar 22 2005 23:49:11
Configure Command => './configure' '--without-mysql' '--without-iconv' '--disable-posix'
'--with-config-file-path=/usr/pkg/etc' '--with-exec-dir=/usr/pkg/libexec/php4'
'--with-regex=system' '--enable-discard-path' '--enable-force-cgi-redirect'
'--enable-memory-limit' '--enable-track-vars' '--host=powerpc--netbsd' '--prefix=/usr/pkg'
I clearly something different.
any ideas on that?
thanks for your help.
tomas
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/