On 2/16/07, Kurt Schwehr <[EMAIL PROTECTED]> wrote:
> Fink developers,
>
> How is /sw/bin/pg_config being handled?  It doesn't
> seem to be in one of the postgresql82 debs.  How do I
> make sure that this is installed at build time?
>
> Thanks,
> -kurt
>
>
> dpkg -S /sw/bin/pg_config
> dpkg: /sw/bin/pg_config not found.
>
> dpkg -L postgresql82 | grep pg_config
>
> dpkg -L postgresql82-dev | grep pg_config
> /sw/bin/pg_config-8.2
> /sw/include/postgresql/ecpg_config.h
> /sw/include/postgresql/pg_config.h
> /sw/include/postgresql/pg_config_manual.h
> /sw/include/postgresql/pg_config_os.h
> /sw/share/man/man1/pg_config.1-8.2
>
> dpkg -L postgresql82-shlibs | grep pg_config
>

It's done via update-alternatives.

> --- Kevin Horton <[EMAIL PROTECTED]> wrote:
>
> > % /sw/bin/pg_config
> > zsh: no such file or directory: /sw/bin/pg_config
> >
> > % fink list postgresql82
> > Information about 6870 packages read in 2 seconds.
> > i   postgresql82                  8.2.3-1021
> >     PostgreSQL
> > open-source database
> > i   postgresql82-dev              8.2.3-1021
> >     PostgreSQL
> > development headers and libraries
> > i   postgresql82-shlibs           8.2.3-1021
> >     PostgreSQL
> > shared libraries
> >
> > Which package is supposed to include pg_config?
> > I'll try rebuilding
> > that package.
> >
> > Kevin
> >
> > On 15 Feb 2007, at 21:54, Kurt Schwehr wrote:
> >
> > > Kevin,
> > >
> > > What does running /sw/bin/pg_config return?  This
> > > looks like a postgres82 dependency might be
> > missing
> > > from the package info file.
> > >
> > > Are the dependencies on
> > postgresql82{,-dev,-shlibs}
> > > getting installed?
> > >
> > > Thanks,
> > > -kurt
> > >
> > >
> > > --- Kevin Horton <[EMAIL PROTECTED]> wrote:
> > >
> > >> An attempt to update gdal-1.4.0-1003 failed:
> > >>
> > >> ....
> > >> checking whether nan is declared... no
> > >> checking whether nanf is declared... no
> > >> checking for gmtime_r... yes
> > >> checking for localtime_r... yes
> > >> checking for setlocale... yes
> > >> checking for local include/lib path... adding /sw
> > >> configure: checking whether we should include
> > >> thread/mutex support......
> > >>          thread safe support disabled.
> > >> using libz library from /sw
> > >> checking for PostgreSQL... no
> > >> configure: error: --with-pg argument is a not an
> > >> executable file.  It
> > >> should be the path to the pg_config script, often
> > >> somewhere like /usr/
> > >> local/pgsql/bin/pg_config.
> > >> ### execution of /var/tmp/tmp.0.HHlz9x failed,
> > exit
> > >> code 1
> > >> Removing runtime build-lock...
> > >> Removing build-lock package...
> > >> /sw/bin/dpkg-lockwait -r
> > >> fink-buildlock-gdal-1.4.0-1003
> > >> (Reading database ... 198705 files and
> > directories
> > >> currently installed.)
> > >> Removing fink-buildlock-gdal-1.4.0-1003 ...
> > >> Failed: phase compiling: gdal-1.4.0-1003 failed
> > >>
> > >>
> > >> Some info on my fink installation:
> > >>
> > >> fink -V | head -n 2:
> > >> Package manager version: 0.26.1
> > >> Distribution version: 0.8.1.rsync powerpc
> > >>
> > >> sw_vers:
> > >> ProductName:    Mac OS X
> > >> ProductVersion: 10.4.8
> > >> BuildVersion:   8L127
> > >>
> > >> gcc --version | head -n 1:
> > >> powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1
> > (Apple
> > >> Computer, Inc.
> > >> build 5367)
> > >>
> > >> arch:
> > >> ppc
> > >>
> > >> Kevin Horton
> > >> Ottawa, Canada
> > >>
> > >>
> > >>>


-- 
Alexander K. Hansen
(akh)
Fink Documenter (still)

-------------------------------------------------------------------------
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-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to