[GRASS-user] Re: grass-user Digest, Vol 25, Issue 22

Osman Yalçın YILMA Z yilmazy at istanbul.edu.tr
Wed May 14 17:13:01 EDT 2008


 
> HI,
> 
> Since 6-3.0.RC06, no more possible to compile vdigit.  The error message
> is :
> 
> .[benoit at slump vdigit]$ make
> c++
> -I/disques/linux-1/archive/GIS/grass/grass-6.4/cvn/grass-
> 6.4.svn_src_snapshot_2008_05_10/dist.i686-pc-linux-gnu/include  -g 
> -O2   -fPIC -I/usr/local/include -I/usr/local/include/python2.5 -
> I/usr/local/include/python2.5 -fno-strict-aliasing -DNDEBUG -g 
> -fwrapv -O3 -Wall -Wstrict-prototypes -
> I/usr/local/lib/wx/include/gtk2-unicode-debug-2.8 -
> I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
> -D__WXDEBUG__ -D__WXGTK__ -pthread   -DPACKAGE=\""grasslibs"\"  -
> I/disques/linux-1/archive/GIS/grass/grass-6.4/cvn/grass-
> 6.4.svn_src_snapshot_2008_05_10/dist.i686-pc-linux-gnu/include -o 
> OBJ.i686-pc-linux-gnu/grass6_wxvdigit_wrap.o -c grass6_wxvdigit_wrap.cpp
> cc1plus: attention : l'option de la ligne de commande
> "-Wstrict-prototypes" est valide pour Ada/C/ObjC mais pas pour C++
> grass6_wxvdigit_wrap.cpp: In function b��int
> SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)
> b��: grass6_wxvdigit_wrap.cpp:2051: erreur: invalid conversion from b��const
> char*b�� to b��char*b��
> grass6_wxvdigit_wrap.cpp: In function b��void
> SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, 
> swig_type_info**, swig_type_info**)b��: 
> grass6_wxvdigit_wrap.cpp:12866: erreur: invalid conversion from b��const
> char*b�� to b��char*b��
> make: *** [OBJ.i686-pc-linux-gnu/grass6_wxvdigit_wrap.o] Erreur 1
> 
> The links /usr/local/lib/libgdi.so
> to /usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so 
> is good.
> 
> I tried with various installations of wxWidget (enable or disable 
> debug, enable or disable share), without success.  Any idea ?
> 
> Benoit ANDRE
> GC)ologue - Hydrologue
> 
> ________________________________________________________________________
> 
> Bureau Conseil en GC)ologie
> Rue de Leuze, 433
> B-5300 VEZIN
> BELGIQUE
> 
> TC)l.: +32 81 58 26 11
> Fax.: +32 81 58 26 12
> Contacter...
> Bureau Conseil en GC)ologie 
> ________________________________________________________________________
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.osgeo.org/pipermail/grass-
> user/attachments/20080514/091005fb/attachment-0001.html
> 
> ------------------------------
> 
> Message: 3
> Date: Wed, 14 May 2008 16:51:52 +0200
> From: "Martin Landa" <landa.martin at gmail.com>
> Subject: Re: [GRASS-user] Vdigit
> To: benoit.andre at bcgeol.be
> Cc: grass-user at lists.osgeo.org
> Message-ID:
> 	<f8fe65c40805140751t2735788cx8297eb4b68858489 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hi,
> 
> 2008/5/14 Benoit ANDRE <benoit.andre at bcgeol.be>:
> 
> >  Since 6-3.0.RC06, no more possible to compile vdigit.  The error message is
> 
> which version of swig you are using?
> 
> swig -version
> 
> Martin
> 
> >  .[benoit at slump vdigit]$ make
> >  c++
> >
-I/disques/linux-1/archive/GIS/grass/grass-6.4/cvn/grass-6.4.svn_src_snapshot_2008_05_10/dist.i686-pc-linux-gnu/include
> > -g -O2   -fPIC -I/usr/local/include -I/usr/local/include/python2.5
> > -I/usr/local/include/python2.5 -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3
> > -Wall -Wstrict-prototypes -I/usr/local/lib/wx/include/gtk2-unicode-debug-2.8
> > -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> > -D__WXDEBUG__ -D__WXGTK__ -pthread   -DPACKAGE=\""grasslibs"\"
> >
-I/disques/linux-1/archive/GIS/grass/grass-6.4/cvn/grass-6.4.svn_src_snapshot_2008_05_10/dist.i686-pc-linux-gnu/include
> > -o OBJ.i686-pc-linux-gnu/grass6_wxvdigit_wrap.o -c grass6_wxvdigit_wrap.cpp
> >  cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes"
> > est valide pour Ada/C/ObjC mais pas pour C++
> >  grass6_wxvdigit_wrap.cpp: In function 'int
> > SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)':
> >  grass6_wxvdigit_wrap.cpp:2051: erreur: invalid conversion from 'const
> > char*' to 'char*'
> >  grass6_wxvdigit_wrap.cpp: In function 'void
> > SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**,
> > swig_type_info**)':
> >  grass6_wxvdigit_wrap.cpp:12866: erreur: invalid conversion from 'const
> > char*' to 'char*'
> >  make: *** [OBJ.i686-pc-linux-gnu/grass6_wxvdigit_wrap.o] Erreur 1
> >
> >  The links /usr/local/lib/libgdi.so to
> > /usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so is good.
> >
> >  I tried with various installations of wxWidget (enable or disable debug,
> > enable or disable share), without success.  Any idea ?
> >
> >
> >
> >
> >  Benoit ANDRE
> >  Giologue - Hydrologue ________________________________
> >
> >
> >
> >
> >
> >
> >  Bureau Conseil en Giologie
> >  Rue de Leuze, 433
> >  B-5300 VEZIN
> >  BELGIQUE
> >
> >  Til.: +32 81 58 26 11
> >  Fax.: +32 81 58 26 12
> >  Contacter...
> >  Bureau Conseil en Giologie ________________________________
> >
> > _______________________________________________
> >  grass-user mailing list
> >  grass-user at lists.osgeo.org
> >  http://lists.osgeo.org/mailman/listinfo/grass-user
> >
> >
> 
> -- 
> Martin Landa <landa.martin gmail.com> * 
> http://gama.fsv.cvut.cz/~landa *
> 
> ------------------------------
> 
> Message: 4
> Date: Wed, 14 May 2008 17:25:50 +0200
> From: "Martin Landa" <landa.martin at gmail.com>
> Subject: Re: [GRASS-user] Vdigit
> To: benoit.andre at bcgeol.be
> Cc: GRASS users list <grass-user at lists.osgeo.org>,	GRASS developers
> 	list <grass-dev at lists.osgeo.org>
> Message-ID:
> 	<f8fe65c40805140825u5e4d8aa8t4e40ac295680ba9a at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hi,
> 
> 2008/5/14 Benoit ANDRE <benoit.andre at bcgeol.be>:
> 
> >  SWIG Version 1.3.29
> >
> >  Compiled with g++ [i686-redhat-linux-gnu]
> 
> I remember I had some problems compiling wxvdigit with older versions
> of swig in the past. Now I am using >= 1.3.31. Can you try to compile
> with newer version of swig?
> 
> Martin
> >
> >  Le mercredi 14 mai 2008 ` 16:51 +0200, Martin Landa a icrit :
> >
> >  Hi,
> >
> > 2008/5/14 Benoit ANDRE <benoit.andre at bcgeol.be>:
> >
> > > Since 6-3.0.RC06, no more possible to compile vdigit. The error message is
> >
> > which version of swig you are using?
> >
> > swig -version
> >
> > Martin
> >
> > > .[benoit at slump vdigit]$ make
> > > c++
> > >
> >
-I/disques/linux-1/archive/GIS/grass/grass-6.4/cvn/grass-6.4.svn_src_snapshot_2008_05_10/dist.i686-pc-linux-gnu/include
> > > -g -O2 -fPIC -I/usr/local/include -I/usr/local/include/python2.5
> > > -I/usr/local/include/python2.5 -fno-strict-aliasing -DNDEBUG -g -fwrapv
> > -O3
> > > -Wall -Wstrict-prototypes
> > -I/usr/local/lib/wx/include/gtk2-unicode-debug-2.8
> > > -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> > > -D__WXDEBUG__ -D__WXGTK__ -pthread -DPACKAGE=\""grasslibs"\"
> > >
> >
-I/disques/linux-1/archive/GIS/grass/grass-6.4/cvn/grass-6.4.svn_src_snapshot_2008_05_10/dist.i686-pc-linux-gnu/include
> > > -o OBJ.i686-pc-linux-gnu/grass6_wxvdigit_wrap.o -c
> > grass6_wxvdigit_wrap.cpp
> > > cc1plus: attention : l'option de la ligne de commande
> > "-Wstrict-prototypes"
> > > est valide pour Ada/C/ObjC mais pas pour C++
> > > grass6_wxvdigit_wrap.cpp: In function 'int
> > > SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)':
> > > grass6_wxvdigit_wrap.cpp:2051: erreur: invalid conversion from 'const
> > > char*' to 'char*'
> > > grass6_wxvdigit_wrap.cpp: In function 'void
> > > SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**,
> > > swig_type_info**)':
> > > grass6_wxvdigit_wrap.cpp:12866: erreur: invalid conversion from 'const
> > > char*' to 'char*'
> > > make: *** [OBJ.i686-pc-linux-gnu/grass6_wxvdigit_wrap.o] Erreur 1
> > >
> > > The links /usr/local/lib/libgdi.so to
> > > /usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so is good.
> > >
> > > I tried with various installations of wxWidget (enable or disable debug,
> > > enable or disable share), without success. Any idea ?
> > >
> > >
> > >
> > >
> > > Benoit ANDRE
> > > Giologue - Hydrologue ________________________________
> > >
> > >
> > >
> > >
> > >
> > >
> > > Bureau Conseil en Giologie
> > > Rue de Leuze, 433
> > > B-5300 VEZIN
> > > BELGIQUE
> > >
> > > Til.: +32 81 58 26 11
> > > Fax.: +32 81 58 26 12
> > > Contacter...
> > > Bureau Conseil en Giologie ________________________________
> > >
> > > _______________________________________________
> > > grass-user mailing list
> > > grass-user at lists.osgeo.org
> > > http://lists.osgeo.org/mailman/listinfo/grass-user
> > >
> > >
> >
> >
> >
> >
> >
> >
> >  Benoit ANDRE
> >  Giologue - Hydrologue ________________________________
> >
> >
> >
> >
> >
> >
> >  Bureau Conseil en Giologie
> >  Rue de Leuze, 433
> >  B-5300 VEZIN
> >  BELGIQUE
> >
> >  Til.: +32 81 58 26 11
> >  Fax.: +32 81 58 26 12
> >  Contacter...
> >  Bureau Conseil en Giologie ________________________________
> >
> 
> -- 
> Martin Landa <landa.martin gmail.com> * 
> http://gama.fsv.cvut.cz/~landa *
> 
> ------------------------------
> 
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
> 
> End of grass-user Digest, Vol 25, Issue 22
> ******************************************


--
I.U. WebMail Servisi


I had similar problem also and when I changed the link /usr/local/lib/libgdi
/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so it is solved
in debian64. Please try python 2.5.

.


More information about the grass-user mailing list