Construir RPM desde fuente
| From: | Fernando Herrero Peletero | Date: | Thu, 02 Oct 2003 01:00:08 +0000 |
| Subject: | Construir RPM desde fuente | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-41169@lists.php.net to get a copy of this message | ||
¿Alguien ha probado a construir un RPM en RedHat partiendo del tar.gz del
php?
Si alguien lo ha probado con más o menos éxito, por favor, comunique su
experiencia de forma que se pueda seguir...
Basicamente descomprimo los fuentes y ejecuto makerpm... luego...
[root@serverlinux php-4.3.3]# rpmbuild -ba
/usr/src/redhat/SPECS/php-4.3.3.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.35868
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ cd /usr/src/redhat/BUILD
+ rm -rf php-4.3.3
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/php-4.3.3.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd php-4.3.3
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ chown -R root.root .
+ ./buildconf
You should not run buildconf in a release package.
use buildconf --force to override this check.
error: Bad exit status from /var/tmp/rpm-tmp.35868 (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.35868 (%prep)
Se trata de un RedHat 8 (creo, ahora no recuerdo bien ;-)
Saludos