This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
To: Tom Lane <tgl@sss.pgh.pa.us>, Joe Conway <joseph.conway@home.com> From: Lamar Owen <lamar.owen@wgcr.org> Subject: Re: [HACKERS] 7.2b3 pg_dump, general 7.2b3 comments Date: Thu, 29 Nov 2001 19:59:04 -0500 On Thursday 29 November 2001 01:27 am, Tom Lane wrote: > Joe Conway <joseph.conway@home.com> writes: > > BTW, after your first reply, I started to load the new pg_dump into gdb > > and discovered it had no debug symbols (recall I installed from RPM). Is > > there a way to install the RPM with additional configure options without > > rebuilding it? > Don't know; certainly you'd have to recompile, but I dunno if you have > to modify the source RPM or not. Lamar? Hmmm. You know, it would be a good idea, IMHO, to enable debugging symbols in the beta RPMs anyway. So, I will do that for the next beta (or release candidate -- although, with that report from Jan, I wonder what the next release will be). In the meantime, Joe, if you can rebuild the RPM from source, here's what to do: 1.) rpm -i the source RPM. 2.) If you've never built from a source RPM before, see /usr/share/docs/postgresql-7.2b3/README.rpm-dist for some more information. 3.) Edit the spec file (on Red Hat, that would be in /usr/src/redhat/SPECS, name of 'postgresql.spec'), adding the following line near the top: %define __os_install_post /usr/lib/rpm/brp-compress 4.) Add the configure option. The rpm build process by default runs strip on the binaries..... 5.) rpm -ba postgresql.spec, wait a few minutes for the build, and pick up your RPMs in /usr/src/redhat/RPMS/i386. Or you can just wait until I upload a set with that line in it..... :-) === To: Tom Lane <tgl@sss.pgh.pa.us>, Joe Conway <joseph.conway@home.com> From: Lamar Owen <lamar.owen@wgcr.org> Subject: Re: [HACKERS] 7.2b3 pg_dump, general 7.2b3 comments Date: Thu, 29 Nov 2001 20:48:04 -0500 On Thursday 29 November 2001 07:59 pm, Lamar Owen wrote: > Or you can just wait until I upload a set with that line in it..... :-) Said set is now being uploaded to ftp.postgresql.org. Look for the 0.3PGDG sbinary et in /pub/binary/beta/RPMS/redhat-7.2, and the source in ......./SRPMS My my, --enable-debug and disabling stripping in the build sure does inflate the package size :-O For reference: The entire binary set for 7.2b3-0.2PGDG weighs in at 7,036KB. The debug-enabled 7.2b3-0.3PGDG set weighs in at 11,240KB. The biggest increase is in the postgresql-contrib package, which increases from 1,192KB to 2,940KB. This build also has --enable-cassert. ===