I would like to know if it is possible to compile GNUWorld with the modules
CService and CControl under RedHat 8.0?

Because when I compile it, I always sees error in the lib libpq++.h at the
time of ./configure.

And if I says to him where are the lib's with the string:
/configure --with-pgsql-include=/usr/include, it do not want to compile at
the time of the make.

You will find a copy paste of the errors than I have at the time of
./configures and make.

Please forgive me for my English, I am as a French-speaking person and I
some difficulties of writing in English.

First i have try this:
./configure --enable-modules=cservice,ccontrol
/.....
.....\
checking for libpq++.h... configure: error: Unable to find libpq++.h

Next i have try this:
./configure --enable-modules=cservice,ccontrol --with-pgsql-lib=/usr/lib --w
ith-pgsql-include=/usr/include

But no error during the ./configure commande
Configuration has been finished, and everything seems to be all right.
Now you have the chance to modify include/config.h to set your
preferred options...

Now i try gmake

During de gmake i view this warning message when gmake try to compile
ccontrol or cservice modules:
cc1plus: warning: changing search order for system directory "/usr/include"
cc1plus: warning:   as it has already been specified as a non-system
directory

But after i recive this error ans gmake stop:

g++ -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/include -I/home/uworld/gnuwo
rld/libltdl -Wall -pipe -g -O0 -I/home/uworld/gnuworld/include -I/home/uworl
d/gnuworld/libgnuworld -MT ccontrol.lo -MD -MP -MF .deps/ccontrol.Tpo -c
ccontrol.cc  -fPIC -DPIC -o .libs/ccontrol.lo
cc1plus: warning: changing search order for system directory "/usr/include"
cc1plus: warning:   as it has already been specified as a non-system
directory
In file included from /usr/include/openssl/evp.h:89,
                 from /usr/include/openssl/x509.h:67,
                 from /usr/include/openssl/ssl.h:69,
                 from /usr/include/libpq-fe.h:33,
                 from /usr/include/libpq++/pgconnection.h:41,
                 from /usr/include/libpq++.h:27,
                 from ccUser.h:10,
                 from ccontrol.cc:48:
/usr/include/openssl/des.h:193: declaration of `char* crypt(const char*,
const
   char*)' throws different exceptions
/usr/include/unistd.h:946: than previous declaration `char* crypt(const
char*,
   const char*) throw ()'
gmake[1]: *** [ccontrol.lo] Error 1
gmake[1]: Leaving directory `/home/uworld/gnuworld/mod.ccontrol'
gmake: *** [all-recursive] Error 1

Next is the configuration o my system:

uname -a
Linux Internet.FrancoNet.Net 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686
i686 i386 GNU/Linux

gcc -v
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with:
../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
 --enable-shared --enable-threads=posix --disable-checking --host=i386-redha
t-linux --with-system-zlib --enable-__cxa_atexit
Thread model: posix

psql -V
psql (PostgreSQL) 7.2.2
contains support for: readline, history, multibyte
Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
Portions Copyright (c) 1996, Regents of the University of California
Read the file COPYRIGHT or use the command \copyright to see the
usage and distribution terms.

Run under directory: /home/uworld/gnuworld
With user: uworld ant group: uworld

----- Original Message -----
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: "Richard Simard" <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 6:29 PM
Subject: Re: [Coder-Com]


> Install postgres.
>
> Which was explained that it's needed in the documents.  Which I'm sure you
> read. :)
>
> Isaiah
>
> At 05:57 PM 12/16/2002 -0500, you wrote:
> >I have downloded GNUworld from CVS
> >
> >I have instaled de Web interface and it work
> >but when i compil th service i see this error:
> >
> >./configure
> >......--->
> >checking for libpq++.h... configure: error: Unable to find libpq++.h
> >
> >
> >This file is under /ust/include
> >
> >This is a copy past from ldconfig -p
> >libpq.so.2.0 (libc6) => /usr/lib/libpq.so.2.0
> >libpq.so.2 (libc6) => /usr/lib/libpq.so.2
> >libpq.so (libc6) => /usr/lib/libpq.so
> >libpq++.so.4 (libc6) => /usr/lib/libpq++.so.4
> >libpq++.so (libc6) => /usr/lib/libpq++.so
> >
> >
> >
> >Richard Simard
> >[EMAIL PROTECTED]
> >P.D.G. FrancoNet
> >C.P.: 64  Succ.: Centre-Ville
> >Ville de Saguenay (arondissement Jonquière), Québec
> >Canada, G7X 7V8
>

Reply via email to