Details Ticket 4127


Comment | Reply | Take | Open


Serial Number 4127
Subject Missing/moved includes in 6.1.cvs.2006.2.25?
Area grass6
Queue grass
Requestors giorgio.agugiaro@unipd.it
Owner none
Status resolved
Last User Contact Wed Mar 15 12:03:59 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Mon May 15 15:22:29 2006 (2 yr ago)
Created Thu Mar 2 09:53:29 2006 (2 yr ago)

Transaction History Ticket 4127


Thu, Mar 2 2006 09:53:29    Request created by guest  
Subject: Missing/moved includes in 6.1.cvs.2006.2.25?

Platform: GNU/Linux/x86
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 6.1.cvs_src_2006_02_25

Problem 1:
compiling gdal 1.3.1 over the latest grass fails, since it doesn't find imagery.h,
gis.h e gprojects.h (although no apparent error during ./configure)
workaround (?): I linked those files back from grass-6.1.cvs/include/grass to
grass-6.1.cvs/include

Problem 2:
Compiling qgis 0.7.4 over the same grass doesn't fail, but no plugins at all
are created or accessible via qgis.
I guess it depends on the same reasons, anyway I couldn't fix it.

Any idea?

I have just noticed that the content of the include directories has changed (being
"reduced").
Since I have repeatedly completed all source installation process with success
in the past weeks, I guess these two problems are due to new grass.

thank you for any help!

giorgio

--------------
Some specs:
On Mandriva Linux 2006, Installation steps:
proj, geos, sqlite, postgres properly installed

gdal 1.3.1 (first run)
./configure & make & make install ---------> no problem

grass 6.1.cvs_2006_02_25
CFLAGS="-O3 -mtune=pentium4 -Wall" LDFLAGS="-s" ./configure --with-postgres-includes=/usr/local/pgsq
l/include
--with-postgres-libs=/usr/local/pgsql/lib --with-cxx --with-freetype --with-freetype-includes=/usr/i
nclude/freetype2
--with-motif --with-nls --with-x --with-glw --enable-largefile --with-opendwg
--with-opendwg-includes=/usr/local/opendwg --with-opendwg-libs=/usr/local/opendwg
--with-sqlite --with-sqlite-includes=/usr/local/sqlite/include --with-sqlite-libs=/usr/local/sqlite/
lib
--with-gdal=/usr/local/bin/gdal-config
make & make install ---------------------> no problem

gdal 1.3.1 (second run)
./configure --with-pg=/usr/local/pgsql/bin/pg_config --with-sqlite=/usr/local/sqlite
--with-grass=/usr/local/grass-6.1.cvs  --with-geos=/usr/local/bin/geos-config
make             ------------------------> make fails without workaround
make install


postgis 1.1.1
./configure --prefix=/usr/local --with-pgsql=/usr/local/pgsql/bin/pg_config --with-geos=/usr/local/b
in/geos-config
--with-proj
make & make install  --------------------> ok

qgis 0.7.4
CFLAGS="-O3 -mtune=pentium4 -Wall" LDFLAGS="-s" ./configure --prefix=/usr/local/qgis
--with-grass=/usr/local/grass-6.1.cvs --with-sqlite3dir=/usr/local/sqlite --with-postgresql=/usr/loc
al/pgsql/bin
make & make install  --------------------> ok (or it seems like that ;-)

of course, /etc/ld.so.conf has been properly updated and ldconfig run.

however, no plugins in qgis.
note that just upgrading grass on an already fully working machine doesn't cause
any problems to qgis.





Wed, Mar 15 2006 12:03:59    Mail sent by guest  
Problem "solved":

after make-installing grass 6.1.cvs, it's necessary to link all files in
grass-6.1.cvs/include/grass to grass-6.1.cvs/include

compiling gdal (second run) and qgis will work.

liebe gruesse

GA
Mon, May 15 2006 15:22:29    Status changed to resolved by mneteler  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request