Mon, Apr 29 2002
19:00:57
|
|
Request created by neteler@itc.it
|
|
Return-Path |
<neteler@itc.it>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Mon, 29 Apr 2002 19:00:53 +0200
|
From |
Markus Neteler <neteler@itc.it>
|
To |
grass-bugs@intevation.de
|
Subject |
motif and configure
|
Message-ID |
<20020429190053.A6139@itc.it>
|
Mime-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Disposition |
inline
|
User-Agent |
Mutt/1.2.5.1i
|
X-Spam-Status |
No, hits=0 required=5 tests= |
Hi,
it seems that there are problems to pick up the
MOTIF/lesstif libs/includes:
configure
[...]
checking whether to use Motif... yes
checking for location of Motif includes...
/usr/X11R6/LessTif/Motif1.2/include
checking for Xm/Xm.h... yes
checking for location of Motif library... /usr/X11R6/LessTif/Motif1.2/lib
checking for XmStringCreate in -lXm... yes
[...]
so far so nice. But
grep OPEN src/CMD/head/*
src/CMD/head/head.i686-pc-linux-gnu:OPENGLINC =
src/CMD/head/head.i686-pc-linux-gnu:OPENGLwINC =
src/CMD/head/head.i686-pc-linux-gnu:OPENGLLIB = -lGL
src/CMD/head/head.i686-pc-linux-gnu:OPENGLULIB = -lGLU
does not contain the directories. Therefore
r3.showdspf.opengl
does not compile.
Markus
|
|
Mon, Apr 29 2002
21:40:05
|
|
Mail sent by glynn.clements@virgin.net
|
|
Return-Path |
<glynn.clements@virgin.net>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
From |
Glynn Clements <glynn.clements@virgin.net>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Transfer-Encoding |
7bit
|
Message-ID |
<15565.40923.522502.831866@cerise.nosuchdomain.co.uk>
|
Date |
Mon, 29 Apr 2002 20:32:43 +0100
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #1033] (grass) motif and configure
|
In-Reply-To |
<20020429170058.354C213A1C@lists.intevation.de>
|
References |
<20020429170058.354C213A1C@lists.intevation.de>
|
X-Mailer |
VM 6.94 under 21.4 (patch 4) "Artificial Intelligence (candidate #1)" XEmacs Lucid
|
X-Spam-Status |
No, hits=0 required=5 tests= |
Request Tracker wrote:
> it seems that there are problems to pick up the
> MOTIF/lesstif libs/includes:
>
> configure
> [...]
> checking whether to use Motif... yes
> checking for location of Motif includes...
> /usr/X11R6/LessTif/Motif1.2/include
> checking for Xm/Xm.h... yes
> checking for location of Motif library... /usr/X11R6/LessTif/Motif1.2/lib
> checking for XmStringCreate in -lXm... yes
> [...]
>
> so far so nice. But
>
> grep OPEN src/CMD/head/*
> src/CMD/head/head.i686-pc-linux-gnu:OPENGLINC =
> src/CMD/head/head.i686-pc-linux-gnu:OPENGLwINC =
> src/CMD/head/head.i686-pc-linux-gnu:OPENGLLIB = -lGL
> src/CMD/head/head.i686-pc-linux-gnu:OPENGLULIB = -lGLU
>
> does not contain the directories.
1. Are we discussing OpenGL or Motif here?
2. It probably doesn't need any directories. Any program using either
OpenGL or Motif will have to include the appropriate X flags (neither
library will work without X) so, if those libraries are in
/usr/X11R6/lib, no additional switches need to be added by configure.
Given the configure output, I *would* expect to see directories for
the Motif libraries, e.g. something like:
XMLIB = -L/usr/X11R6/LessTif/Motif1.2/lib -lXm
> Therefore
> r3.showdspf.opengl
> does not compile.
3. Or are we discussing the OpenGL widget library (lib*GLw*)? Which is
a separate problem to either OpenGL or Motif.
--
Glynn Clements <glynn.clements@virgin.net>
|
|
Tue, Apr 30 2002
08:49:15
|
|
Mail sent by neteler@itc.it
|
|
Return-Path |
<neteler@itc.it>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Tue, 30 Apr 2002 08:48:50 +0200
|
From |
Markus Neteler <neteler@itc.it>
|
To |
Glynn Clements <glynn.clements@virgin.net>
|
Cc |
Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #1033] (grass) motif and configure
|
Message-ID |
<20020430084850.A1251@itc.it>
|
Mail-Followup-To |
Glynn Clements <glynn.clements@virgin.net>, Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
|
References |
<20020429170058.354C213A1C@lists.intevation.de> <15565.40923.522502.831866@cerise.nosuchdomain.co.uk>
|
Mime-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Disposition |
inline
|
User-Agent |
Mutt/1.2.5.1i
|
In-Reply-To |
<15565.40923.522502.831866@cerise.nosuchdomain.co.uk>; from glynn.clements@virgin.net on Mon, Apr 29, 2002 at 08:32:43PM +0100
|
X-Spam-Status |
No, hits=0 required=5 tests= |
On Mon, Apr 29, 2002 at 08:32:43PM +0100, Glynn Clements wrote:
>
> Request Tracker wrote:
>
> > it seems that there are problems to pick up the
> > MOTIF/lesstif libs/includes:
> >
> > configure
> > [...]
> > checking whether to use Motif... yes
> > checking for location of Motif includes...
> > /usr/X11R6/LessTif/Motif1.2/include
> > checking for Xm/Xm.h... yes
> > checking for location of Motif library... /usr/X11R6/LessTif/Motif1.2/lib
> > checking for XmStringCreate in -lXm... yes
> > [...]
> >
> > so far so nice. But
> >
> > grep OPEN src/CMD/head/*
> > src/CMD/head/head.i686-pc-linux-gnu:OPENGLINC =
> > src/CMD/head/head.i686-pc-linux-gnu:OPENGLwINC =
> > src/CMD/head/head.i686-pc-linux-gnu:OPENGLLIB = -lGL
> > src/CMD/head/head.i686-pc-linux-gnu:OPENGLULIB = -lGLU
> >
> > does not contain the directories.
>
> 1. Are we discussing OpenGL or Motif here?
Aehm, sorry - I was obviously confused.
> 2. It probably doesn't need any directories. Any program using either
> OpenGL or Motif will have to include the appropriate X flags (neither
> library will work without X) so, if those libraries are in
> /usr/X11R6/lib, no additional switches need to be added by configure.
>
> Given the configure output, I *would* expect to see directories for
> the Motif libraries, e.g. something like:
>
> XMLIB = -L/usr/X11R6/LessTif/Motif1.2/lib -lXm
>
> > Therefore
> > r3.showdspf.opengl
> > does not compile.
The MOTIF issue is solved now (I have adjusted the Gmakefile).
> 3. Or are we discussing the OpenGL widget library (lib*GLw*)? Which is
> a separate problem to either OpenGL or Motif.
Yes, this problem remains (GLwCreateMDrawingArea is needed for compilation):
configure ... --with-glw
[...]
checking whether to use GLw... yes
checking for location of GLw includes...
checking for GL/GLwMDrawA.h... yes
checking for location of GLw library...
checking for GLwCreateMDrawingArea in -lGLw... no
checking for GLwCreateM1DrawingArea in -lGLw... no
checking for GLwCreateM2DrawingArea in -lGLw... no
checking for GLwCreateMDrawingArea in -lGLwM... no
checking for GLwCreateM1DrawingArea in -lGLwM... no
checking for GLwCreateM2DrawingArea in -lGLwM... no
configure: error: *** Unable to locate GLwM library.
On my Redhat box is
locate GLw
/usr/share/man/man3/GLwCreateMDrawingArea.3x.gz
/usr/share/man/man3/GLwDrawingArea.3x.gz
/usr/share/man/man3/GLwDrawingAreaMakeCurrent.3x.gz
/usr/share/man/man3/GLwDrawingAreaSwapBuffers.3x.gz
/usr/lib/libMesaGLw.a
/usr/include/GL/GLwDrawA.h
/usr/include/GL/GLwDrawAP.h
/usr/include/GL/GLwMDrawA.h
/usr/include/GL/GLwMDrawAP.h
Hopefully this is of help for you.
Thanks,
Markus
|
|
Tue, Apr 30 2002
20:33:02
|
|
Mail sent by glynn.clements@virgin.net
|
|
Return-Path |
<glynn.clements@virgin.net>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
From |
Glynn Clements <glynn.clements@virgin.net>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Transfer-Encoding |
7bit
|
Message-ID |
<15566.56198.252367.875573@cerise.nosuchdomain.co.uk>
|
Date |
Tue, 30 Apr 2002 18:59:34 +0100
|
To |
Markus Neteler <neteler@itc.it>
|
Cc |
Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #1033] (grass) motif and configure
|
In-Reply-To |
<20020430084850.A1251@itc.it>
|
References |
<20020429170058.354C213A1C@lists.intevation.de> <15565.40923.522502.831866@cerise.nosuchdomain.co.uk> <20020430084850.A1251@itc.it>
|
X-Mailer |
VM 6.94 under 21.4 (patch 4) "Artificial Intelligence (candidate #1)" XEmacs Lucid
|
X-Spam-Status |
No, hits=0 required=5 tests= |
Markus Neteler wrote:
> > 3. Or are we discussing the OpenGL widget library (lib*GLw*)? Which is
> > a separate problem to either OpenGL or Motif.
>
> Yes, this problem remains (GLwCreateMDrawingArea is needed for compilation):
>
> configure ... --with-glw
> [...]
> checking whether to use GLw... yes
> checking for location of GLw includes...
> checking for GL/GLwMDrawA.h... yes
> checking for location of GLw library...
> checking for GLwCreateMDrawingArea in -lGLw... no
> checking for GLwCreateM1DrawingArea in -lGLw... no
> checking for GLwCreateM2DrawingArea in -lGLw... no
> checking for GLwCreateMDrawingArea in -lGLwM... no
> checking for GLwCreateM1DrawingArea in -lGLwM... no
> checking for GLwCreateM2DrawingArea in -lGLwM... no
> configure: error: *** Unable to locate GLwM library.
>
> On my Redhat box is
> locate GLw
[snip]
> /usr/lib/libMesaGLw.a
I'll check for that as well, but does that library include the Motif
widget (use "nm /usr/lib/libMesaGLw.a")? If not, you will need
libMesaGLwM.a.
--
Glynn Clements <glynn.clements@virgin.net>
|
|
Thu, May 2 2002
09:04:59
|
|
Mail sent by neteler@itc.it
|
|
Return-Path |
<neteler@itc.it>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Resent-Message-Id |
<200205020704.g4274tK20875@thuille.itc.it.>
|
From |
Markus Neteler <neteler@itc.it>
|
To |
grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #1033] (grass) motif and configure
|
Message-ID |
<20020502090325.C20803@itc.it>
|
Mail-Followup-To |
grass5@grass.itc.it
|
References |
<20020429170058.354C213A1C@lists.intevation.de> <15565.40923.522502.831866@cerise.nosuchdomain.co.uk> <20020430084850.A1251@itc.it> <15566.56198.252367.875573@cerise.nosuchdomain.co.uk>
|
Mime-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Disposition |
inline
|
User-Agent |
Mutt/1.2.5.1i
|
In-Reply-To |
<15566.56198.252367.875573@cerise.nosuchdomain.co.uk>; from glynn.clements@virgin.net on Tue, Apr 30, 2002 at 06:59:34PM +0100
|
Sender |
grass5-admin@grass.itc.it
|
Errors-To |
grass5-admin@grass.itc.it
|
X-BeenThere |
grass5@grass.itc.it
|
X-Mailman-Version |
2.0.5
|
Precedence |
bulk
|
List-Help |
<mailto:grass5-request@grass.itc.it?subject=help>
|
List-Post |
<mailto:grass5@grass.itc.it>
|
List-Subscribe |
<http://grass.itc.it/mailman/listinfo/grass5>, <mailto:grass5-request@grass.itc.it?subject=subscribe>
|
List-Id |
GRASS 5 Developers mailing list <grass5.grass.itc.it>
|
List-Unsubscribe |
<http://grass.itc.it/mailman/listinfo/grass5>, <mailto:grass5-request@grass.itc.it?subject=unsubscribe>
|
List-Archive |
<http://grass.itc.it/pipermail/grass5/>
|
Date |
Thu, 2 May 2002 09:03:25 +0200
|
Resent-From |
neteler@itc.it
|
Resent-Date |
Thu, 2 May 2002 09:04:55 +0200
|
Resent-To |
grass-bugs@intevation.de
|
X-Spam-Status |
No, hits=0 required=5 tests= |
On Tue, Apr 30, 2002 at 06:59:34PM +0100, Glynn Clements wrote:
>
> Markus Neteler wrote:
>
> > > 3. Or are we discussing the OpenGL widget library (lib*GLw*)? Which is
> > > a separate problem to either OpenGL or Motif.
> >
> > Yes, this problem remains (GLwCreateMDrawingArea is needed for compilation):
> >
> > configure ... --with-glw
> > [...]
> > checking whether to use GLw... yes
> > checking for location of GLw includes...
> > checking for GL/GLwMDrawA.h... yes
> > checking for location of GLw library...
> > checking for GLwCreateMDrawingArea in -lGLw... no
> > checking for GLwCreateM1DrawingArea in -lGLw... no
> > checking for GLwCreateM2DrawingArea in -lGLw... no
> > checking for GLwCreateMDrawingArea in -lGLwM... no
> > checking for GLwCreateM1DrawingArea in -lGLwM... no
> > checking for GLwCreateM2DrawingArea in -lGLwM... no
> > configure: error: *** Unable to locate GLwM library.
> >
> > On my Redhat box is
> > locate GLw
>
> [snip]
>
> > /usr/lib/libMesaGLw.a
>
> I'll check for that as well, but does that library include the Motif
> widget (use "nm /usr/lib/libMesaGLw.a")? If not, you will need
> libMesaGLwM.a.
No, it is not included in this Redhat 7.1:
nm /usr/lib/lib*GL*.a |grep GLwCreateM
-> nothing
So I have to compile libMesaGLwM.a (aarg).
Markus
_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5
|
|
Tue, May 21 2002
02:37:19
|
|
Status changed to resolved by gclements
|
|