From owner-freebsd-questions@FreeBSD.ORG Sat Sep 10 19:58:15 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FA1816A41F; Sat, 10 Sep 2005 19:58:15 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from lakecmmtao06.coxmail.com (lakecmmtao06.coxmail.com [68.99.120.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0594F43D48; Sat, 10 Sep 2005 19:58:14 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from dns1 ([64.58.171.82]) by lakecmmtao06.coxmail.com (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20050910195813.IHAG24491.lakecmmtao06.coxmail.com@dns1>; Sat, 10 Sep 2005 15:58:13 -0400 From: Vizion To: freebsd-questions@freebsd.org Date: Sat, 10 Sep 2005 12:53:53 -0700 User-Agent: KMail/1.8 References: <200509101249.47204.vizion@vizion.occoxmail.com> In-Reply-To: <200509101249.47204.vizion@vizion.occoxmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200509101253.54752.vizion@vizion.occoxmail.com> Cc: php-general@lists.php.net, Norberto Meijome , ale@FreeBSD.org, Kris Kennaway Subject: Re: PHP on FreeBSD - Compiler Bugs and Option selection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2005 19:58:15 -0000 On Saturday 10 September 2005 12:49, the author Vizion contributed to the= =20 dialogue on- PHP on FreeBSD - Compiler Bugs and Option selection:=20 >Hi ale > >I just wanted to check you had received OK the two compiler errors that I >reported for /usr/ports/lang/php5-extensions. > >The first error was apparently caused by make expecting libmagic in an >incorrect path for FreeBSD 5.3. Once a copy was placed in the correct path >compilation resumed. > I meant to say that full credit should be given to=20 Kris Kennaway who made the suggestion to=20 copy /usr/src/contrib/file/magic.h to /usr/include/magic.h=20 and see if it works. Which it did. >The second error seems also to be caused by an inability to find requisite >files for wddx. >ext/xml/expat_compat.h >ext/xml/php > >As a result of compiling php5 I began to wonder whether it would be helpf= ul >to users if : >drwxr-xr-x 3 root wheel 512 May 2 07:06 php5-cli >drwxr-xr-x 3 root wheel 512 Sep 9 18:00 php5-extensions >drwxr-xr-x 3 root wheel 512 May 28 10:06 php_doc >were more integrated as choices within make for php5. > >I would personally find it helpful if all the build options for php could = be >in an editable file for sysadmins to define a repeatable unattended build >from all available build options. A closer integration of the subsidiary > php5 ports into the php5 make would facilitate this process. > >I do not not how welcome these proposals might be or how easy it would be = to >make the changes but would be interested to know what others think. > >Norberto Meijome made a very interesting suggestion > that he uses on his servers to achieve the above goal. He >uses /usr/local/etc/pkgtools.conf for that purpose but my preference would > be to have a method that is particular to php and does not lead to an >overloading of /usr/local/etc/pkgtools.conf. > >I have copied Norbeto's example below: >****************** Quote******************************* >-if you want to avoid having to choose by hand what you really >-want( or have it preconfigured so all you have to do is press OK, then >-use something like /usr/local/etc/pkgtools.conf which will be read by >-portinstall (sysutils/port-maintenance-tools/) >-my relevant sections for my servers are: >- >---- >- =A0 =A0 'php4-*' =3D- [ >- =A0 =A0 =A0 =A0 'WITH_APACHE2=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_DEBUG=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_BCMATH=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_BZ2=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_CALENDAR=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_CRACK=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_CTYPE=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_CURL=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_DBA=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_DBASE=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_DBX=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_DIO=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_DOMXML=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_EXIF=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_FILEINFO=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_FILEPRO=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_FRIBIDI=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_FTP=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_GD=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_GETTEXT=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_GMP=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_ICONV=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_IMAGICK=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_IMAP=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_INTERBASE=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_LDAP=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_MBSTRING=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_MCAL=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_MCRYPT=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_MCVE=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_MHASH=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_MING=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_MNOGOSEARCH=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_MSSQL=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_MYSQL=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_NCURSES=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_ODBC=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_OPENSSL=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_ORACLE=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_OVERLOAD=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_PANDA=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_PCNTL=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_PCRE=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_PDF=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_PGSQL=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_POSIX=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_PSPELL=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_READLINE=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_RECODE=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_SESSION=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_SHMOP=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_SNMP=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_SOCKETS=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_SYBASE_CT=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_SYSVMSG=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_SYSVSEM=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_SYSVSHM=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_TOKENIZER=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_WDDX=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_XML=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_XMLRPC=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_XSLT=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_YAZ=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_YP=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_ZIP=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_ZLIB=3Dtrue', >- =A0 =A0 =A0 =A0 ], >- =A0 =A0 'php4-dba-*' =3D- [ >- =A0 =A0 =A0 =A0 'WITH_CDB=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_DB4=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_GDBM=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_INIFILE=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_FLATFILE=3Dtrue', >- =A0 =A0 =A0 =A0 ], >- =A0 =A0 'php4-gd-*' =3D- [ >- =A0 =A0 =A0 =A0 'WITH_T1LIB=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_TRUETYPE=3Dtrue', >- =A0 =A0 =A0 =A0 'WITHOUT_JIS=3Dtrue', >- =A0 =A0 =A0 =A0 'WITH_LZW=3Dtrue', >- =A0 =A0 =A0 =A0 ], >- =A0 =A0 'php4-mbstring-*' =3D- [ >- =A0 =A0 =A0 =A0 'WITH_REGEX=3Dtrue', >- =A0 =A0 =A0 =A0 ], >*************End Quote*************************** > >I also wonder why the Makefile, by default, uses the --disable-all option = in >the Makefile with no option to remove it. > >I would be interested in what others have to say and would like to place on >record my appreciation for all your work in maintaining the ports. > >david =2D-=20 40 yrs navigating and computing in blue waters. English Owner & Captain of British Registered 60' bluewater Ketch S/V Tauru= s. Currently in San Diego, CA. Sailing bound for Europe via Panama Canal afte= r=20 completing engineroom refit.