Jak zbudować?

Artur Frysiak wiget w pld.org.pl
Pon, 9 Lip 2001, 14:56:49 CEST


On Mon, Jul 09, 2001 at 02:49:14PM +0200, hocus wrote:
> Witam!
> 
> Mam dwie instalacje po upgradzie pakietów z FTP (686, 586) i nie mogę
> zbudować niczego z srpm'ów.
> Np. przy próbie kompilacji php:
> 
> # rpm -bb php.spec
> [...]
> buildconf: checking installation...
> buildconf: autoconf version 2.50 (ok)
> buildconf: automake version 1.4 (ok)
> buildconf: libtool version 1.4 (ok)
> rebuilding Makefile templates
> rebuilding configure
> ./aclocal.m4:794: error: m4_defn: undefined: _m4_divert_diversion
> ./aclocal.m4:347: PHP_SUBST is expanded from...
> ./aclocal.m4:794: the top level
> rebuilding main/php_config.h.in
> autoheader: error: shell error while sourcing /tmp/ahyPhis3/traces.sh
> + libtoolize --copy --force
> You should update your `aclocal.m4' by running aclocal.
> + aclocal
> + autoconf
> ./aclocal.m4:794: error: m4_defn: undefined: _m4_divert_diversion
> ./aclocal.m4:347: PHP_SUBST is expanded from...
> ./aclocal.m4:794: the top level
> error: Bad exit status from /var/tmp/rpm-tmp.11565 (%build)

Masz za nowe autoconf lub za stare php.spec.
Nowa wersja php jest już prawie gotowa i możesz próbować budować z CVSa
lub z tego co wpada do ftp://ftp.pld.org.pl/test
 
> albo
> # rpm -bb apache.spec
> error: Unable to open /usr/lib/rpm/macros.perl: No such file or directory
> error: Name field must be present in package: (main package)
> error: Version field must be present in package: (main package)
> error: Release field must be present in package: (main package)
> error: Summary field must be present in package: (main package)
> error: Group field must be present in package: (main package)
> error: License field must be present in package: (main package)
> 
> Co można z tym zrobić? Wcześniej nie miałem żadnych problemów...

Zainstaluj rpm-perlprov.

Pozdrawiam
-- 
Artur Frysiak
http://www.pld.org.pl/



Więcej informacji o liście dyskusyjnej pld-devel-pl