pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feederror in makefile for libpq++ examples
3+ messages / 2 participants
[nested] [flat]
* error in makefile for libpq++ examples
@ 2000-01-13 08:33 bbravat@hss.hns.com
0 siblings, 1 reply; 3+ messages in thread
From: bbravat@hss.hns.com @ 2000-01-13 08:33 UTC (permalink / raw)
To: docs@postgreSQL.org
Hi,
I just downloaded the recent postgres distribution of ver6.5.3. In its makefile
for libpq++, variable LDFLAGS should also contain -lpq option otherwise it fails
to compile the examples with gcc.
I think it will be good idea to include information about INCLUDE directories,
LDFLAGS and also the setting of LD_LIBRARY_PATH in the html documentation in
libpq++ chapter of the programmer's manual.
Cheers,
Brij
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [DOCS] error in makefile for libpq++ examples
@ 2000-01-13 12:18 Vince Vielhaber <vev@michvhf.com>
parent: bbravat@hss.hns.com
0 siblings, 0 replies; 3+ messages in thread
From: Vince Vielhaber @ 2000-01-13 12:18 UTC (permalink / raw)
To: bbravat@hss.hns.com; +Cc: docs@postgreSQL.org
On Thu, 13 Jan 2000 bbravat@hss.hns.com wrote:
> I just downloaded the recent postgres distribution of ver6.5.3. In its makefile
> for libpq++, variable LDFLAGS should also contain -lpq option otherwise it fails
> to compile the examples with gcc.
>
> I think it will be good idea to include information about INCLUDE directories,
> LDFLAGS and also the setting of LD_LIBRARY_PATH in the html documentation in
> libpq++ chapter of the programmer's manual.
Are you sure you have a complete install? -lpq is part of libpq++'s
build process, and LD_LIBRARY_PATH is part of the PostgreSQL installation.
What version are you using?
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: vev@michvhf.com http://www.pop4.net
128K ISDN: $24.95/mo or less - 56K Dialup: $17.95/mo or less at Pop4
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [DOCS] error in makefile for libpq++ examples
@ 2000-01-13 12:46 bbravat@hss.hns.com
0 siblings, 0 replies; 3+ messages in thread
From: bbravat@hss.hns.com @ 2000-01-13 12:46 UTC (permalink / raw)
To: Vince Vielhaber <vev@michvhf.com>; +Cc: docs@postgreSQL.org
Yes, I have the complete install and it is installed properly. [version is
6.5.3] Only point I wanted to mention was this: After installing the complete
postgres, when one tries to compile the examples for libpq++ library which comes
with the installable, using the provided Makefile then it fails to compile the
example. Because in the Makefile inside directory
"postgresql-6.5.3/src/interfaces/libpq++/examples", LDFLAGS option doesn't
contain option -lpq {it contains only -lpq++}. To compile the example I had to
add -lpq option in this Makefile.
My suggestion regarding the documentation was in concern with those C++
programmers who haven't installed postgres but are using it on a system where it
is installed. To help such programmer's these details such as setting of
environment variable LD_LIBRARY_PATH and include directories can be added in the
programmer's guide. This will surely help the new user of postgres.
Cheers,
Brij
Vince Vielhaber <vev@michvhf.com> on 01/13/2000 05:48:47 PM
To: Brij B Ravat/HSS@HSS
cc: docs@postgreSQL.org
Subject: Re: [DOCS] error in makefile for libpq++ examples
On Thu, 13 Jan 2000 bbravat@hss.hns.com wrote:
> I just downloaded the recent postgres distribution of ver6.5.3. In its
makefile
> for libpq++, variable LDFLAGS should also contain -lpq option otherwise it
fails
> to compile the examples with gcc.
>
> I think it will be good idea to include information about INCLUDE directories,
> LDFLAGS and also the setting of LD_LIBRARY_PATH in the html documentation in
> libpq++ chapter of the programmer's manual.
Are you sure you have a complete install? -lpq is part of libpq++'s
build process, and LD_LIBRARY_PATH is part of the PostgreSQL installation.
What version are you using?
Vince.
--
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2000-01-13 12:46 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-01-13 08:33 error in makefile for libpq++ examples bbravat@hss.hns.com
2000-01-13 12:18 ` Vince Vielhaber <vev@michvhf.com>
2000-01-13 12:46 Re: [DOCS] error in makefile for libpq++ examples bbravat@hss.hns.com
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