[GRASS-dev] wxpython not compiling automatically in GRASS 7

Somehow, the wxpython stuff is not compiling automatically in the newest svn trunk (GRASS 7). If you cd to the appropriate directory and compile it, all is well however. So I supposed it is something in the build/make system.

Michael


C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)

www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

Michael Barton wrote:

Somehow, the wxpython stuff is not compiling automatically in the
newest svn trunk (GRASS 7).

It works for me.

What does the relevant portion of the make output look like?

--
Glynn Clements <glynn@gclements.plus.com>

Long since cleared my terminal. What happens is that I get to the end with Error 1 and the standard message to cd to the relevant directory (../gui/wxpython) and make again. When I do, the remainder compiles fine. Seems like it is somehow not getting the needed information to compile that directory.

This happened independently on 2 machines in the past 3 days.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

On Nov 1, 2011, at 8:14 PM, Glynn Clements wrote:

Michael Barton wrote:

Somehow, the wxpython stuff is not compiling automatically in the
newest svn trunk (GRASS 7).

It works for me.

What does the relevant portion of the make output look like?

--
Glynn Clements <glynn@gclements.plus.com>

I just did a new update and compile of GRASS. The only error I get is the following:

Errors in:
/Users/cmbarton/grass_dev/grass7_src/gui/wxpython

When I cd to that directory and make, it compiles the remaining stuff fine.

Michael
______________________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Tempe, AZ 85287-2402
USA

voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax: 480-965-7671(SHESC), 480-727-0709 (CSDC)
www: http://csdc.asu.edu, http://shesc.asu.edu
    http://www.public.asu.edu/~cmbarton

On Nov 1, 2011, at 8:14 PM, Glynn Clements wrote:

Michael Barton wrote:

Somehow, the wxpython stuff is not compiling automatically in the
newest svn trunk (GRASS 7).

It works for me.

What does the relevant portion of the make output look like?

--
Glynn Clements <glynn@gclements.plus.com>

Hi,

2011/11/2 Michael Barton <Michael.Barton@asu.edu>:

I just did a new update and compile of GRASS. The only error I get is the following:

Errors in:
/Users/cmbarton/grass_dev/grass7_src/gui/wxpython

When I cd to that directory and make, it compiles the remaining stuff fine.

I think it's related to [1].

Martin

[1] http://trac.osgeo.org/grass/changeset/48813/grass/trunk/include/Make/Html.make

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

2011/11/2 Martin Landa <landa.martin@gmail.com>:

When I cd to that directory and make, it compiles the remaining stuff fine.

I think it's related to [1].

Martin

[1] http://trac.osgeo.org/grass/changeset/48813/grass/trunk/include/Make/Html.make

concretely

make[6]: `/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/docs/html/wxGUI_nviz_toolbar.jpg'
is up to date.
/usr/bin/install -c -m 644 wxGUI_nviz_tools_light.jpg
/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/docs/html/wxGUI_nviz_tools_light.jpg
/usr/bin/install -c -m 644 wxGUI_nviz_tools_light.jpg
/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/docs/html/wxGUI_nviz_tools_light.jpg
/usr/bin/install -c -m 644 wxGUI_nviz_tools_light.jpg
/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/docs/html/wxGUI_nviz_tools_light.jpg
/usr/bin/install -c -m 644 wxGUI_nviz_tools_light.jpg
/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/docs/html/wxGUI_nviz_tools_light.jpg
/usr/bin/install: cannot create regular file
`/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/docs/html/wxGUI_nviz_tools_light.jpg':
File exists
make[6]: *** [/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/docs/html/wxGUI_nviz_tools_light.jpg]
Error 1
make[6]: Leaving directory `/usr/local/src/grass_trunk/gui/wxpython/docs'
make[5]: *** [/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/docs/html/wxGUI.html]
Error 2
make[5]: *** Waiting for unfinished jobs....

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

Michael Barton wrote:

>> Somehow, the wxpython stuff is not compiling automatically in the
>> newest svn trunk (GRASS 7).
>
> It works for me.
>
> What does the relevant portion of the make output look like?

Long since cleared my terminal.

When compiling, please redirect the output to a file, e.g.:

  make &> build.log

If you want to monitor progress, either use "tee":

  make 2>&1 | tee build.log

or run "make" in the background and use "tail" on the file:

  make &> build.log &
  tail -f build.log

What happens is that I get to the end with Error 1 and the standard
message to cd to the relevant directory (../gui/wxpython) and make
again. When I do, the remainder compiles fine. Seems like it is
somehow not getting the needed information to compile that
directory.

The problem should be apparent from the "make" output.

--
Glynn Clements <glynn@gclements.plus.com>