Обсуждение: Building binary...

Поиск
Список
Период
Сортировка

Building binary...

От
"Gaetano Mendola"
Дата:
I'm trying to build the binaries of  Postgresql 7.2 for Redhat 7.1

This was the resoult:

root@XXX>  rpm --rebuild postgresql-7.2-1PGDG.src.rpm
Installing postgresql-7.2-1PGDG.src.rpm
error: failed build dependencies:
 gettext >= 0.10.36 is needed by postgresql-7.2-1PGDG


I tried to find a new binary for gettext without result, so I donwloaded
the source, I installed the version 0.10.40:

root@XXX>  gettest --version
gettext (GNU gettext) 0.10.40
Copyright (C) 1995-1997, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Ulrich Drepper.

but I obatin the same error:

root@XXX>  rpm --rebuild postgresql-7.2-1PGDG.src.rpm
Installing postgresql-7.2-1PGDG.src.rpm
error: failed build dependencies:
 gettext >= 0.10.36 is needed by postgresql-7.2-1PGDG



Ciao
Gaetano

--
#exclude <windows>
#include <CSRSS>
printf("\t\t\b\b\b\b\b\b");.
printf("\t\t\b\b\b\b\b\b");


Re: Building binary...

От
Morten Sickel
Дата:

From: Gaetano Mendola [mailto:mendola@bigfoot.com]
>
> I'm trying to build the binaries of  Postgresql 7.2 for Redhat 7.1
>
> This was the resoult:
>
(Failed dependencies)
> I tried to find a new binary for gettext without result, so I
> donwloaded
> the source, I installed the version 0.10.40:
>
> root@XXX>  gettest --version
> gettext (GNU gettext) 0.10.40
>
> but I obatin the same error:
>
> root@XXX>  rpm --rebuild postgresql-7.2-1PGDG.src.rpm
> Installing postgresql-7.2-1PGDG.src.rpm
> error: failed build dependencies:
>  gettext >= 0.10.36 is needed by postgresql-7.2-1PGDG

I would guess that it is looking up in the RPM database for gettext, and as
it is not installed from an RPM, it is not registered there. Have you tried
building it from the .tar.gz file? (That kind of problems caused me to quit
using RPMs allthogether, and rather install from source, everything is just
a ./configure && make && make install away...)


regards

Morten

Re: Building binary...

От
"Gaetano Mendola"
Дата:
"Morten Sickel" <Morten.Sickel@nrpa.no> wrote:
> I would guess that it is looking up in the RPM database for gettext, and
as
> it is not installed from an RPM, it is not registered there. Have you
tried
> building it from the .tar.gz file? (That kind of problems caused me to
quit
> using RPMs allthogether, and rather install from source, everything is
just
> a ./configure && make && make install away...)

I know,
but I like know wich paremeter use with configure.
I don't like do ./configure without any flags specified (
I had a weekend of headache because when I compiled
 the GCC 3.0 the multithread option wasn't a default set
and you can imagine .... ).






Re: Building binary...

От
Peter Eisentraut
Дата:
Gaetano Mendola writes:

> root@XXX>  rpm --rebuild postgresql-7.2-1PGDG.src.rpm
> Installing postgresql-7.2-1PGDG.src.rpm
> error: failed build dependencies:
>  gettext >= 0.10.36 is needed by postgresql-7.2-1PGDG

Try

rpm --rebuild --nodeps postgresql-7.2-1PGDG.src.rpm

--
Peter Eisentraut   peter_e@gmx.net


Re: Building binary...

От
Lamar Owen
Дата:
On Thursday 21 February 2002 06:22 pm, Peter Eisentraut wrote:
> Gaetano Mendola writes:
> > root@XXX>  rpm --rebuild postgresql-7.2-1PGDG.src.rpm
> > Installing postgresql-7.2-1PGDG.src.rpm
> > error: failed build dependencies:
> >  gettext >= 0.10.36 is needed by postgresql-7.2-1PGDG

> rpm --rebuild --nodeps postgresql-7.2-1PGDG.src.rpm

Better is to install with RPM, as dependencies do actually have a use.

Use www.rpmfind.net to find the source RPM for the updated gettext RPM and
rebuild it first, then the main rebuild will go smoother.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

Re: Building binary...

От
"Gaetano Mendola"
Дата:
From: "Lamar Owen" <lamar.owen@wgcr.org>
> Better is to install with RPM, as dependencies do actually have a use.
>
> Use www.rpmfind.net to find the source RPM for the updated gettext RPM and
> rebuild it first, then the main rebuild will go smoother.

Doesn't exist the rpm for Redhat 7.1 for a version >= 0.10.36.

Ciao
Gaetano

--
#exclude <windows>
#include <CSRSS>
printf("\t\t\b\b\b\b\b\b");.
printf("\t\t\b\b\b\b\b\b");