Обсуждение: share lib libpq++

Поиск
Список
Период
Сортировка

share lib libpq++

От
"serge.zangheri"
Дата:
Hi,
installation from postgres7.2.1.tar.gz.

The automatic installation does not create lib/libpq++.so.

In src/interfaces/libpq++, there is a Makefile which generates fpic
command directly (instead of gcc ... -fpic ...) and of course the fpic
command does not exist.

Using gcc -fpic ....pgconnection.o pgconnection.cc.., we get then
following error :

    pgconnection.h:86 ISO C++ forbids declaration of strings "with no
type".


Any helps would be appreciated.
Thanx
Serge and hubert

Re: share lib libpq++

От
nconway@klamath.dyndns.org (Neil Conway)
Дата:
On Fri, Jul 26, 2002 at 12:28:17PM +0200, serge.zangheri wrote:
> The automatic installation does not create lib/libpq++.so.

Did you pass the '--with-CXX' option to configure?

> In src/interfaces/libpq++, there is a Makefile which generates fpic
> command directly (instead of gcc ... -fpic ...) and of course the fpic
> command does not exist.

Oh? Where in the Makefile?

Cheers,

Neil

--
Neil Conway <neilconway@rogers.com>
PGP Key ID: DB3C29FC

Re: share lib libpq++

От
Hubert Pérès
Дата:
OK, the '--with-CXX' option does create the shared library libpq++

For the fpc problem, I tried to launch the Makefile directly in src, not in
the normal way.
But now, with CXX option, all is OK.

Thanks,
Hubert.

Neil Conway a écrit :

> On Fri, Jul 26, 2002 at 12:28:17PM +0200, serge.zangheri wrote:
> > The automatic installation does not create lib/libpq++.so.
>
> Did you pass the '--with-CXX' option to configure?
>
> > In src/interfaces/libpq++, there is a Makefile which generates fpic
> > command directly (instead of gcc ... -fpic ...) and of course the fpic
> > command does not exist.
>
> Oh? Where in the Makefile?
>
> Cheers,
>
> Neil
>
> --
> Neil Conway <neilconway@rogers.com>
> PGP Key ID: DB3C29FC

--
Hubert Pérès
SchlumbergerSema Grenoble
SSO & ITM