--On Monday, June 14, 2004 5:16 PM -0500 John Schulz <[EMAIL PROTECTED]> wrote:
On Jun 14, 2004, at 15:05, Alexander K. Hansen wrote:
However, I'd like to configure postgresql using the additional flag '--enable-syslog'. How can I add configuration parameters when installing a Fink package from source?
You have to edit the .info file and add them in the ConfigureParams: field. It's probably best to copy the .info file into your local tree to do this, so that any Fink updates don't clobber your modifications.
Thanks Alexander! A few more questions:
1) When moving the postgresql.info file to my local tree, do I have to replicate the directory structure from the unstable branch? That is, do I need to put my modified postgresql.info file in: /sw/fink/dists/local/main/finkinfo/database/postgresql.info
You don't have to do this, but you certainly can. Otherwise you can just put the .info file under main/finkinfo
2) What command should I run to reinstall postgresql with my additional configuration option?
I tried using 'fink rebuild postgresql', but the 'config.status' file didn't have '--enable_syslog' in the "Report bugs to... PostgreSQL config.status... configured by" area.
Try upping the Revision: of your .info file by one and run "fink index". Then run "fink list" and make sure your revision is the one that appears. Then you can install it with "fink install postgresql"
If you don't want to bump the revision, then you'll need to have local/main at the end of the Trees: line in /sw/etc/fink.conf, rather than the beginning--I believe that's how Fink chooses between otherwise identical .info files. Then run "fink index" and try to rebuild it.
3) Are there any other commands or changes I'll need to make to successfully reinstall postgresql with this new configuration option?
See above.
John Schulz ([EMAIL PROTECTED]) "It's a case of interlocking sousaphones." - John Schulz
-- Alexander Hansen Fink Documentarian [Day Job] Levitated Dipole Experiment http://www.psfc.mit.edu/LDX
------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
