[GRASS-dev] compilation of wx.psmap in GRASS 6.4.2

Hello all,

I tried to install the very welcomed WxGui for ps.map but it failed and I’m not sure how to fix it, although I think it should not be too complicated. I am running GRASS 6.4.2 from Ubuntu 10.10.

Thank you in advance, Manuel


from the wxGUI Command prompt I get a :

(Thu May 5 14:49:25 2011)
g.extension.py -s svnurl=https://svn.osgeo.org/grass/grass-addons extension=wx.psmap
Fetching ‘wx.psmap’ from GRASS-Addons SVN (be patient)…
A wx.psmap/xml
A wx.psmap/xml/menudata_psmap.xml
A wx.psmap/images
A wx.psmap/images/scalebar-simple.png
A wx.psmap/images/Makefile
A wx.psmap/images/scalebar-fancy.png
A wx.psmap/docs
A wx.psmap/docs/wxGUI.PsMap.html
A wx.psmap/docs/Makefile
A wx.psmap/gui_modules
A wx.psmap/gui_modules/psmap.py
A wx.psmap/gui_modules/psmap_dialogs.py
A wx.psmap/Makefile
A wx.psmap/README
Checked out revision 46198.
Compiling ‘wx.psmap’…
Makefile:5: /usr/lib/grass64/include/Make/Dir.make: No such
file or directory
Makefile:6: /usr/lib/grass64/include/Make/Python.make: No
such file or directory
make: *** No rule to make target
`/usr/lib/grass64/include/Make/Python.make’. Stop.
ERROR: Compilation failed, sorry. Please check above error messages.
(Thu May 5 14:49:38 2011) Command finished (12 sec)

···
-- 

----------------------------
INRA - InfoSol
Centre de recherche d'Orléans
2163 Avenue de la Pomme de Pin
CS 40001 ARDON
45075 ORLEANS Cedex 2
tel : (33) (0)2 38 41 48 21
fax : (33) (0)2 38 41 78 69
[http://www.gissol.fr](http://www.gissol.fr)
[http://bdat.orleans.inra.fr](http://bdat.orleans.inra.fr) 
----0----0------------------

On Thu, May 5, 2011 at 3:00 PM, manuel.martin
<manuel.martin@orleans.inra.fr> wrote:

Hello all,

I tried to install the very welcomed WxGui for ps.map but it failed and I'm
not sure how to fix it, although I think it should not be too complicated. I
am running GRASS 6.4.2 from Ubuntu 10.10.

Just to be sure: GRASS 6.4.2 hasn't been released yet. Do they
package GRASS 6.4.svn (which would be good in this case)?

Thank you in advance, Manuel

from the wxGUI Command prompt I get a :

(Thu May 5 14:49:25
2011)
g.extension.py -s svnurl=https://svn.osgeo.org/grass/grass-addons
extension=wx.psmap
Fetching 'wx.psmap' from GRASS-Addons SVN (be patient)...
A wx.psmap/xml
A wx.psmap/xml/menudata_psmap.xml
A wx.psmap/images
A wx.psmap/images/scalebar-simple.png
A wx.psmap/images/Makefile
A wx.psmap/images/scalebar-fancy.png
A wx.psmap/docs
A wx.psmap/docs/wxGUI.PsMap.html
A wx.psmap/docs/Makefile
A wx.psmap/gui_modules
A wx.psmap/gui_modules/psmap.py
A wx.psmap/gui_modules/psmap_dialogs.py
A wx.psmap/Makefile
A wx.psmap/README
Checked out revision 46198.
Compiling 'wx.psmap'...
Makefile:5: /usr/lib/grass64/include/Make/Dir.make: No such
file or directory

This indicates that the "grass-dev" package is missing on your
computer. Please report if that helps.

Markus

On 05/05/2011 07:19 PM, Markus Neteler wrote:

On Thu, May 5, 2011 at 3:00 PM, manuel.martin
<manuel.martin@orleans.inra.fr> wrote:

Hello all,

I tried to install the very welcomed WxGui for ps.map but it failed and I'm
not sure how to fix it, although I think it should not be too complicated. I
am running GRASS 6.4.2 from Ubuntu 10.10.

Just to be sure: GRASS 6.4.2 hasn't been released yet. Do they
package GRASS 6.4.svn (which would be good in this case)?

Yes it is GRASS 6.4.2svn (2011) which I am using right now. the rest of my comments below.

  g.version -c
GRASS 6.4.2svn (2011)

Thank you in advance, Manuel

from the wxGUI Command prompt I get a :

(Thu May 5 14:49:25
2011)
g.extension.py -s svnurl=https://svn.osgeo.org/grass/grass-addons
extension=wx.psmap
Fetching 'wx.psmap' from GRASS-Addons SVN (be patient)...
A wx.psmap/xml
A wx.psmap/xml/menudata_psmap.xml
A wx.psmap/images
A wx.psmap/images/scalebar-simple.png
A wx.psmap/images/Makefile
A wx.psmap/images/scalebar-fancy.png
A wx.psmap/docs
A wx.psmap/docs/wxGUI.PsMap.html
A wx.psmap/docs/Makefile
A wx.psmap/gui_modules
A wx.psmap/gui_modules/psmap.py
A wx.psmap/gui_modules/psmap_dialogs.py
A wx.psmap/Makefile
A wx.psmap/README
Checked out revision 46198.
Compiling 'wx.psmap'...
Makefile:5: /usr/lib/grass64/include/Make/Dir.make: No such
file or directory

This indicates that the "grass-dev" package is missing on your
computer. Please report if that helps.

The thing is that the only grass-dev package available for now with ubuntu 10.10 depends on GRASS (= 6.4.0~rc6+42329-1) which I am not using right now. Thus I failed installing grass-dev.
Should I downgrade to GRASS (= 6.4.0~rc6+42329-1), or where may I get a grass-dev package compatible with GRASS 6.4.2svn?

Thanks a lot, Manuel

Markus

--

----------------------------
INRA - InfoSol
Centre de recherche d'Orléans
2163 Avenue de la Pomme de Pin
CS 40001 ARDON
45075 ORLEANS Cedex 2
tel : (33) (0)2 38 41 48 21
fax : (33) (0)2 38 41 78 69
http://www.gissol.fr
http://bdat.orleans.inra.fr
----0----0------------------

Hello,

This indicates that the "grass-dev" package is missing on your
computer. Please report if that helps.

The thing is that the only grass-dev package available for now with
ubuntu 10.10 depends on GRASS (= 6.4.0~rc6+42329-1) which I am not
using right now. Thus I failed installing grass-dev.
Should I downgrade to GRASS (= 6.4.0~rc6+42329-1), or where may I get a
grass-dev package compatible with GRASS 6.4.2svn?

I have a PPA procress running for Ubuntu that automatically repackages
the all Ubuntu GRASS packages for the 6.4.x stable SVN repository. That
meas one there is a upstram change, it will be automatically updated in
the packages next day.

Hope this helps.

Hello,

I tried to install the very welcomed WxGui for ps.map but it failed and
I'm not sure how to fix it, although I think it should not be too
complicated. I am running GRASS 6.4.2 from Ubuntu 10.10.

I have an associated question:
How can I install and package this addon as part of the main source?

I would like to include it into the packages of the GRASS PPA:
https://launchpad.net/~grass/+archive/grass-stable