Problems building 7.2.1 RPMs 
Author Message
 Problems building 7.2.1 RPMs

Hi all:

        I'm having problems building binary RPMs for PostgresSQL 7.2.1 from
source. First of all, the circunstances:

        -I am using Red Hat Linux 6.2.
        -I have updated the required system libraries, utilities, etc. needed
to compile 7.2.1 (patch and readline).
        -I am using the SRPM that I found in Red Hat Rawhide
(ftp://rpmfind.net/linux/rawhide/1.0/SRPMS/SRPMS/postgresql-7.2.1-3.sr...).
        -I edited the postgresql.spec file to take out the references to
gettext and set nls=0, since I couldn't find an up-to-date binary RPM of
gettext for Red Hat 6.2 (some posts in this mailing list mentioned that
they couldn't get gettext to compile under 6.2 anyway, and suggested
this approach).
        -To compile everything, I used the following command: " rpm -ba
--target=i586 --define 'tcl 0' --define 'tkpkg 0' --define 'python 0'
--define 'pltcl 0' --define 'kerberos 0' --define 'pgaccess 0' --define
'newintarray 1' /usr/src/redhat/SPECS/postgresql.spec".

        And now, the problem: after compiling everything, when trying to
generate the RPMS it says: "File not found:
/var/tmp/postgresql-7.2.1-root/usr/lib/libpgtcl.a".

        I have TCL installed (but not Tk), and with the above configuration
(updated readline and patch, removed gettext, etc.) I was able to create
binary RPMs of Postgres 7.2 using the official SRPM.
        What can I do? Any ideas? If you need more information, don't hesitate
to ask.

                                                Paulo Jan.
                                                DDnet.

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.***.com/



Sat, 25 Sep 2004 21:39:31 GMT
 Problems building 7.2.1 RPMs


Quote:
>    I'm having problems building binary RPMs for PostgresSQL 7.2.1 from
> source. First of all, the circunstances:
>    -I am using Red Hat Linux 6.2.
>    -I have updated the required system libraries, utilities, etc. needed
> to compile 7.2.1 (patch and readline).
>    -I am using the SRPM that I found in Red Hat Rawhide
> (ftp://rpmfind.net/linux/rawhide/1.0/SRPMS/SRPMS/postgresql-7.2.1-3.sr...

Ok, realize that rawhide RPM's are built on, well, a decidedly non-6.2 box.  
7.2 or better, more likely.

Quote:
>    And now, the problem: after compiling everything, when trying to
> generate the RPMS it says: "File not found:
> /var/tmp/postgresql-7.2.1-root/usr/lib/libpgtcl.a".
>    I have TCL installed (but not Tk), and with the above configuration
> (updated readline and patch, removed gettext, etc.) I was able to create
> binary RPMs of Postgres 7.2 using the official SRPM.

Diff the older 7.2 spec against the rawhide spec and see what changed (quite a
bit changed, BTW).  Installing tk might help, though -- but, if you haven't X
installed, then, well, that's a whole 'nother issue.

Quote:
>    What can I do? Any ideas? If you need more information, don't hesitate
> to ask.

Ok, do this for me (and e-mail the result directly to me, and not to the
list):  rpm-command-from-above 2>&1 >build.log &
tail -f build.log

(so you can watch it).

Then e-mail me build.log.

Oh, and I'm working on more backwards-compatible 7.2.1 RPMs -- I've been on
vacation (to recover from working during another vacation that I took to
recover from the hardest 4 months I've had at work).  But it's time for me to
get back into this saddle.  Sorry for the delay.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

---------------------------(end of broadcast)---------------------------



Sun, 26 Sep 2004 10:13:08 GMT
 Problems building 7.2.1 RPMs

Quote:

>         Okay, this is what I did, and here is what I found:


> > - Move the libpgtcl.so symlink into the tcl subpackage from -devel (#61042)

>         I tried again, building postgresql-tcl too... and it worked. Tadaaa!!
>         (I don't know if it's necessary, but I can still send you the build log
> if you want it).

Does this mean that you managed to build 7.2.1 for RedHat 6.2?

--lec

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command



Tue, 28 Sep 2004 13:31:56 GMT
 
 [ 3 post ] 

 Relevant Pages 

1. RPMs - minor problem

2. MySQL, Red Hat 5.1, RPMs, problems installing.

3. pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems)

4. pltcl build problem on FreeBSD (was: Re: [HACKERS] pltlc and pltlcu problems)

5. 2.6 Dos Build Executable or Build Executable Extended

6. RPMS for 7.3

7. Upgrading binary RPMs

8. Disadvantage to RPMs?

9. Linux Largefile Support In Postgresql RPMS

10. 7.2.1 rpms

11. New RPMS ?

12. RPMs for PHP accessing PostgreSQL via ODBC over


 
Powered by phpBB® Forum Software