Thread: RE: [GENERAL] Rebuilding 6.5.3 RPMs

RE: [GENERAL] Rebuilding 6.5.3 RPMs

From
Nicolas Huillard
Date:
I have tk installed, since pgAccess 6.5.2 is working on the same machine. I checked each needed RPM, and eveything is
here: 
egcs-1.0.2-12
egcs-c++-1.0.2-12
glibc-devel-2.0.7-19
libstdc++-devel-2.8.0-12
python-1.5.1-4
python-devel-1.5.1-4
perl-5.004m7-1
tcl-8.0.2-16
tclx-8.0.2-16
tk-8.0.2-16
tkinter-1.5.1-4

Isn't the problem coming from the living install of the 6.5.2 RPM, on the machine on which I try to build 6.5.3 ?

Yes, I am interested in having your copy of the rpm -ba output of the build. I can provide mine, if you want to have a
quicklook at something special... 

Nicolas Huillard

-----Message d'origine-----
De:    Lamar Owen [SMTP:lamar.owen@wgcr.org]
Date:    mardi 1 février 2000 21:02
À:    Nicolas Huillard
Cc:    pgsql-general@postgreSQL.org
Objet:    Re: [GENERAL] Rebuilding 6.5.3 RPMs

Nicolas Huillard wrote:
> Since I use RedHat, the best way to do that is to recreate the RPMs for the 6.5.3, with the patch applied... The
problemis that postgresql-6.5.3-3.src.rpm found on ftp://ftp.postgresql.org/pub/SRPMS/ doesn't rebuild. 
[snip]
> + install -m 755 pgaccess/pgaccess /var/tmp/postgresql-root/usr/bin
> install: pgaccess/pgaccess: No such file or directory
> Bad exit status from /var/tmp/rpm-tmp.46483 (%install)
> Does anyone have a clue on how to do that, what option to feed RPM, or what to download, and where to store it ?

In order to rebuild from the source rpm, you must have the following
installed:
egcs
development libraries for egcs
c++ and its libs
python and python-devel
perl
tcl AND tk -- which implies a full X11 installation.

The last one about tk seems to be where your build is stalling -- you
must not have tk installed.

You _can_ comment out the configure option for tk, as well as the
pgaccess build and install, AND the pgaccess and tk libs in the %files
list for the postgresql-tcl subpackage, if you can't install tk.  The
%files listing for pgaccess and pgtksh are tripping you.

And yes, rpm -ba works fine for me -- otherwise there would be no binary
RPM's at all, as I build them on my own machine.  I can send you an 'rpm
-qa' listing of my development machine if that would help....

HTH
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

************


Re: [GENERAL] Rebuilding 6.5.3 RPMs

From
Lamar Owen
Date:
Nicolas Huillard wrote:
>
> I have tk installed, since pgAccess 6.5.2 is working on the same machine. I checked each needed RPM, and eveything is
here: 
[snip]

[For the edification of the pgsql-general list, Nicolas found that the
problem was not having the X11 development libraries installed, which
stopped the whole process.]

Glad you finally got the RPM's built, Nicolas!

--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11