Skip navigation.
 
mlRe: Cocoa Database Connection
FROM : Jason Stephenson
DATE : Sat Mar 22 01:34:47 2008

Justin Giboney wrote:
> So, libpq sounds like a well supported way to go, but when I import
> "libpq-fe.h" into my project I get an error that says "postgres_ext.h:
> No such file or directory", along with 30 more errors which I assume are
> related to the lack of this file. I searched my computer for it and I
> can't find it.



How did you install PostgresQL on your system? I've install mysql-client
via Mac Ports and have no trouble connecting to MySQL servers via C or
Objective-C with the proper compiler options.

Chances are, you simply need to specify the right paths with -I and -L
to tell gcc and ld where to find the PostgresQL headers and libraries.



>
> Is there something that I should have installed besides PostgreSQL
> 8.3.0? I have seen something about doxygen, but I don't know what that
> is. Do I need it?
>


doxygen is a documentation generator. It generates document files from
specially formatted comments in your code, similar to Autodoc,
Autoheader, and Javadoc. You don't need it to build PostgreSQL apps.

BTW, thanks for mentioning the PostgresQL Cocoa project on Source Forge.
I was thinking of starting something similar on my own, since about all
the programming I do is for databases.

HtH,
Jason

Related mailsAuthorDate
mlCocoa Database Connection Justin Giboney Mar 21, 23:33
mlRe: Cocoa Database Connection Justin Giboney Mar 22, 00:50
mlRe: Cocoa Database Connection Jason Stephenson Mar 22, 01:34
mlRe: Cocoa Database Connection Jeff LaMarche Mar 22, 01:37
mlRe: Cocoa Database Connection Western Botanicals Mar 24, 20:21
mlRe: Cocoa Database Connection Jeff LaMarche Mar 24, 20:54
mlRe: Cocoa Database Connection Justin Giboney Mar 24, 22:06
mlRe: Cocoa Database Connection Jens Alfke Mar 25, 04:25
mlRe: Cocoa Database Connection Andrew Satori Mar 26, 21:12