Hello happy people,

I've been debugging a failure in a PHP application (Zabbix, 1.4.5): 
http://resources.brainsware.org/bugs/zabbixerror.png which, due to an gd error 
causes the entire front-end to be rendered in that single PNG file.

I've been blaming that on an error, which has (allegedly) been fixed in the 
latest PHP releases: http://www.php.net/ChangeLog-5.php#5.2.7  >>> "Fixed a 
crash inside gd with invalid fonts (Fixes CVE-2008-3658). (Pierre)"

So much for the introduction, now to the ugly stuff (Aside from the fact that 
there's binaries in CVS):
I've downloaded the make_php5 TAR, only to find it very incomplete. Here's the 
(almost) full list of files, that are missing, after running ./make_solaris.sh

/opt/coolstack/php5/bin/php-cgi
/opt/coolstack/php5/config_php.sh
/opt/coolstack/php5/include/php/ext/zip
/opt/coolstack/php5/include/php/ext/zip/lib
/opt/coolstack/php5/include/php/ext/zip/lib/lib
/opt/coolstack/php5/include/php/ext/zip/lib/zip.h
/opt/coolstack/php5/include/php/ext/zip/lib/zip_alias.h
/opt/coolstack/php5/include/php/ext/zip/lib/zipint.h
/opt/coolstack/php5/include/php/ext/zip/lib/zipint_alias.h
/opt/coolstack/php5/lib/php.ini
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/apc.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/bcmath.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/calendar.so

/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/ctype.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/dbase.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/dom.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/dtrace.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/exif.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/ftp.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/hash.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/json.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/mbstring.so

/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/memcache.so

/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/pcntl.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/posix.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/shmop.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/soap.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/sockets.so

/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so

/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/sysvmsg.so

/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/sysvsem.so

/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/sysvshm.so

/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/tcpwrap.so

/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/tokenizer.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/wddx.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/xdebug.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/xmlreader.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/xmlrpc.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/xmlwriter.so
/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/zip.so

I've excluded /opt/coolstack/php5/include/php/ext/pcre/pcrelib/ucpinternal.h -- 
because that was removed due to the PCRE upgrade in PHP, or so I assume. (also 
I haven't included the licenses here).

Now to my questions: How, *exactly* do you guys build the packages?
How do you guarantee the correct paths, the existence of all libraries?
How do you extract the files for the package, if you use "make install", 
instead of putting it in some DESTDIR?
How do include PEAR/PECL modules? (All of my machines that have a compiler, 
don't have access to the internet, and vice versa)

I think that's it for now.

So long, and thanks for all the <><

Igor


p.s.: The preview in this forum seems to be strangely broken.
-- 
This message posted from opensolaris.org

Reply via email to