Re: [CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec
On Wed, Oct 24, 2007, Christoph Schug wrote: > OpenPKG CVS Repository > http://cvs.openpkg.org/ > > > Server: cvs.openpkg.org Name: Christoph Schug > Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] > Module: openpkg-src Date: 24-Oct-2007 19:51:58 > Branch: HEAD Handle: 2007102418515800 > > Modified files: > openpkg-src/postgresql postgresql.spec > > Log: > postgresql-8.2.5.tar.bz2 has been re-rolled in place by the vendor > (fixes Linux build issues) Hello List! If anyone still has an old version of postgresql-8.2.5.tar.bz2 in its development environment, please dump it and fetch a new one (just to avoid that the bad tarball is being packaged once again). The bad tarball causes the build of postgresql to fail on Linux with following error: [...] | /openpkg-dev/bin/cc -O2 -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -DFRONTEND -I. -I../../../src/interfaces/libpq -I../../../src/bin/pg_dump -I../../../src/include -I/openpkg-dev/include -I/openpkg-dev/include/readline -D_GNU_SOURCE -c -o psqlscan.o psqlscan.c | In file included from ../../../src/include/port.h:17, | from ../../../src/include/c.h:826, | from ../../../src/include/postgres_fe.h:21, | from psqlscan.l:40: | /usr/include/netdb.h:560: error: expected identifier or '(' before '[' token | make[3]: *** [psqlscan.o] Error 1 | make[2]: *** [all] Error 2 | make[1]: *** [all] Error 2 | make: *** [all] Error 2 | error: Bad exit status from /openpkg-dev/RPM/TMP/rpm-tmp.17869 (%build) | | | RPM build errors: | Bad exit status from /openpkg-dev/RPM/TMP/rpm-tmp.17869 (%build) I just rolled the postgresql package with a freshly fetched tarball. Size and MD5 sum of the correct tarball are ... | $ ls -l postgresql-8.2.5.tar.bz2 | -rw-r--r-- 1 cs cs 12510411 Oct 24 2007 postgresql-8.2.5.tar.bz2 | $ openssl md5 postgresql-8.2.5.tar.bz2 | MD5(postgresql-8.2.5.tar.bz2)= bb1cd309ea72f070cb964736f5755847 The bad one (in my case) looked like this ... | $ ls -l postgresql-8.2.5_bad.tar.bz2 | -rw-r--r-- 1 cs cs 12510211 Oct 24 2007 postgresql-8.2.5_bad.tar.bz2 | $ openssl md5 postgresql-8.2.5_bad.tar.bz2 | MD5(postgresql-8.2.5_bad.tar.bz2)= 4df392cdd20dac3cea4ab80251661c4a Thanks! -cs __ OpenPKG http://openpkg.org Developer Communication List openpkg-dev@openpkg.org
Re: [CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
On Sat, Jul 19, 2003, Ralf S. Engelschall wrote: > Wait, I think we talk of different things here. Sure, Tcl with Tk > is cool. What I mean is: AFAIK pgaccess is _NOT_ distributed with > PostgreSQL anymore. There is only the glue library libpgtcl and > a possible pgtclsh. Neither one requires Tk, only plain Tcl. You can build pgtclsh with and without support for Tk. --with-tcl build Tcl and Tk interfaces --without-tkdo not build Tk interfaces if Tcl is enabled --with-tclconfig=DIRtclConfig.sh and tkConfig.sh are in DIR --with-tkconfig=DIR tkConfig.sh is in DIR -- ,eM""=.a"-. Michael van Elst dWWMWM" - :GM==;[EMAIL PROTECTED] :WWMWMw=--. "W=' cable & wireless 9WWMm==-. "-Wmw-" CABLE & WIRELESS __ The OpenPKG Projectwww.openpkg.org Developer Communication List [EMAIL PROTECTED]
Re: [CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
On Sat, Jul 19, 2003, Michael van Elst wrote: > > Ah, a lot better than my quick attempt. Thanks. The question just > > remains: do we really want Tk stuff here, too? I mean, wouldn't it be > > better under with_tcl to just provide the libpgtcl.so stuff only? And, > > is there still any Tk/X11 stuff distributed with PostgreSQL which we > > also install? > > The only application of pgtcl I am aware of is pgaccess which requires Tk. Wait, I think we talk of different things here. Sure, Tcl with Tk is cool. What I mean is: AFAIK pgaccess is _NOT_ distributed with PostgreSQL anymore. There is only the glue library libpgtcl and a possible pgtclsh. Neither one requires Tk, only plain Tcl. So I'm wondering why our "postgresql" package should require "tcl, tcl::with_x11 = yes, X11" and not just "tcl". AFAIK it only needs plain Tcl under both build-time and run-time. That another (to be made) "pgaccess" package then has to require both "postgresql, postgresql::with_tcl" and "tcl, tcl::with_x11, X11" is clear. But this is a different thing IMHO. > I also haven't seen anybody who installs Tcl but drops Tk. "Expect" users do ;-) But the point I made above is just about "minimum required dependencies" and not about "usually existing relationships". Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ The OpenPKG Projectwww.openpkg.org Developer Communication List [EMAIL PROTECTED]
Re: [CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
On Sat, Jul 19, 2003, Ralf S. Engelschall wrote: > Ah, a lot better than my quick attempt. Thanks. The question just > remains: do we really want Tk stuff here, too? I mean, wouldn't it be > better under with_tcl to just provide the libpgtcl.so stuff only? And, > is there still any Tk/X11 stuff distributed with PostgreSQL which we > also install? The only application of pgtcl I am aware of is pgaccess which requires Tk. I also haven't seen anybody who installs Tcl but drops Tk. -- ,eM""=.a"-. Michael van Elst dWWMWM" - :GM==;[EMAIL PROTECTED] :WWMWMw=--. "W=' cable & wireless 9WWMm==-. "-Wmw-" CABLE & WIRELESS __ The OpenPKG Projectwww.openpkg.org Developer Communication List [EMAIL PROTECTED]
Re: [CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
On Sat, Jul 19, 2003 at 11:50:50AM +0200, Ralf S. Engelschall wrote: ... >Ah, a lot better than my quick attempt. Thanks. The question just >remains: do we really want Tk stuff here, too? I mean, wouldn't it be >better under with_tcl to just provide the libpgtcl.so stuff only? And, >is there still any Tk/X11 stuff distributed with PostgreSQL which we >also install? I think the Tk stuff should be incorporated (it's the only reason I ever do anything with tcl). There's also perl::Tk, my primary GUI scripting tool. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``I don't make jokes, I just watch the Government and report the facts...'' Will Rogers __ The OpenPKG Projectwww.openpkg.org Developer Communication List [EMAIL PROTECTED]
Re: [CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
On Sat, Jul 19, 2003, Michael van Elst wrote: > [...] > add optional TCL support > [...] > +%if "%{with_tcl}" == "yes" > +BuildPreReq: tcl, tcl::with_x11 = yes, X11 > +PreReq: tcl, tcl::with_x11 = yes, X11 > +%endif >AutoReq: no >AutoReqProv: no > [...] Ah, a lot better than my quick attempt. Thanks. The question just remains: do we really want Tk stuff here, too? I mean, wouldn't it be better under with_tcl to just provide the libpgtcl.so stuff only? And, is there still any Tk/X11 stuff distributed with PostgreSQL which we also install? Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ The OpenPKG Projectwww.openpkg.org Developer Communication List [EMAIL PROTECTED]