makerpm php5.0.2, cannot stat `modules/*.so'

[email protected] (John Stile)
Newsgroups php.install
Message-ID <[email protected]>
I tried to run the php-5.0.2 'sh makerpm' on Suse9.2, and ran into the
following problems.  

I had to make the following changes to get past initial errors:
1. Install rpms apache2, apache2-devel, bison, flex, mysql, mysql-devel
2. changed makerpm:

    Change: rpm -ba
    To:     rpmbuild -ba

    Change: ./buildconf
    To:     ./buildconf --force

    Change: --with-apxs=/usr/sbin/apxs \
    To:     --with-apxs2=/usr/sbin/apxs2 \

Now I'm stuck on a new 'sh makerpm' error I don't understand.  
What does this mean?  Am I missing another package?

<Begin snip>
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

+ mv php.keepme sapi/cgi/php
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.50137
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd php-5.0.2
+ rm -rf /var/tmp/php5-5.0.2-buildroot
+ mkdir -p /var/tmp/php5-5.0.2-buildroot/usr/lib/apache
+ install -m 0755 .libs/libphp5.so /var/tmp/php5-5.0.2-buildroot/usr/lib/apache
+ mkdir -p /var/tmp/php5-5.0.2-buildroot/usr/bin
+ install -m 0755 sapi/cli/php /var/tmp/php5-5.0.2-buildroot/usr/bin
+ install -m 0755 sapi/cgi/php /var/tmp/php5-5.0.2-buildroot/usr/bin/php_cgi
+ mkdir -p /var/tmp/php5-5.0.2-buildroot/usr/share/man/man1
+ install -m 0755 sapi/cli/php.1 /var/tmp/php5-5.0.2-buildroot/usr/share/man/man1
+ mkdir -p /var/tmp/php5-5.0.2-buildroot/etc
+ install -m 0755 php.ini-recommended /var/tmp/php5-5.0.2-buildroot/etc/php.ini
+ mkdir -p /var/tmp/php5-5.0.2-buildroot/usr/lib/php/extensions
+ install -m 0755 'modules/*.so' /var/tmp/php5-5.0.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.50137 (%install)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.50137 (%install)
<End snip>

The modules directory does exist but it is empty.
    /usr/src/packages/BUILD/php-5.0.2/modules/

Thank you.
-- 
._____________________.
|   \0/    John Stile |
| UniX Administration |
|   / \  510-305-3800 |     
|     [email protected] |
.---------------------.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.