Trouble Building RPM's on SuSE 10.0
| From: | Peter A. Barry | Date: | Thu, 21 Jun 2007 16:24:56 +0000 |
| Subject: | Trouble Building RPM's on SuSE 10.0 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-18090@lists.php.net to get a copy of this message | ||
Hello,
I need to create the php5-5.2.2 RPM's for SuSE 10.0 to install on
several production systems. However, when I run the makerpm script, it
appears that the build completes, but the creation of the RPM's fails
with the following output:
Build complete.
Don't forget to run 'make test'.
+ mv php.keepme sapi/cgi/php
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.99117
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd php-5.2.2
+ rm -rf /var/tmp/php5-5.2.2-buildroot
+ mkdir -p /var/tmp/php5-5.2.2-buildroot/usr/lib/apache
+ install -m 0755 .libs/libphp5.so
/var/tmp/php5-5.2.2-buildroot/usr/lib/apache
+ mkdir -p /var/tmp/php5-5.2.2-buildroot/usr/bin
+ install -m 0755 sapi/cli/php /var/tmp/php5-5.2.2-buildroot/usr/bin
+ install -m 0755 sapi/cgi/php
/var/tmp/php5-5.2.2-buildroot/usr/bin/php_cgi
+ mkdir -p /var/tmp/php5-5.2.2-buildroot/usr/share/man/man1
+ install -m 0755 sapi/cli/php.1
/var/tmp/php5-5.2.2-buildroot/usr/share/man/man1
+ mkdir -p /var/tmp/php5-5.2.2-buildroot/etc
+ install -m 0755 php.ini-recommended
/var/tmp/php5-5.2.2-buildroot/etc/php.ini
+ mkdir -p /var/tmp/php5-5.2.2-buildroot/usr/lib/php/extensions
+ install -m 0755 'modules/*.so'
/var/tmp/php5-5.2.2-buildroot/usr/lib/php/extensions
install: cannot stat `modules/*.so': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.99117 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.99117 (%install)
After doing some checking, there are no .so files in the modules
directory. Has anyone experienced this issue when creating the RPM's
before or does anyone have any ideas about what I'm missing?
Thanks,
Pete