Hi all,
I tried compiled GRASS_RC5 in ubuntu jaunty 64 bits with this options
CFLAGS=“-g -Wall” ./configure -with-cxx --enable-64bit -with-postgres
–with-postgres-includes=/usr/include/postgresql --with-postgres-libs=/usr/lib64
/postgresql/8.3/lib -with-mysql --with-mysql-includes=/usr/include/mysql
–with-mysql-libs=/usr/lib64/mysql --with-python=/usr/bin/python2.6-config -with-readline
–with-wxwidgets=/usr/bin/wx-config --with-gdal=/usr/bin/gdal-config
-with-tcltk-includes=/usr/include/tcl8.5 --with-freetype --with-freetype-includes=/usr/include
/freetype2 --enable-largefile --with-motif -with-proj-share=/usr/share/proj
But with this errors:
Errors in:
/usr/local/src/grass-6.4.0RC5/lib/nviz
/usr/local/src/grass-6.4.0RC5/gui/wxpython/nviz
/usr/local/src/grass-6.4.0RC5/visualization/nviz
/usr/local/src/grass-6.4.0RC5/visualization/nviz2/cmd
I’m not a expert linux user. Some advice about which is my mistake? and I tried with GRASS_RC4
and had the same errors!!
Thanks for your help!
Jhon Ortiz Trujillo
Bogotá - Colombia
Charlas más divertidas con el nuevo Windows Live Messenger
Hi,
2009/6/19 Jhon Ortiz <eljhonjhon@hotmail.com>:
[...]
/usr/local/src/grass-6.4.0RC5/lib/nviz
/usr/local/src/grass-6.4.0RC5/gui/wxpython/nviz
/usr/local/src/grass-6.4.0RC5/visualization/nviz
/usr/local/src/grass-6.4.0RC5/visualization/nviz2/cmd
I'm not a expert linux user. Some advice about which is my mistake? and I
tried with GRASS_RC4
and had the same errors!!
go to lib/nviz, run make and post there error log. Without log it's
quite impossible to say what is wrong.
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
Hi,
2009/6/19 Jhon Ortiz eljhonjhon@hotmail.com:
[…]
/usr/local/src/grass-6.4.0RC5/lib/nviz
/usr/local/src/grass-6.4.0RC5/gui/wxpython/nviz
/usr/local/src/grass-6.4.0RC5/visualization/nviz
/usr/local/src/grass-6.4.0RC5/visualization/nviz2/cmd
I’m not a expert linux user. Some advice about which is my mistake? and I
tried with GRASS_RC4
and had the same errors!!
go to lib/nviz, run make and post there error log. Without log it’s
quite impossible to say what is wrong.
Martin
This is the log,
john@cito:/usr/local/src/grass-6.4.0RC4/lib/nviz$ make
mkdir -p /usr/local/src/grass-6.4.0RC4/bin.
mkdir -p /usr/local/src/grass-6.4.0RC4/dist./include/grass
mkdir -p /usr/local/src/grass-6.4.0RC4/dist./lib
mkdir -p /usr/local/src/grass-6.4.0RC4/dist./bin
mkdir -p /usr/local/src/grass-6.4.0RC4/dist./etc
mkdir -p /usr/local/src/grass-6.4.0RC4/dist./driver
mkdir -p /usr/local/src/grass-6.4.0RC4/dist./driver/db
mkdir -p /usr/local/src/grass-6.4.0RC4/dist./fonts
test -d OBJ. || mkdir -p OBJ.
gcc -I/usr/local/src/grass-6.4.0RC4/dist./include -g -Wall -fPIC -DPACKAGE="“grasslibs”" -I/usr/include/gdal -DPACKAGE="“grasslibs”" -I/usr/local/src/grass-6.4.0RC4/dist./include -o OBJ./change_view.o -c change_view.c
change_view.c:19:27: error: grass/glocale.h: No such file or directory
change_view.c:20:24: error: grass/nviz.h: No such file or directory
change_view.c: In function ‘Nviz_resize_window’:
change_view.c:43: warning: implicit declaration of function ‘GS_set_viewport’
change_view.c:46: warning: implicit declaration of function ‘GS_set_draw’
change_view.c:46: error: ‘GSD_BACK’ undeclared (first use in this function)
change_view.c:46: error: (Each undeclared identifier is reported only once
change_view.c:46: error: for each function it appears in.)
change_view.c:47: warning: implicit declaration of function ‘GS_ready_draw’
change_view.c:48: warning: implicit declaration of function ‘GS_alldraw_wire’
change_view.c:49: warning: implicit declaration of function ‘GS_done_draw’
change_view.c: At top level:
change_view.c:61: error: expected ‘)’ before ‘’ token
change_view.c:97: error: expected ‘)’ before ‘’ token
change_view.c:138: error: expected ‘)’ before ‘’ token
change_view.c:168: error: expected ‘)’ before ‘’ token
change_view.c:188: error: expected ‘)’ before ‘’ token
change_view.c:205: error: expected ‘)’ before ‘’ token
make: *** [OBJ./change_view.o] Error 1
John
Disfruta antes que nadie del nuevo Windows Live Messenger
Hi,
2009/6/19 Jhon Ortiz <eljhonjhon@hotmail.com>:
john@cito:/usr/local/src/grass-6.4.0RC4/lib/nviz$ make
mkdir -p /usr/local/src/grass-6.4.0RC4/bin.
mkdir -p /usr/local/src/grass-6.4.0RC4/dist./include/grass
'dist.' is wrong dictionary, there is something wrong with the build system.
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
Jhon Ortiz wrote:
I tried compiled GRASS_RC5 in ubuntu jaunty 64 bits with this options
CFLAGS="-g -Wall" ./configure -with-cxx
All switches should have two dashes.
--enable-64bit -with-postgres \
--with-postgres-includes=/usr/include/postgresql --with-postgres-libs=/usr/lib64 \
/postgresql/8.3/lib
There shouldn't be a space before the \.
--
Glynn Clements <glynn@gclements.plus.com>
Hi,
2009/6/19 Jhon Ortiz eljhonjhon@hotmail.com:
john@cito:/usr/local/src/grass-6.4.0RC4/lib/nviz$ make
mkdir -p /usr/local/src/grass-6.4.0RC4/bin.
mkdir -p /usr/local/src/grass-6.4.0RC4/dist./include/grass
‘dist.’ is wrong dictionary, there is something wrong with the build system.
Martin
–
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
I started into the other new folder and gave me this error
(“john@cito:/usr/local/src/grass-6.4.0RC5/lib/nviz$ make
gcc -I/usr/local/src/grass-6.4.0RC5/dist.x86_64-unknown-linux-gnu/include -g -Wall -fPIC -DPACKAGE="“grasslibs”" -I/usr/include/gdal -DPACKAGE="“grasslibs”" -I/usr/local/src/grass-6.4.0RC5/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/change_view.o -c change_view.c
In file included from change_view.c:20:
/usr/local/src/grass-6.4.0RC5/dist.x86_64-unknown-linux-gnu/include/grass/nviz.h:21:69: error: X11/Xmu/StdCmap.h: No such file or directory
make: *** [OBJ.x86_64-unknown-linux-gnu/change_view.o] Error 1”)
I checked about X11/Xmu/StdCmap.h in this web http://packages.ubuntu.com/
and I found StdCmap.h is into the packages libxmu-headers libxmu-dev. I installed this packages and compiled OK
Thanks for your help!
John
Disfruta antes que nadie del nuevo Windows Live Messenger