Menu

Building from CVS

Help
Kevin Kemp
2006-03-02
2012-08-31
  • Kevin Kemp

    Kevin Kemp - 2006-03-02

    I have checked out all of the projects from cvs and I am unable to build the project with Xcode which appears to be the method this being used to build.
    Each project results in a similar error messages with the initial error of
    error: libpq-fe.h: No such file or directory

    Where will I find this file?

    Thanks for the help.

     
    • Andy Satori

      Andy Satori - 2006-03-03

      It depends upon how you want to build. If you are going to dynamically link against the libpq.dylib, then point your Library path in Xcode to /Library/PostgreSQL8/lib and your include path to /Library/PostgreSQL8/include. If you want to statically link in libpq.a, then you'll have to build PostgreSQL into another location, without the dynamic libraries due to a quirk in Xcode that will elect to use the dylib if it's present.

      All of the tools as they are distributed are built against the static version, so the CVS xcodeproj files all use /opt/local/postgres for build purposes. For a release in the not so distant future, this will be available for binary install as a Developer's packge. It is not yet available in binary form (time has been limited with the new baby at home).

       

Log in to post a comment.

MongoDB Logo MongoDB