errore make

Stefano Canepa sc@linux.it
Ven 19 Gen 2007 15:32:58 CET


Il giorno ven, 19/01/2007 alle 09.59 +0100, Luca Delucchi ha scritto:

> Alla fine l'errore è questo:
> 
>  *In file included from ogrpgdriver.cpp:48:
> ogr_pg.h:123:22: error: libpq-fe.h: No such file or directory
> ogr_pg.h:149: error: 'Oid' does not name a type
> ogr_pg.h:150: error: expected ';' before '(' token
> ogr_pg.h:157: error: ISO C++ forbids declaration of 'PGresult' with no type
> ogr_pg.h:157: error: expected ';' before '*' token
> ogr_pg.h:273: error: ISO C++ forbids declaration of 'PGresult' with no type
> ogr_pg.h:273: error: expected ';' before '*' token
> ogr_pg.h:280: error: 'PGresult' has not been declared
> ogr_pg.h:314: error: ISO C++ forbids declaration of 'PGconn' with no type
> ogr_pg.h:314: error: expected ';' before '*' token
> ogr_pg.h:318: error: 'Oid' does not name a type
> ogr_pg.h:337: error: ISO C++ forbids declaration of 'PGconn' with no type
> ogr_pg.h:337: error: expected ';' before '*' token
> ogr_pg.h:339: error: expected `;' before 'int'
> ogr_pg.h:363: error: 'Oid' does not name a type
> make[3]: *** [../o/ogrpgdriver.o] Error 1
> make[3]: Leaving directory `/home/luca/Desktop/gdal-1.3.2
> /ogr/ogrsf_frmts/pg'
> make[2]: *** [pg-target] Error 2
> make[2]: Leaving directory `/home/luca/Desktop/gdal-1.3.2/ogr/ogrsf_frmts'
> make[1]: *** [sublibs] Error 2
> make[1]: Leaving directory `/home/luca/Desktop/gdal-1.3.2/ogr'
> make: *** [ogr-target] Error 2
> *
> da quello che ho capito mancherebbe il file libpq-fe.h ma ho installa to
> tutti i pacchetti che lo contengono perciò ora ci dovrebbe essere.*
> *
> 

Devi vedere come è incluso nel codice sorgente.

Ciao
sc

-- 
Stefano Canepa aka sc: sc@linux.it  http://www.stefanocanepa.it
Three great virtues of a programmer: laziness, impatience and hubris.
Le tre grandi virtù di un programmatore: pigrizia, impazienza e
arroganza. (Larry Wall)

-------------- parte successiva --------------
Un allegato non testuale è stato rimosso....
Nome:        non disponibile
Tipo:        application/pgp-signature
Dimensione:  189 bytes
Descrizione: Questa =?ISO-8859-1?Q?è?	firmata digitalmente
Url:         http://lists.linux.it/pipermail/glug/attachments/20070119/9d8fbcdf/attachment.pgp


Maggiori informazioni sulla lista glug