Date: Sat, 10 Sep 2005 12:49:46 -0700 From: Vizion <vizion@vizion.occoxmail.com> To: ale@FreeBSD.org, freebsd-questions@freebsd.org, php-general@lists.php.net, Norberto Meijome <freebsd@meijome.net> Subject: PHP on FreeBSD - Compiler Bugs and Option selection Message-ID: <200509101249.47204.vizion@vizion.occoxmail.com>
next in thread | raw e-mail | index | archive | help
Hi ale I just wanted to check you had received OK the two compiler errors that I=20 reported for /usr/ports/lang/php5-extensions. The first error was apparently caused by make expecting libmagic in an=20 incorrect path for FreeBSD 5.3. Once a copy was placed in the correct path= =20 compilation resumed. The second error seems also to be caused by an inability to find requisite= =20 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 helpfu= l=20 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 b= e=20 in an editable file for sysadmins to define a repeatable unattended build=20 from all available build options. A closer integration of the subsidiary ph= p5=20 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 t= o=20 make the changes but would be interested to know what others think. Norberto Meijome <freebsd@meijome.net> made a very interesting suggestion t= hat=20 he uses on his servers to achieve the above goal. He=20 uses /usr/local/etc/pkgtools.conf for that purpose but my preference would = be=20 to have a method that is particular to php and does not lead to an=20 overloading of /usr/local/etc/pkgtools.conf. I have copied Norbeto's example below:=20 ****************** Quote******************************* =2Dif you want to avoid having to choose by hand what you really =2Dwant( or have it preconfigured so all you have to do is press OK, then =2Duse something like /usr/local/etc/pkgtools.conf which will be read by =2Dportinstall (sysutils/port-maintenance-tools/) =2Dmy relevant sections for my servers are: =2D =2D--- =2D =A0 =A0 'php4-*' =3D- [ =2D =A0 =A0 =A0 =A0 'WITH_APACHE2=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_DEBUG=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_BCMATH=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_BZ2=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_CALENDAR=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_CRACK=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_CTYPE=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_CURL=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_DBA=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_DBASE=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_DBX=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_DIO=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_DOMXML=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_EXIF=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_FILEINFO=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_FILEPRO=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_FRIBIDI=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_FTP=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_GD=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_GETTEXT=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_GMP=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_ICONV=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_IMAGICK=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_IMAP=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_INTERBASE=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_LDAP=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_MBSTRING=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_MCAL=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_MCRYPT=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_MCVE=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_MHASH=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_MING=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_MNOGOSEARCH=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_MSSQL=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_MYSQL=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_NCURSES=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_ODBC=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_OPENSSL=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_ORACLE=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_OVERLOAD=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_PANDA=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_PCNTL=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_PCRE=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_PDF=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_PGSQL=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_POSIX=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_PSPELL=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_READLINE=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_RECODE=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_SESSION=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_SHMOP=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_SNMP=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_SOCKETS=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_SYBASE_CT=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_SYSVMSG=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_SYSVSEM=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_SYSVSHM=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_TOKENIZER=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_WDDX=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_XML=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_XMLRPC=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_XSLT=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_YAZ=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_YP=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_ZIP=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_ZLIB=3Dtrue', =2D =A0 =A0 =A0 =A0 ], =2D =A0 =A0 'php4-dba-*' =3D- [ =2D =A0 =A0 =A0 =A0 'WITH_CDB=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_DB4=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_GDBM=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_INIFILE=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_FLATFILE=3Dtrue', =2D =A0 =A0 =A0 =A0 ], =2D =A0 =A0 'php4-gd-*' =3D- [ =2D =A0 =A0 =A0 =A0 'WITH_T1LIB=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_TRUETYPE=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITHOUT_JIS=3Dtrue', =2D =A0 =A0 =A0 =A0 'WITH_LZW=3Dtrue', =2D =A0 =A0 =A0 =A0 ], =2D =A0 =A0 'php4-mbstring-*' =3D- [ =2D =A0 =A0 =A0 =A0 'WITH_REGEX=3Dtrue', =2D =A0 =A0 =A0 =A0 ], *************End Quote*************************** I also wonder why the Makefile, by default, uses the --disable-all option i= n=20 the Makefile with no option to remove it.=20 I would be interested in what others have to say and would like to place on= =20 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509101249.47204.vizion>