pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedlibpq and Mac OS X
4+ messages / 2 participants
[nested] [flat]
* libpq and Mac OS X
@ 2004-05-31 17:45 L. S. <lsearchw@lausd.k12.ca.us>
2004-05-31 17:58 ` Re: libpq and Mac OS X Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 1 reply; 4+ messages in thread
From: L. S. @ 2004-05-31 17:45 UTC (permalink / raw)
To: pgsql-interfaces
Is it possible to link C apps with libpq under OS X?
I've seen discussion of it in the archives, but there seems to be no
solution.
Since my last Powerbook G3 died (which had wide OS support), my new 2004
Powerbook G4, which only accepts OS X well* is what I have as my
portable development environment.
*(Debian doesn't see the HD; NetBSD doesn't see the keyboard; Gentoo
installs, but {doesn't seem very reliable, seems to need lots of system
tuning}; and YDL--who knows anymore?)
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: libpq and Mac OS X
2004-05-31 17:45 libpq and Mac OS X L. S. <lsearchw@lausd.k12.ca.us>
@ 2004-05-31 17:58 ` Bruce Momjian <pgman@candle.pha.pa.us>
2004-05-31 20:56 ` Re: libpq and Mac OS X L. S. <lsearchw@lausd.k12.ca.us>
0 siblings, 1 reply; 4+ messages in thread
From: Bruce Momjian @ 2004-05-31 17:58 UTC (permalink / raw)
To: L. S. <lsearchw@lausd.k12.ca.us>; +Cc: pgsql-interfaces
L. S. wrote:
> Is it possible to link C apps with libpq under OS X?
> I've seen discussion of it in the archives, but there seems to be no
> solution.
>
> Since my last Powerbook G3 died (which had wide OS support), my new 2004
> Powerbook G4, which only accepts OS X well* is what I have as my
> portable development environment.
Certainly it can be done. All the PostgreSQL client apps use libpq, so
you can look at the compile line used by psql or pg_dump. We are
working on making it easier in 7.5.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: libpq and Mac OS X
2004-05-31 17:45 libpq and Mac OS X L. S. <lsearchw@lausd.k12.ca.us>
2004-05-31 17:58 ` Re: libpq and Mac OS X Bruce Momjian <pgman@candle.pha.pa.us>
@ 2004-05-31 20:56 ` L. S. <lsearchw@lausd.k12.ca.us>
2004-05-31 22:46 ` Re: libpq and Mac OS X L. S. <lsearchw@lausd.k12.ca.us>
0 siblings, 1 reply; 4+ messages in thread
From: L. S. @ 2004-05-31 20:56 UTC (permalink / raw)
To: Bruce Momjian <pgman@candle.pha.pa.us>; +Cc: pgsql-interfaces
That's right! I didn't even think of looking at the file that deals with
compiling psql (which works). The source files have helped shade in the
gray areas, in the past.
Thanks.
Bruce Momjian wrote:
> L. S. wrote:
>
>>Is it possible to link C apps with libpq under OS X?
>>I've seen discussion of it in the archives, but there seems to be no
>>solution.
>>
>>Since my last Powerbook G3 died (which had wide OS support), my new 2004
>>Powerbook G4, which only accepts OS X well* is what I have as my
>>portable development environment.
>
>
> Certainly it can be done. All the PostgreSQL client apps use libpq, so
> you can look at the compile line used by psql or pg_dump. We are
> working on making it easier in 7.5.
>
--
L. S.
Don't let the smooth face fool you.
:-| :-) ;-) :-)
*
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: libpq and Mac OS X
2004-05-31 17:45 libpq and Mac OS X L. S. <lsearchw@lausd.k12.ca.us>
2004-05-31 17:58 ` Re: libpq and Mac OS X Bruce Momjian <pgman@candle.pha.pa.us>
2004-05-31 20:56 ` Re: libpq and Mac OS X L. S. <lsearchw@lausd.k12.ca.us>
@ 2004-05-31 22:46 ` L. S. <lsearchw@lausd.k12.ca.us>
0 siblings, 0 replies; 4+ messages in thread
From: L. S. @ 2004-05-31 22:46 UTC (permalink / raw)
To: L. S. <lsearchw@lausd.k12.ca.us>; +Cc: Bruce Momjian <pgman@candle.pha.pa.us>; pgsql-interfaces
Okay. I had been using an abbreviated compile command to deal with the
libpq libraries on my Linux machine. It worked fine on Linux, but failed
on Mac OS X. (Looking at the make files hinted at this.)
Looking back at libpq-build.html and using the commands in their
intended form, my stuff compiled on OS X (and Linux), no problem.
L. S. wrote:
> That's right! I didn't even think of looking at the file that deals with
> compiling psql (which works). The source files have helped shade in the
> gray areas, in the past.
>
> Thanks.
>
> Bruce Momjian wrote:
>
>> L. S. wrote:
>>
>>> Is it possible to link C apps with libpq under OS X?
>>> I've seen discussion of it in the archives, but there seems to be no
>>> solution.
>>>
>>> Since my last Powerbook G3 died (which had wide OS support), my new
>>> 2004 Powerbook G4, which only accepts OS X well* is what I have as my
>>> portable development environment.
>>
>>
>>
>> Certainly it can be done. All the PostgreSQL client apps use libpq, so
>> you can look at the compile line used by psql or pg_dump. We are
>> working on making it easier in 7.5.
>>
>
>
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2004-05-31 22:46 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-05-31 17:45 libpq and Mac OS X L. S. <lsearchw@lausd.k12.ca.us>
2004-05-31 17:58 ` Bruce Momjian <pgman@candle.pha.pa.us>
2004-05-31 20:56 ` L. S. <lsearchw@lausd.k12.ca.us>
2004-05-31 22:46 ` L. S. <lsearchw@lausd.k12.ca.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox