[Gambas-user] ???

Henri Girard girardhenri at ...67...
Mon Mar 10 17:33:51 CET 2003


OK.. don't take the previous message... I don't know if they change it on
other version as I didn't try at that time..
----- Original Message -----
From: "Benoît Minisini" <gambas at ...1...>
To: <gambas-user at lists.sourceforge.net>
Sent: Monday, March 10, 2003 3:00 PM
Subject: Re: [Gambas-user] ???


Le Vendredi 7 Mars 2003 23:02, Henri Girard a écrit :
> Here is my last compilation... Mandrake rc2 9.1 (rpm) postgresql 7.3.2
> qt3.1.1
> need help :)
> Henri
>
> make[5]: Entering directory `/root/soft/gambas-0.45/src/lib/db/postgresql'
> /bin/sh ../../../../libtool --mode=compile
> gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share
> -I/usr/inc lude/pgsl    -pipe -Wall -g -O0 -c
> main.cgcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share
> -I/u sr/include/pgsl -pipe -Wall -g -O0 -c main.c  -fPIC -DPIC -o main.lo
> main.c:32:22: libpq-fe.h: No such file or directory
> main.c:33:22: postgres.h: No such file or directory
> main.c:34:21: pg_type.h: No such file or directory
> main.c:47: parse error before '*' token
> main.c: In function `check_result':
> main.c:49: `res' undeclared (first use in this function)
> main.c:49: (Each undeclared identifier is reported only once
> main.c:49: for each function it appears in.)
> main.c:52: `TRUE' undeclared (first use in this function)
> main.c:55: warning: implicit declaration of function `PQresultStatus'
> main.c:57: `PGRES_COMMAND_OK' undeclared (first use in this function)
> main.c:58: `PGRES_TUPLES_OK' undeclared (first use in this function)
> main.c:59: `FALSE' undeclared (first use in this function)
> main.c:62: `err' undeclared (first use in this function)
> main.c:63: warning: implicit declaration of function
`PQresultErrorMessage'
> main.c:64: warning: implicit declaration of function `PQclear'
> main.c: At top level:
> main.c:72: parse error before "type"
> main.c: In function `conv_type':
> main.c:74: `type' undeclared (first use in this function)
> main.c:76: `BOOLOID' undeclared (first use in this function)
> main.c:80: `INT2OID' undeclared (first use in this function)
> main.c:81: `INT4OID' undeclared (first use in this function)
> main.c:84: `NUMERICOID' undeclared (first use in this function)
> main.c:85: `FLOAT4OID' undeclared (first use in this function)
> main.c:86: `FLOAT8OID' undeclared (first use in this function)
> main.c:89: `ABSTIMEOID' undeclared (first use in this function)
> main.c:90: `RELTIMEOID' undeclared (first use in this function)
> main.c:91: `DATEOID' undeclared (first use in this function)
> main.c:92: `TIMEOID' undeclared (first use in this function)
> main.c:93: `TIMESTAMPOID' undeclared (first use in this function)
> main.c:102: `CHAROID' undeclared (first use in this function)
> main.c:103: `BPCHAROID' undeclared (first use in this function)
> main.c:104: `VARCHAROID' undeclared (first use in this function)
> main.c:105: `TEXTOID' undeclared (first use in this function)
> main.c:106: `NAMEOID' undeclared (first use in this function)
> main.c:107: `BYTEAOID' undeclared (first use in this function)
> main.c:108: `CASHOID' undeclared (first use in this function)
> main.c: At top level:
> main.c:118: parse error before "Oid"
> main.c: In function `conv_data':
> main.c:124: `type' undeclared (first use in this function)
> main.c:126: `BOOLOID' undeclared (first use in this function)
> main.c:128: `val' undeclared (first use in this function)
> main.c:129: `data' undeclared (first use in this function)
> main.c:133: `INT2OID' undeclared (first use in this function)
> main.c:134: `INT4OID' undeclared (first use in this function)
> main.c:143: `NUMERICOID' undeclared (first use in this function)
> main.c:144: `FLOAT4OID' undeclared (first use in this function)
> main.c:145: `FLOAT8OID' undeclared (first use in this function)
> main.c:154: `ABSTIMEOID' undeclared (first use in this function)
> main.c:155: `RELTIMEOID' undeclared (first use in this function)
> main.c:156: `DATEOID' undeclared (first use in this function)
> main.c:157: `TIMEOID' undeclared (first use in this function)
> main.c:158: `TIMESTAMPOID' undeclared (first use in this function)
> main.c:206: `CHAROID' undeclared (first use in this function)
> main.c:207: `BPCHAROID' undeclared (first use in this function)
> main.c:208: `VARCHAROID' undeclared (first use in this function)
> main.c:209: `TEXTOID' undeclared (first use in this function)
> main.c:210: `NAMEOID' undeclared (first use in this function)
> main.c:211: `BYTEAOID' undeclared (first use in this function)
> main.c:212: `CASHOID' undeclared (first use in this function)
> main.c: In function `open_database':
> main.c:240: `PGconn' undeclared (first use in this function)
> main.c:240: `conn' undeclared (first use in this function)
> main.c:241: `PGresult' undeclared (first use in this function)
> main.c:241: `res' undeclared (first use in this function)
> main.c:244: warning: implicit declaration of function `PQsetdbLogin'
> main.c:252: warning: implicit declaration of function `PQstatus'
> main.c:252: `CONNECTION_BAD' undeclared (first use in this function)
> main.c:254: warning: implicit declaration of function `PQerrorMessage'
> main.c:255: warning: implicit declaration of function `PQfinish'
> main.c:259: warning: implicit declaration of function `PQexec'
> main.c:262: `PGRES_COMMAND_OK' undeclared (first use in this function)
> main.c: In function `close_database':
> main.c:286: `PGconn' undeclared (first use in this function)
> main.c:286: `conn' undeclared (first use in this function)
> main.c:286: parse error before ')' token
> main.c: In function `format_value':
> main.c:326: `TRUE' undeclared (first use in this function)
> main.c:367: `FALSE' undeclared (first use in this function)
> main.c: In function `exec_query':
> main.c:389: `PGconn' undeclared (first use in this function)
> main.c:389: `conn' undeclared (first use in this function)
> main.c:389: parse error before ')' token
> main.c:390: `PGresult' undeclared (first use in this function)
> main.c:390: `res' undeclared (first use in this function)
> main.c:396: `TRUE' undeclared (first use in this function)
> main.c:401: `FALSE' undeclared (first use in this function)
> main.c: In function `query_init':
> main.c:422: `PGresult' undeclared (first use in this function)
> main.c:422: `res' undeclared (first use in this function)
> main.c:422: parse error before ')' token
> main.c:424: warning: implicit declaration of function `PQntuples'
> main.c:426: warning: implicit declaration of function `PQnfields'
> main.c: In function `query_release':
> main.c:443: `PGresult' undeclared (first use in this function)
> main.c:443: parse error before ')' token
> main.c: In function `query_fill':
> main.c:465: `PGresult' undeclared (first use in this function)
> main.c:465: `res' undeclared (first use in this function)
> main.c:465: parse error before ')' token
> main.c:472: warning: implicit declaration of function `PQgetvalue'
> main.c:472: warning: assignment makes pointer from integer without a cast
> main.c:477: warning: implicit declaration of function `PQgetisnull'
> main.c:478: warning: implicit declaration of function `PQftype'
> main.c: In function `field_name':
> main.c:498: warning: implicit declaration of function `PQfname'
> main.c:498: `PGresult' undeclared (first use in this function)
> main.c:498: parse error before ')' token
> main.c: In function `field_index':
> main.c:515: warning: implicit declaration of function `PQfnumber'
> main.c:515: `PGresult' undeclared (first use in this function)
> main.c:515: parse error before ')' token
> main.c: In function `field_type':
> main.c:532: `PGresult' undeclared (first use in this function)
> main.c:532: parse error
>

The /usr/include/pqsl path seems to be very strange ! Did they change the
location of Postgresql includes on Mandrake 9.1 ?

--
Benoît Minisini
mailto:gambas at ...1...


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list