[GRASS5] February 19, 2001 Cygwin build

Markus, (List)

I have built a Cygwin version using source code checked
out on February 19, 2001. As with all of the builds, the
source is checked out into a new directory, a configure
is done, and the build is started.

Since the builds have been very stable, that is, no hand
tweaking to make them build, I have been building and
trying other software such as tcl, odbc, and postgresql.

I tried the tcltkgrass and the $window number is not
defined. It fails on line 1158 of gui.tcl; can anyone
give me some insight as to why it fails?

Markus, the grass5-20010219.zip is in the incoming
directory on your ftp server. Please update the binary
http://www.geog.uni-hannover.de/grass/grass5/binary/windows_cygnus/

John Huddleston

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

John,

On Mon, Feb 19, 2001 at 03:00:36PM -0700, John Huddleston wrote:

Markus, (List)

I have built a Cygwin version using source code checked
out on February 19, 2001. As with all of the builds, the
source is checked out into a new directory, a configure
is done, and the build is started.

thanks for the new build. Does it use IPC or already sockets?

Since the builds have been very stable, that is, no hand
tweaking to make them build, I have been building and
trying other software such as tcl, odbc, and postgresql.

I tried the tcltkgrass and the $window number is not
defined. It fails on line 1158 of gui.tcl; can anyone
give me some insight as to why it fails?

Sorry, no idea. Perhaps someone else?

Markus, the grass5-20010219.zip is in the incoming
directory on your ftp server. Please update the binary
Bereich Geographie – Naturwissenschaftliche Fakultät – Leibniz Universität Hannover

Yep, it's online now.

Thanks again,

Markus

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Hi John

John Huddleston wrote:

I tried the tcltkgrass and the $window number is not
defined. It fails on line 1158 of gui.tcl; can anyone
give me some insight as to why it fails?

It may have something to do with the "xlsclients -l". The $window
variable is set from the output of this command. On my SGI it looks like
this:

Window 0x340007a:
  Machine: impact1
  Name: plan
  Icon Name: 4:22p
  Command: plan
  Instance/Class: plan/Plan
Window 0x140000d:
'' Name: pch

  Icon Name: pch
  Command: gr_osview -N 'jhickey@pch' -D
/usr/people/jhickey/.grosview.pch
  Instance/Class: pch/Pch
Window 0x680000d:
'' Name: gr_osview
  Icon Name: gr_osview
  Command: gr_osview -D /usr/people/jhickey/.grosview.imp
  Instance/Class: gr_osview/Gr_osview

And so on for each window. The $window variable uses the lines that
start with "Window". I'm not sure if this command exists in Cygwin or
not. Maybe there is another alternative method to find the window id,
not sure though.

Sorry I couldn't be of better help.

--
Sincerely,

Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand

People who think they know everything are very irritating to those
of us who do. ---Anonymous

Jazz and Trek Rule!!!

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Markus, (Anyone)

It was configured --with-ipc

Do you have a recommendation for configure for Cygwin?

John

----- Original Message -----
From: "Markus Neteler" <neteler@geog.uni-hannover.de>
To: <grass5@geog.uni-hannover.de>
Sent: Tuesday, February 20, 2001 2:18 AM
Subject: Re: [GRASS5] February 19, 2001 Cygwin build

John,

On Mon, Feb 19, 2001 at 03:00:36PM -0700, John Huddleston wrote:
> Markus, (List)
>
> I have built a Cygwin version using source code checked
> out on February 19, 2001. As with all of the builds, the
> source is checked out into a new directory, a configure
> is done, and the build is started.

thanks for the new build. Does it use IPC or already sockets?

> Since the builds have been very stable, that is, no hand
> tweaking to make them build, I have been building and
> trying other software such as tcl, odbc, and postgresql.
>
> I tried the tcltkgrass and the $window number is not
> defined. It fails on line 1158 of gui.tcl; can anyone
> give me some insight as to why it fails?
Sorry, no idea. Perhaps someone else?

> Markus, the grass5-20010219.zip is in the incoming
> directory on your ftp server. Please update the binary
> http://www.geog.uni-hannover.de/grass/grass5/binary/windows_cygnus/

Yep, it's online now.

Thanks again,

Markus

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write

to:

minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Tue, Feb 20, 2001 at 12:49:45PM -0700, John Huddleston wrote:

Markus, (Anyone)

It was configured --with-ipc

Do you have a recommendation for configure for Cygwin?

It'd be helpful if you could tell us how/if GRASS works using the
--with-socket variant.

--
Eric G. Miller <egm2@jps.net>

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Eric, (Grass list)

OK, will do tomorrow.

John
----- Original Message -----
From: "Eric G. Miller" <egm2@jps.net>
To: "grass5" <grass5@geog.uni-hannover.de>
Sent: Tuesday, February 20, 2001 6:56 PM
Subject: Re: [GRASS5] February 19, 2001 Cygwin build

On Tue, Feb 20, 2001 at 12:49:45PM -0700, John Huddleston wrote:
> Markus, (Anyone)
>
> It was configured --with-ipc
>
> Do you have a recommendation for configure for Cygwin?

It'd be helpful if you could tell us how/if GRASS works using the
--with-socket variant.

--
Eric G. Miller <egm2@jps.net>

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Hi all,

