List Info

Thread: issue about installing rpm




issue about installing rpm
user name
2006-11-15 03:32:42
i download a rpm-4.4.6.tar.gz packages,
but i don't know the correct installation method
could tell me.
i read the INSTALL file,
i compile it like this
#./autogen.sh --noconfigure
errors shown below:
...........
--- popt
Putting files in AC_CONFIG_AUX_DIR, `..'.
/usr/share/aclocal/libgcrypt.m4:23: warning: underquoted
definition of
AM_PATH_LIBGCRYPT
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Exte
nding-
aclocal
/usr/share/aclocal/ao.m4:9: warning: underquoted definition
of
XIPH_PATH_AO
aclocal:configure.ac:117: warning: macro `AM_GNU_GETTEXT'
not found in
library
configure.ac:4: not enough arguments for AC_CONFIG_HEADERS
--- zlib
sh: ./autogen.sh: 没有那个文件或目录
--- file
sh: ./autogen.sh: 没有那个文件或目录
--- rpm
libtoolize: `/usr/share/aclocal/libtool.m4' is serial 47,
less than 48
in `aclocal.m4'
To remain compatible, you should update your `aclocal.m4' by
running
aclocal.
/usr/share/aclocal/libgcrypt.m4:23: warning: underquoted
definition of
AM_PATH_LIBGCRYPT
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Exte
nding-
aclocal
/usr/share/aclocal/ao.m4:9: warning: underquoted definition
of
XIPH_PATH_AO
aclocal:configure.ac:665: warning: macro `AM_GNU_GETTEXT'
not found in
library
configure.ac:665: error: possibly undefined macro:
AM_GNU_GETTEXT
      If this token and others are legitimate, please use
m4_pattern_allow.
      See the Autoconf documentation.
------------------------------------------------------------
---------------
what should i do .



_______________________________________________
Rpm-devel mailing list
Rpm-devellists.dulug.duke.edu
https://lists.dulug.duke.edu/mailman/listinfo/rpm-devel
issue about installing rpm
user name
2006-11-15 03:50:32
On Nov 14, 2006, at 10:32 PM, joesin wrote:

> i download a rpm-4.4.6.tar.gz packages,
> but i don't know the correct installation method
> could tell me.
> i read the INSTALL file,
> i compile it like this
> #./autogen.sh --noconfigure
> errors shown below:
> ...........
> --- popt
> Putting files in AC_CONFIG_AUX_DIR, `..'.
> /usr/share/aclocal/libgcrypt.m4:23: warning:
underquoted definition of
> AM_PATH_LIBGCRYPT
>   run info '(automake)Extending aclocal'
>   or see http://sources.redhat.com/automake/automake.html#Exte
nding-
> aclocal
> /usr/share/aclocal/ao.m4:9: warning: underquoted
definition of
> XIPH_PATH_AO

The previos errors are due to changes in automake, are
probably  
harmless.

> aclocal:configure.ac:117: warning: macro
`AM_GNU_GETTEXT' not found in
> library

This is the crucial error.

Do you have the gettext-devel package installed?

The gettext-devel package contains the definition for
AM_GNU_GETTEXT.


> configure.ac:4: not enough arguments for
AC_CONFIG_HEADERS

This warning message has been in rpm for awhile, harmless.

> --- zlib
> sh: ./autogen.sh: 没有那个文件或目录
> --- file
> sh: ./autogen.sh: 没有那个文件或目录
> --- rpm
> libtoolize: `/usr/share/aclocal/libtool.m4' is serial
47, less than 48
> in `aclocal.m4'

Upgrading to a later libtool should fix this problem.

> To remain compatible, you should update your
`aclocal.m4' by running
> aclocal.
> /usr/share/aclocal/libgcrypt.m4:23: warning:
underquoted definition of
> AM_PATH_LIBGCRYPT
>   run info '(automake)Extending aclocal'
>   or see http://sources.redhat.com/automake/automake.html#Exte
nding-
> aclocal
> /usr/share/aclocal/ao.m4:9: warning: underquoted
definition of
> XIPH_PATH_AO
> aclocal:configure.ac:665: warning: macro
`AM_GNU_GETTEXT' not found in
> library
> configure.ac:665: error: possibly undefined macro:
AM_GNU_GETTEXT
>       If this token and others are legitimate, please
use
> m4_pattern_allow.
>       See the Autoconf documentation.
>
------------------------------------------------------------
---------- 
> -----
> what should i do .
>

Its probably easier to download rpm-4.4.6.tar.gz, and type

     ./configure --prefix=/usr

adding whatever other configure options you want/need.

The build will probably fail, but it will be easier to
identify what
libraries you need to install from a build, rather than a
configure,  
failure.

hth

73 de Jeff


_______________________________________________
Rpm-devel mailing list
Rpm-devellists.dulug.duke.edu
https://lists.dulug.duke.edu/mailman/listinfo/rpm-devel
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )