Opened 15 years ago
Closed 15 years ago
#1046 closed defect (worksforme)
Compile error in gui/wxpython using make -j8
Reported by: | huhabla | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 7.0.0 |
Component: | Compiling | Version: | svn-trunk |
Keywords: | make -j8, wxGUI | Cc: | |
CPU: | x86-32 | Platform: | Linux |
Description
Using "make -j8" for compilation produces and error in gui/wxpython. Running make again solves the problem. Maybe a dependency issue?
make[1]: Leaving directory `/home/soeren/src/grass_dev/grass_trunk' GRASS GIS compilation log ------------------------- Started compilation: Mi 28. Apr 12:29:36 CEST 2010 -- Errors in: /home/soeren/src/grass_dev/grass_trunk/gui/wxpython -- In case of errors please change into the directory with error and run 'make'. If you get multiple errors, you need to deal with them in the order they appear in the error log. If you get an error building a library, you will also get errors from anything which uses the library. -- Finished compilation: Mi 28. Apr 12:30:38 CEST 2010 make: *** [default] Fehler 1
Change History (6)
comment:1 by , 15 years ago
Component: | wxGUI → Compiling |
---|
follow-up: 3 comment:2 by , 15 years ago
follow-up: 4 comment:3 by , 15 years ago
Replying to glynn:
Replying to huhabla:
Using "make -j8" for compilation produces and error in gui/wxpython. Running make again solves the problem. Maybe a dependency issue?
Please provide the error message.
Here it is:
GISBASE="/1/gebbert/src/grass_dev/grass_trunk/dist.i686-pc-linux-gnu" \ python gui_modules/menudata.py > menustrings.py python -m py_compile /1/gebbert/src/grass_dev/grass_trunk/dist.i686-pc-linux-gnu/etc/gui/wxpython/gui_modules/globalvar.py Traceback (most recent call last): File "gui_modules/menudata.py", line 40, in <module> import globalvar File "/1/gebbert/src/grass_dev/grass_trunk/gui/wxpython/gui_modules/globalvar.py", line 25, in <module> import grass.script as grass ImportError: No module named grass.script make[3]: *** [menustrings.py] Error 1
follow-up: 5 comment:4 by , 15 years ago
Replying to huhabla:
import grass.script as grass ImportError: No module named grass.script
I think that it needs this:
--- gui/wxpython/Makefile (revision 41749) +++ gui/wxpython/Makefile (working copy) @@ -34,6 +34,7 @@ menustrings.py: gui_modules/menudata.py xml/menudata.xml GISBASE="$(GISBASE)" \ + PYTHONPATH="$(GISBASE)/etc/python" \ $(PYTHON) $< > $@ #doxygen:
comment:6 by , 15 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Replying to huhabla:
Please provide the error message.