I just built from yesterday's CVS source on Win98, using sockets.

I was wondering if anyone else is getting the following problem - when I try
to open the HTMLMAP and CELL drivers I get:

GRASS-GRID > d.mon CELL
Graphics driver [CELL] started
Wait for 'READY'
READY
ERROR: In SWITCHER.c: G_sock_listen() got error The descriptor is a file,
       not a socket
Socket is already in use or not accepting connections.
Use d.mon to select a monitor
Problem selecting CELL. Will try once more
Socket is already in use or not accepting connections.
Use d.mon to select a monitor

Cheers

Mike Thomas

----- Original Message -----
From: John Huddleston <jhudd@lamar.colostate.edu>
To: grass5 <grass5@geog.uni-hannover.de>
Sent: Wednesday, 21 February 2001 1:02 PM
Subject: Re: [GRASS5] February 19, 2001 Cygwin build

Eric, (Grass list)

OK, will do tomorrow.

John
----- Original Message -----
From: "Eric G. Miller" <egm2@jps.net>
To: "grass5" <grass5@geog.uni-hannover.de>
Sent: Tuesday, February 20, 2001 6:56 PM
Subject: Re: [GRASS5] February 19, 2001 Cygwin build

> On Tue, Feb 20, 2001 at 12:49:45PM -0700, John Huddleston wrote:
> > Markus, (Anyone)
> >
> > It was configured --with-ipc
> >
> > Do you have a recommendation for configure for Cygwin?
>
> It'd be helpful if you could tell us how/if GRASS works using the
> --with-socket variant.
>
> --
> Eric G. Miller <egm2@jps.net>
>
> ----------------------------------------
> If you want to unsubscribe from GRASS Development Team mailing list

write to:

> minordomo@geog.uni-hannover.de with
> subject 'unsubscribe grass5'

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write

to:

minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Mike,

From my experience trying to run the XDRIVER on Win98 I suspect your problems are caused by poor process management with Cygwin/Win98. XDRIVER and CELL run OK with Cygwin/WinNT, but I was unable to get the XDRIVER running on Win98 (I didn't try CELL at the time). Since both use fork(), I suspect they are doing something in that implementation that doesn't work reliably on Win 98.

When I start the XDRIVER using d.mon start on WinNT, the XDRIVER.exe is listed in the process list from the ps command. When I tried the same thing on Win98, it seemed to start the XDRIVER, but then issued some error messages (IPC version messages). The ps command did not list the XDRIVER.exe process.

Unfortunately a number of Cygwin API calls work on WinNT that don't work on Win98. I'm able to run both IPC and socket version of GRASS on WinNT.

Sorry I couldn't give you better news, but I think its a cygwin/Win98 problem.

Malcolm

Mike Thomas wrote:

Hi all,

I just built from yesterday's CVS source on Win98, using sockets.

I was wondering if anyone else is getting the following problem - when I try
to open the HTMLMAP and CELL drivers I get:

GRASS-GRID > d.mon CELL
Graphics driver [CELL] started
Wait for 'READY'
READY
ERROR: In SWITCHER.c: G_sock_listen() got error The descriptor is a file,
       not a socket
Socket is already in use or not accepting connections.
Use d.mon to select a monitor
Problem selecting CELL. Will try once more
Socket is already in use or not accepting connections.
Use d.mon to select a monitor

Cheers

Mike Thomas

----- Original Message -----
From: John Huddleston <jhudd@lamar.colostate.edu>
To: grass5 <grass5@geog.uni-hannover.de>
Sent: Wednesday, 21 February 2001 1:02 PM
Subject: Re: [GRASS5] February 19, 2001 Cygwin build

Eric, (Grass list)

OK, will do tomorrow.

John
----- Original Message -----
From: "Eric G. Miller" <egm2@jps.net>
To: "grass5" <grass5@geog.uni-hannover.de>
Sent: Tuesday, February 20, 2001 6:56 PM
Subject: Re: [GRASS5] February 19, 2001 Cygwin build

On Tue, Feb 20, 2001 at 12:49:45PM -0700, John Huddleston wrote:

Markus, (Anyone)

It was configured --with-ipc

Do you have a recommendation for configure for Cygwin?

It'd be helpful if you could tell us how/if GRASS works using the
--with-socket variant.

--
Eric G. Miller <egm2@jps.net>

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list

write to:

minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write

to:

minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

---------------------------------------- If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

---------------------------------------- If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Thu, Feb 22, 2001 at 09:21:03AM +1000, Mike Thomas wrote:

Hi all,

I just built from yesterday's CVS source on Win98, using sockets.

I was wondering if anyone else is getting the following problem - when I try
to open the HTMLMAP and CELL drivers I get:

GRASS-GRID > d.mon CELL
Graphics driver [CELL] started
Wait for 'READY'
READY
ERROR: In SWITCHER.c: G_sock_listen() got error The descriptor is a file,
       not a socket
Socket is already in use or not accepting connections.
Use d.mon to select a monitor
Problem selecting CELL. Will try once more
Socket is already in use or not accepting connections.
Use d.mon to select a monitor

I suspect the CygWin port to the 9x series doesn't support unix sockets.
I tried to check at http://sources.redhat.com/cygwin, but the server is
not responding at the moment...

--
Eric G. Miller <egm2@jps.net>

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'