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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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).