Hi, (particularly Zak) I sometimes create RPMs from the source distri (any 4.x version), so I can do an easy install on some RH machines. The 'makerpm' script in the root of the source tree does this quite nicely, except it hasn't been changed for a while and therefore has a few probs I needed to fix to make it work.
Diff posted below... one path was wrong, and --with-imap often doesn't work because of its Kerberos dependencies. Another thing is, the script isn't executable straight from the .tar.gz, so a chmod +x is required. Since other scripts in the source distri are executable, perhaps make that so for this one too? Regards, Arjen. *** makerpm~ Fri Jun 29 12:32:19 2001 --- makerpm Fri Mar 1 11:32:21 2002 *************** *** 63,69 **** --enable-safe-mode \ --with-exec-dir=/usr/bin \ --with-mysql=/usr \ - --with-imap=/usr \ --with-pdflib=/usr \ --with-zlib=/usr \ --enable-xml \ --- 63,68 ---- *************** *** 81,87 **** --enable-safe-mode \ --with-exec-dir=/usr/bin \ --with-mysql=/usr \ - --with-imap=/usr \ --with-pdflib=/usr \ --with-zlib=/usr \ --enable-xml \ --- 80,85 ---- *************** *** 95,101 **** %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/lib/apache ! install -m 755 libphp4.so $RPM_BUILD_ROOT/usr/lib/apache mkdir -p $RPM_BUILD_ROOT/usr/bin install -m 755 php $RPM_BUILD_ROOT/usr/bin --- 93,99 ---- %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/lib/apache ! install -m 755 .libs/libphp4.so $RPM_BUILD_ROOT/usr/lib/apache mkdir -p $RPM_BUILD_ROOT/usr/bin install -m 755 php $RPM_BUILD_ROOT/usr/bin -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php