ID: 33648 User updated by: ergin at ergin dot dyndns dot org Reported By: ergin at ergin dot dyndns dot org Status: Assigned Bug Type: Compile Failure Operating System: * -PHP Version: 5CVS, 4CVS (2005-07-12) +PHP Version: 4.4.0 Assigned To: andrei New Comment:
Did new compile tries with php4-STABLE-200507171643 The result is ----------------- RPM build errors: File not found: /var/tmp/php-root/usr/bin/phpextdist File not found: /var/tmp/php-root/usr/lib/php ----------------- Looks like devel package doesn't build correctly. Files doesn't get copied into php-root so I had to do a manual workaround by copying files manually "during compile process" and when I do as below RPMS gets build... # cp /usr/bin/phpextdist /var/tmp/php-root/usr/bin # mkdir /var/tmp/php-root/usr/lib/php # mkdir /var/tmp/php-root/usr/lib/php/build # cp /usr/lib/php/build /var/tmp/php-root/usr/lib/php/build Previous Comments: ------------------------------------------------------------------------ [2005-07-15 13:03:31] [EMAIL PROTECTED] This is not fixed yet. I added the necessary configure checks and now HAVE_REGEX_T_RE_MAGIC is defined if re_magic exists in regext_t struct. Andrei: Please check it out. ------------------------------------------------------------------------ [2005-07-14 22:25:38] [EMAIL PROTECTED] This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2005-07-12 15:41:55] [EMAIL PROTECTED] Assigned to Andrei, he broke it. As to the problem: remove --with-regex=system from your configure line and it will work fine. ------------------------------------------------------------------------ [2005-07-12 08:56:25] ergin at ergin dot dyndns dot org Here is my configure line... ----- START ----- %configure \ --prefix=%{_prefix} \ --with-config-file-path=%{_sysconfdir} \ --enable-force-cgi-redirect \ --disable-debug \ --enable-pic \ --disable-rpath \ --enable-inline-optimization \ --with-dom=shared \ --with-bz2 \ --with-db3 \ --with-exec-dir=%{_bindir} \ --with-freetype-dir=%{_prefix} \ --with-gd \ --with-gdbm \ --with-gettext \ --with-gmp \ --with-jpeg-dir=%{_prefix} \ --with-mm \ --with-openssl \ --with-png \ --with-regex=system \ --with-ttf \ --with-xml \ --with-expat-dir=%{_prefix} \ --with-zlib \ --with-layout=GNU \ --enable-bcmath \ --enable-debugger \ --enable-ftp \ --enable-magic-quotes \ --enable-safe-mode \ --enable-sockets \ --enable-sysvsem \ --enable-sysvshm \ --enable-discard-path \ --enable-mime-magic \ --enable-track-vars \ --enable-trans-sid \ --enable-yp \ --enable-wddx \ --without-oci8 \ --with-iconv --enable-mbstring --enable-mbregex \ --with-imap=shared,/usr/local/src/imap-2002e --with-imap-ssl --with-kerberos=/usr/kerberos \ --with-ldap=shared \ --with-mysql=shared,/usr \ --with-pgsql=shared \ --with-curl=shared \ --with-mcrypt=shared \ --with-snmp=%{_prefix} \ --with-snmp=shared \ --enable-ucd-snmp-hack \ --with-unixODBC=shared \ --with-xmlrpc=shared \ --with-mhash=shared \ --enable-memory-limit \ --enable-bcmath \ --enable-shmop \ --enable-versioning \ --enable-sockets --enable-pcntl --enable-sigchild \ $* -------- END ---------- ------------------------------------------------------------------------ [2005-07-11 22:38:14] ergin at ergin dot dyndns dot org Description: ------------ Got following message when I tried to build RPMS for new PHP version php-4.4.0 (OBS!!! couldn't choose it from drop menu - PHP version) ..... Actual result: -------------- /usr/src/redhat/BUILD/php-4.4.0/ext/standard/reg.c: In fucntion '_php_regcomp': /usr/src/redhat/BUILD/php-4.4.0/ext/standard/reg.c:53 structure has no member named 're_magic' /usr/src/redhat/BUILD/php-4.4.0/ext/standard/reg.c:72 structure has no member named 're_magic' make *** [ext/standard/reg.lo] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.66063 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33648&edit=1