[]
> Things are a bit different here.  My pg_config points to a non- 
> existent /sw/bin/pg_config-8.0:
> 
>   % ls -al /sw/bin/pg_config*
> lrwxr-xr-x   1 root  admin     30 Nov 14 20:50 /sw/bin/pg_config -> / 
> sw/etc/alternatives/pg_config
> -rwxr-xr-x   1 root  admin  28540 Feb  8 11:59 /sw/bin/pg_config-8.2
> 
> % ls -al /sw/etc/alternatives/pg_config
> lrwxr-xr-x   1 root  admin  21 Nov 14 21:10 /sw/etc/alternatives/ 
> pg_config -> /sw/bin/pg_config-8.0
> 
> Reinstalling postgresql82-dev didn't fix it, so I tried rebuilding  
> postgresql82-dev.  That didn't change anything either.  I could  
> manually fix the symlink, but I'd rather find and fix the real problem.

I think you can fix it in a less hackish way by running

   update-alternatives --config pg_config

This should present you with a choice to get the correct alternative.

As for the real problem, my opinion about update-alternatives has always 
been that it is an idea from hell, and it is a pity that Fink inherited 
this abomination from debian.

-- 
Martin


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to