pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: RPMS
6+ messages / 3 participants
[nested] [flat]

* RPMS
@ 2002-04-25 10:13 Gaetano Mendola <mendola@bigfoot.com>
  2002-04-25 07:13 ` Re: RPMS Lamar Owen <lamar.owen@wgcr.org>
  2002-04-28 16:09 ` Re: RPMS Jean-Michel POURE <jm.poure@freesurf.fr>
  0 siblings, 2 replies; 6+ messages in thread

From: Gaetano Mendola @ 2002-04-25 10:13 UTC (permalink / raw)
  To: pgsql-admin

Hi to all,
I downoladed the file postgresql-7.2.1-2PGDG.src.rpm
I did  rpm -i postgresql-7.2.1-2PGDG.src.rpm
and the files was installed on

/usr/src/redhat/SOURCES
/usr/src/redhat/SPECS

at this point I want create the RPM distribution,
I did:  

$ cd /usr/src/redhat/SPECS
$ rpm -bl  postgresql.spec

and I have got a lot of errors.
I imagine that I should compile the stuff that are present in
the directory SOURCES, I don't have problem to do this
but I'm wondering about if somewhere exist an HOWTO.

If someone have some suggestion.....

Than you in advance.


Ciao
Gaetano

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





^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: RPMS
  2002-04-25 10:13 RPMS Gaetano Mendola <mendola@bigfoot.com>
@ 2002-04-25 07:13 ` Lamar Owen <lamar.owen@wgcr.org>
  2002-04-25 13:29   ` Re: RPMS Gaetano Mendola <mendola@bigfoot.com>
  1 sibling, 1 reply; 6+ messages in thread

From: Lamar Owen @ 2002-04-25 07:13 UTC (permalink / raw)
  To: Gaetano Mendola <mendola@bigfoot.com>; pgsql-admin

On Thursday 25 April 2002 10:13 am, Gaetano Mendola wrote:
> Hi to all,
> I downoladed the file postgresql-7.2.1-2PGDG.src.rpm
> I did  rpm -i postgresql-7.2.1-2PGDG.src.rpm
> and the files was installed on

> /usr/src/redhat/SOURCES
> /usr/src/redhat/SPECS

> at this point I want create the RPM distribution,

See /usr/src/redhat/SOURCES/README.rpm-dist for instructions.

rpm --rebuild postgresql-7.2.1-2PGDG.src.rpm  should work for most cases, if 
you have all the packages installed that are required to build it.

What are you rebuilding on?  (What version)
-- 
Lamar Owen
WGCR Internet Radio
1 Peter 4:11



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: RPMS
  2002-04-25 10:13 RPMS Gaetano Mendola <mendola@bigfoot.com>
  2002-04-25 07:13 ` Re: RPMS Lamar Owen <lamar.owen@wgcr.org>
@ 2002-04-25 13:29   ` Gaetano Mendola <mendola@bigfoot.com>
  2002-04-25 22:27     ` Re: RPMS Lamar Owen <lamar.owen@wgcr.org>
  0 siblings, 1 reply; 6+ messages in thread

From: Gaetano Mendola @ 2002-04-25 13:29 UTC (permalink / raw)
  To: Lamar Owen <lamar.owen@wgcr.org>; pgsql-admin

I'm trying to have RPM of Postgres7.2.1 for Linux 7.1

----- Original Message -----
From: "Lamar Owen" <lamar.owen@wgcr.org>
To: "Gaetano Mendola" <mendola@bigfoot.com>; <pgsql-admin@postgresql.org>
Sent: Thursday, April 25, 2002 9:13 AM
Subject: Re: [ADMIN] RPMS


> On Thursday 25 April 2002 10:13 am, Gaetano Mendola wrote:
> > Hi to all,
> > I downoladed the file postgresql-7.2.1-2PGDG.src.rpm
> > I did  rpm -i postgresql-7.2.1-2PGDG.src.rpm
> > and the files was installed on
>
> > /usr/src/redhat/SOURCES
> > /usr/src/redhat/SPECS
>
> > at this point I want create the RPM distribution,
>
> See /usr/src/redhat/SOURCES/README.rpm-dist for instructions.
>
> rpm --rebuild postgresql-7.2.1-2PGDG.src.rpm  should work for most cases,
if
> you have all the packages installed that are required to build it.
>
> What are you rebuilding on?  (What version)
> --
> Lamar Owen
> WGCR Internet Radio
> 1 Peter 4:11
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: RPMS
  2002-04-25 10:13 RPMS Gaetano Mendola <mendola@bigfoot.com>
  2002-04-25 07:13 ` Re: RPMS Lamar Owen <lamar.owen@wgcr.org>
  2002-04-25 13:29   ` Re: RPMS Gaetano Mendola <mendola@bigfoot.com>
@ 2002-04-25 22:27     ` Lamar Owen <lamar.owen@wgcr.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Lamar Owen @ 2002-04-25 22:27 UTC (permalink / raw)
  To: Gaetano Mendola <mendola@bigfoot.com>; pgsql-admin

