Thread: [Fwd: Re: Errors with building PG 7.2 on Mandrake 8.0]
Hi everyone, I'm trying to build the PostgreSQL 7.2 RPMs on Mandrake 8.0 (and then on 8.1, which isn't yet installed), from Lamar's source RPM. Have disabled kerberos (doesn't seem to be available for Mandrake), and changed the spec file to accept gettext 0.10.35 which comes with Mandrake 8.0 (by default, the spec file looks for gettext 0.10.36 or greater). Did a grep for "Xlib" on the config.cache, config.log, and config.status files in the failed /usr/src/RPM/BUILD/postgresql-7.2 directory, but didn't turn anything up. Also did a find for Xlib.h, but it's not on the system at all. Anyone know if I'm missing some X-Windows related Mandrake packages (X runs fine, but I could missing a -devel package). Don't really know where to start looking for getting this solved, but sure would appreciate some advice or direction. :-) Regards and best wishes, Justin Clift -------- Original Message -------- Subject: Re: Errors with building PG 7.2 on Mandrake 8.0 Date: Sun, 17 Feb 2002 23:32:07 -0500 From: Lamar Owen <lamar.owen@wgcr.org> To: Justin Clift <justin@postgresql.org> References: <3C707F5B.D69FF208@postgresql.org> On Sunday 17 February 2002 11:13 pm, Justin Clift wrote: > PG 7.2 is still not building. :( > -I/usr/X11R6/include -c -o pgtkAppInit.o pgtkAppInit.c > In file included from pgtkAppInit.c:15: > /usr/include/tk.h:83:29: X11/Xlib.h: No such file or directory > Any ideas? Yeah -- find Xlib.h. Somehow configure isn't finding it -- a message for pgsql-hackers. Lessee, methinks config.cache and config.log would be useful things to have on hand. -- Lamar Owen WGCR Internet Radio 1 Peter 4:11
Justin Clift writes:> Also did a find for Xlib.h, but it's not on the system at all. Anyone> know if I'm missing some X-Windowsrelated Mandrake packages (X runs> fine, but I could missing a -devel package). Well on Redhat Xlib.h is provided by XFree86-devel, I imagine Mandrake will be the same. Lee.
> I'm trying to build the PostgreSQL 7.2 RPMs on Mandrake 8.0 (and then on > 8.1, which isn't yet installed), from Lamar's source RPM. > > Have disabled kerberos (doesn't seem to be available for Mandrake), and > changed the spec file to accept gettext 0.10.35 which comes with > Mandrake 8.0 (by default, the spec file looks for gettext 0.10.36 or > greater). > > Did a grep for "Xlib" on the config.cache, config.log, and config.status > files in the failed /usr/src/RPM/BUILD/postgresql-7.2 directory, but > didn't turn anything up. > This error seems to be related to the Tk client (pgtksh) build. Even disabling Tk when rebuilding from source causes this. I had this problem yesterday on a RedHat 7.2 (brand new) installation. This was a "server" install (upgrade to be more specific) and by default, nothing having to do with X is installed. In a somewhat related issue, I can't find my "Maximum RPM book." How can I restart the --rebuild without re-untarring (<-- New Word?) the source and therefore triggering a complete recompile? I want to pickup with the make after getting a copy of Xlib.h but I want the RPM sequence to finish (i.e., build the RPMS). len morgan
Re: [Fwd: Re: Errors with building PG 7.2 on Mandrake 8.0]
From
teg@redhat.com (Trond Eivind Glomsrød)
Date:
"Len Morgan" <len-morgan@kttk.net> writes: > > I'm trying to build the PostgreSQL 7.2 RPMs on Mandrake 8.0 (and then on > > 8.1, which isn't yet installed), from Lamar's source RPM. > > > > Have disabled kerberos (doesn't seem to be available for Mandrake), and > > changed the spec file to accept gettext 0.10.35 which comes with > > Mandrake 8.0 (by default, the spec file looks for gettext 0.10.36 or > > greater). > > > > Did a grep for "Xlib" on the config.cache, config.log, and config.status > > files in the failed /usr/src/RPM/BUILD/postgresql-7.2 directory, but > > didn't turn anything up. > > > > This error seems to be related to the Tk client (pgtksh) build. Even > disabling Tk when rebuilding from > source causes this. I had this problem yesterday on a RedHat 7.2 (brand > new) installation. This was > a "server" install (upgrade to be more specific) and by default, nothing > having to do with X is installed. > > In a somewhat related issue, I can't find my "Maximum RPM book." How can I > restart the --rebuild without > re-untarring (<-- New Word?) the source and therefore triggering a complete > recompile? Try "rpm -bc --short-circuit"? -- Trond Eivind Glomsrød Red Hat, Inc.
Hi everyone, It's compiled fine now, after XFree86-devel was added to the system. Now it's complaining the PostgreSQL python module needs "mx" though, in order to install. Rats. We're further along than before, but still no cigar. :-/ Regards and best wishes, Justin Clift Trond Eivind Glomsrød wrote: > > "Len Morgan" <len-morgan@kttk.net> writes: > > > > I'm trying to build the PostgreSQL 7.2 RPMs on Mandrake 8.0 (and then on > > > 8.1, which isn't yet installed), from Lamar's source RPM. > > > > > > Have disabled kerberos (doesn't seem to be available for Mandrake), and > > > changed the spec file to accept gettext 0.10.35 which comes with > > > Mandrake 8.0 (by default, the spec file looks for gettext 0.10.36 or > > > greater). > > > > > > Did a grep for "Xlib" on the config.cache, config.log, and config.status > > > files in the failed /usr/src/RPM/BUILD/postgresql-7.2 directory, but > > > didn't turn anything up. > > > > > > > This error seems to be related to the Tk client (pgtksh) build. Even > > disabling Tk when rebuilding from > > source causes this. I had this problem yesterday on a RedHat 7.2 (brand > > new) installation. This was > > a "server" install (upgrade to be more specific) and by default, nothing > > having to do with X is installed. > > > > In a somewhat related issue, I can't find my "Maximum RPM book." How can I > > restart the --rebuild without > > re-untarring (<-- New Word?) the source and therefore triggering a complete > > recompile? > > Try "rpm -bc --short-circuit"? > > -- > Trond Eivind Glomsrød > Red Hat, Inc. -- "My grandfather once told me that there are two kinds of people: those who work and those who take the credit. He told me to try to be in the first group; there was less competition there." - Indira Gandhi