[Gfoss] Gfoss Digest, Vol 19, Issue 33

Luca Delucchi lucadeluge at gmail.com
Thu Jan 18 17:11:51 CET 2007


2007/1/18, Lorenzo Perone <lorenzo.perone a gmail.com>:
>
> Se mi dai più indicazioni; es: Ubuntu Edgy? che repository stai
> utilizzando? Che pacchetti vuoi ricompilare, e se con le
> configurazioni standard oppure con supporti esterni (es ecw), ti posso
> essere d'aiuto.


Si ho la ubuntu edgy 64 bit, sto cercando di compilare dall'inizio tutti i
programmi GIS che mi serviranno per il corso
(grass6.2,qgis0.8,mapserver,postgis).
Cosi ho cancellato i vecchi software ed ho creato una cartella sulla home in
cui salvare tutti i programmi (questo mi è stato consigliato). Ho installato
PROJ4, le librerie ECW ed ora stavo installando le GDAL. Ho due problemi,
primo[1] sapere se il configure è corretto, perche ci sono alcune cose che
mi sembrano strane, il secondo[2] è un errore che mi  viene dato al  make
install

[1] Statically link PROJ.4:    no

  enable OGR building:       yes

[2] *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
*
Sembrerebbe mancare il file libpq-fe.h ma ho installato i pacchetti che lo
contenevano perciò ora c'è ma continua a darmi gli stessi errori!

Ciao e grazie
**
>
> Lorenzo
>
> > Ciao a tutti, sono dietro ad installare le ultime versioni dei vari
> > software. Uso Ubuntu 64 bit e sto cercando di installare tutto
> compilando.
> >
> > questo ? il risultato del ./configure per le gdal, secondo voi ?
> corretto?
> > perch? quando vado ad installarle poi mi da un errore su ogr, ho
> evidenziato
> > quello che potrebbe essere l'errore ma non so che farci.
> >
>
> _______________________________________________
> Gfoss mailing list
> Gfoss a faunalia.com
> http://www.faunalia.com/cgi-bin/mailman/listinfo/gfoss
>
-------------- parte successiva --------------
Un allegato HTML ? stato rimosso...
URL: http://www.faunalia.com/pipermail/gfoss/attachments/20070118/bc8e519c/attachment.htm 


More information about the Gfoss mailing list