On Thursday 25 April 2002 01:29 pm, Gaetano Mendola wrote:
> I'm trying to have RPM of Postgres7.2.1 for Linux 7.1

Unfortunately I don't have a 7.1 machine to build release RPMs on.  
README.rpm-dist contains hopefully enough information to build it.  Let me 
know if you get it to build.  If not, I can try to help you, given a log of 
the build (rpm -ba postgresql.spec 2&>1 >logfile.log).
-- 
Lamar Owen
WGCR Internet Radio
1 Peter 4:11



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: RPMS
  2002-04-25 10:13 RPMS Gaetano Mendola <mendola@bigfoot.com>
@ 2002-04-28 16:09 ` Jean-Michel POURE <jm.poure@freesurf.fr>
  2002-04-29 11:05   ` Re: RPMS Gaetano Mendola <mendola@bigfoot.com>
  1 sibling, 1 reply; 6+ messages in thread

From: Jean-Michel POURE @ 2002-04-28 16:09 UTC (permalink / raw)
  To: Gaetano Mendola <mendola@bigfoot.com>; pgsql-admin

Le Jeudi 25 Avril 2002 12:13, Gaetano Mendola a écrit :
> $ rpm -bl  postgresql.spec

Try rpm -ba postgresql.spec which builds both source and binary RPMs. 
You may need additional libraries if compilation does not work. Building an 
RPM from spec is quite usefull when you want to choose specific compilation 
options.

Otherwise, if you don't need to modify compilation options, just go for :
rpm --rebuild --target i586 postgresql.src.rpm which will rebuild a binary 
package.

So why is it i586 and not i686? The answer is last time I compiled PostgreSQL 
7.0 for i686, I got some errors; even with all libraries installed. From 
then, I always used the --target i586 flag.

Cheers,
Jean-Michel POURE



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: RPMS
  2002-04-25 10:13 RPMS Gaetano Mendola <mendola@bigfoot.com>
  2002-04-28 16:09 ` Re: RPMS Jean-Michel POURE <jm.poure@freesurf.fr>
@ 2002-04-29 11:05   ` Gaetano Mendola <mendola@bigfoot.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Gaetano Mendola @ 2002-04-29 11:05 UTC (permalink / raw)
  To: jm.poure@freesurf.fr; pgsql-admin


"Jean-Michel POURE" <jm.poure@freesurf.fr> wrote:
> Le Jeudi 25 Avril 2002 12:13, Gaetano Mendola a écrit :
> > $ rpm -bl  postgresql.spec
>
> So why is it i586 and not i686? The answer is last time I compiled
PostgreSQL
> 7.0 for i686, I got some errors; even with all libraries installed. From
> then, I always used the --target i586 flag.
>
> Cheers,
> Jean-Michel POURE

Is so different specify i586 instead of leave the default i386 ?

Ciao
Gaetano






^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2002-04-29 11:05 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-04-25 10:13 RPMS Gaetano Mendola <mendola@bigfoot.com>
2002-04-25 07:13 ` Lamar Owen <lamar.owen@wgcr.org>
2002-04-25 13:29   ` Gaetano Mendola <mendola@bigfoot.com>
2002-04-25 22:27     ` Lamar Owen <lamar.owen@wgcr.org>
2002-04-28 16:09 ` Jean-Michel POURE <jm.poure@freesurf.fr>
2002-04-29 11:05   ` Gaetano Mendola <mendola@bigfoot.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox