On Jun 14, 2004, at 18:40, Alexander K. Hansen wrote:
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
Left the .info in local/main/finkinfo/. However, the first time through it failed, saying PAM header file wasn't where it suppose to be. I then noticed it was looking for the postgresql.patch file in my local tree, and naturally couldn't find it, since I didn't copy it there. :-)
After copying postgresql.patch into local/main/finkinfo/, it patched everything successfully and eventually gave me a config.status file.
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.
I moved edited fink.conf as indicated above; ran "fink index". Works as directed; config.status has the "--enable-syslog" flag, which was only present in the postgresql.info in local/main/finkinfo/.
Thanks again Alexander! It's nice to get prompt and accurate information from an expert, and even better that it's possible on a listserv. ;-)
I did notice one oddity when using FinkCommander (which I'll report to them through proper channels :-). After editing fink.conf, "File > Open .info" in FinkCommander reported an error trying to open the file, because it was looking in the stable/main tree.
However, after running "Source > Rebuild", it gave me the same successful config.status as using fink on the command line: everything properly patched, "--enable-syslog" present via the edited .info file in local/main. Weird, and annoying; for a long while I thought the fink.conf edit wasn't working.
But now, all is well. I'm off to wrangle PHP install. :-)
John Schulz ([EMAIL PROTECTED]) http://ambientshadow.com Web Development / Graphic Design / Usability Consulting
------------------------------------------------------- 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
