Details Ticket 942


Comment | Reply | Take | Open


Serial Number 942
Subject GRASS 5.1: prequisites for compiling
Area bug
Queue grass
Requestors cdlange@zedat.fu-berlin.de
Owner none
Status resolved
Last User Contact Mon Mar 18 15:01:08 2002 (6 yr ago)
Current Priority 15
Final Priority 70
Due No date assigned
Last Action Wed Apr 17 11:50:05 2002 (6 yr ago)
Created Mon Mar 4 18:18:54 2002 (6 yr ago)

Transaction History Ticket 942


Mon, Mar 4 2002 18:18:54    Request created by guest  
Subject: prequisites for compiling 

Platform: Linux/Intel
Linux distro: SuSe
linux cpu: Intel (i486, i586, pentium ...)
Xwindows version: Xfree 4.0.x
Xwindows manager: KDE 1.x
TclTk version: tcl/tk 8.3
grass downloaded at: CVS Server, Germany
grass binary for platform: I compiled the sources myself
grass sources source: yes, I am using the latest GRASS from CVS
c compiler name: gcc

Hello,

I wanted to try out the 3D-vektors of Grass5.1, three day later i still compiling,
and i would like to report following problems/bugs.

1.) The first thing is that it is not clear to see if you download grass51 and
read the install manual, that you need for compiling the experimental_CSV snapshot
of GRASS5, and not the other sources. Somewhere is was written, and it took me
one day to get that out. 

If it is really the case that it is needed the experimental_CVS version, please
write that in the INSTALL file which comes along with Grass5.1.

2.) 

make clean and 
make distclean 

doesnt delete the  

symlinks created form make mix in the directory: 

grass51/lib/fonts/fonts


3.) If this is a bug i'm not sure, but i would like to report the following:
I complied and installed GRASS5.0 whithout problems with following flags.
                                                     
setenv CFLAGS "-O3  -Wall"    
setenv LDFLAGS "-s"         
./configure --without-gd --without-postgres --without-opengl --without-odbc --without-fftw
and it worked fine. I had to use the without-flags, because else the processing
for grass5.0 didnt't worked.

I didn't found an hint for the prequesitaries for compiling grass51, but 
it seems that my missing opengl and other libarys  are manditory for grass51,
but not for grass5.0. 

For example the header file /GL/gl.h, i think it is a mesa file seems to be manditory
for 5.1.

After installing mesa-devel.rpm to obtain the  header /GL/gl.h  the compiling
process continues much further, but reports lots of undefined references like
about MESA funktions, although i have installed mesadev-3.4-19:

During make 
the compiler exits with following message.

OBJ.i686-pc-linux-gnu/togl.o: In function `get_rgb_colormap':
/home/dietrich/GRASS/sources/grass51/visualization/nviz/src/togl.c:492: undefined
reference to `glXQueryServerString'

OBJ.i686-pc-linux-gnu/togl.o: In function `Togl_MakeCurrent':
/home/dietrich/GRASS/sources/grass51/visualization/nviz/src/togl.c:871: undefined
reference to `glXMakeCurrent'

OBJ.i686-pc-linux-gnu/togl.o: In function `RenderOverlay':
/home/dietrich/GRASS/sources/grass51/visualization/nviz/src/togl.c:911: undefined
reference to `glXMakeCurrent'

and many more undefined references.

What went wrong? I couldn't find the missing funktions, which packets i have
to install? Is it a bug or my installtation problem?
Does grass5.1 need more libaries than grass5.0? 

Greetings 
Dietrich Lange

cdlange@zedat.fu-berlin.de





Mon, Mar 4 2002 18:26:43    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Mon, 4 Mar 2002 18:26:18 +0100
From Markus Neteler <neteler@itc.it>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #942] (grass) prequisites for compiling
Message-ID <20020304182618.C31425@itc.it>
Mail-Followup-To Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
References <20020304171854.B53D713A22@lists.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.2.5.1i
In-Reply-To <20020304171854.B53D713A22@lists.intevation.de>; from grass-bugs@intevation.de on Mon, Mar 04, 2002 at 06:18:54PM +0100
X-Spam-Status No, hits=0 required=5 tests=
Hi Dietrich,

On Mon, Mar 04, 2002 at 06:18:54PM +0100, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=942
> -------------------------------------------------------------------------
> 
> Subject: prequisites for compiling 
> 
> Platform: Linux/Intel
> Linux distro: SuSe
> linux cpu: Intel (i486, i586, pentium ...)
> Xwindows version: Xfree 4.0.x
> Xwindows manager: KDE 1.x
> TclTk version: tcl/tk 8.3
> grass downloaded at: CVS Server, Germany
> grass binary for platform: I compiled the sources myself
> grass sources source: yes, I am using the latest GRASS from CVS
> c compiler name: gcc
> 
> Hello,
> 
> I wanted to try out the 3D-vektors of Grass5.1, three day later i still
> compiling, and i would like to report following problems/bugs.
> 
> 1.) The first thing is that it is not clear to see if you download grass51
> and read the install manual, that you need for compiling the
> experimental_CSV snapshot of GRASS5, and not the other sources. Somewhere
> is was written, and it took me one day to get that out.
> 
> If it is really the case that it is needed the experimental_CVS version,
> please write that in the INSTALL file which comes along with Grass5.1.

if you look there:
"--with-grass50    must be full path to MAIN branch (not release) of
                  grass 5.0"

it says: 'not release'. But I can write

"--with-grass50    must be full path to MAIN (=experimental) branch 
                   (not release) of grass 5.0"

into that file.

[more tomorrow]

 Markus


Mon, Mar 4 2002 21:12:07    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 <15491.54168.970273.510777@cerise.nosuchdomain.co.uk>
Date Mon, 4 Mar 2002 20:05:44 +0000
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #942] (grass) prequisites for compiling
In-Reply-To <20020304171854.B53D713A22@lists.intevation.de>
References <20020304171854.B53D713A22@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:

> After installing mesa-devel.rpm to obtain the header /GL/gl.h the
> compiling process continues much further, but reports lots of
> undefined references like about MESA funktions, although i have
> installed mesadev-3.4-19:
> 
> During make 
> the compiler exits with following message.
> 
> OBJ.i686-pc-linux-gnu/togl.o: In function `get_rgb_colormap':
> /home/dietrich/GRASS/sources/grass51/visualization/nviz/src/togl.c:492: undefined
reference to `glXQueryServerString'
> 
> OBJ.i686-pc-linux-gnu/togl.o: In function `Togl_MakeCurrent':
> /home/dietrich/GRASS/sources/grass51/visualization/nviz/src/togl.c:871: undefined
reference to `glXMakeCurrent'
> 
> OBJ.i686-pc-linux-gnu/togl.o: In function `RenderOverlay':
> /home/dietrich/GRASS/sources/grass51/visualization/nviz/src/togl.c:911: undefined
reference to `glXMakeCurrent'
> 
> and many more undefined references.
> 
> What went wrong? I couldn't find the missing funktions, which packets
> i have to install? Is it a bug or my installtation problem?

Those functions should be declared in the file GL/glx.h.

-- 
Glynn Clements <glynn.clements@virgin.net>


Wed, Mar 6 2002 21:55:24    Mail sent by cdlange@zedat.fu-berlin.de  
Return-Path <cdlange@ZEDAT.FU-Berlin.DE>
Delivered-To grass-bugs@lists.intevation.de
Date Wed, 6 Mar 2002 21:55:10 +0100
From Carl Dietrich Lange <cdlange@zedat.fu-berlin.de>
To grass-bugs@intevation.de
Subject Re: [bug #942] (grass) prequisites for compiling
Message-ID <Pine.SGI.4.40.0203062149490.12084232-100000@Komma.ZEDAT.FU-Berlin.DE>
MIME-Version 1.0
Content-Type TEXT/PLAIN; charset=US-ASCII
X-Spam-Status No, hits=0 required=5 tests=
Hi Markus,

it would be good to insert that line:

"--with-grass50    must be full path to MAIN (=experimental) branch

, like you suggested

because for me is is not obviously that the MAIN branch (not release) is
different form the "normal" sources.

Thank you very much  for your answer.

Greetings Dietrich

cdlange@zedat.fu-berlin.de

Markus Neteler via RT wrote:
     Hi Dietrich,

     On Mon, Mar 04, 2002 at 06:18:54PM +0100, Request Tracker wrote:
     > this bug's URL: http://intevation.de/rt/webrt?serial_num=942
     > -------------------------------------------------------------------
     ------
     >
     > Subject: prequisites for compiling
     >
     > Platform: Linux/Intel
     > Linux distro: SuSe
     > linux cpu: Intel (i486, i586, pentium ...)
     > Xwindows version: Xfree 4.0.x
     > Xwindows manager: KDE 1.x
     > TclTk version: tcl/tk 8.3
     > grass downloaded at: CVS Server, Germany
     > grass binary for platform: I compiled the sources myself
     > grass sources source: yes, I am using the latest GRASS from CVS
     > c compiler name: gcc
     >
     > Hello,
     >
     > I wanted to try out the 3D-vektors of Grass5.1, three day later i
     still
     > compiling, and i would like to report following problems/bugs.
     >
     > 1.) The first thing is that it is not clear to see if you download
     grass51
     > and read the install manual, that you need for compiling the
     > experimental_CSV snapshot of GRASS5, and not the other sources.
     Somewhere
     > is was written, and it took me one day to get that out.
     >
     > If it is really the case that it is needed the experimental_CVS
     version,
     > please write that in the INSTALL file which comes along with
     Grass5.1.
     if you look there:
     "--with-grass50    must be full path to MAIN branch (not release) of
                       grass 5.0"
     it says: 'not release'. But I can write
     "--with-grass50    must be full path to MAIN (=experimental) branch
                        (not release) of grass 5.0"
     into that file.
     [more tomorrow]
      Markus
     --- Headers Follow ---
     >From neteler@itc.it  Mon Mar  4 18:26:42 2002
     Return-Path: <neteler@itc.it>
     Delivered-To: grass-bugs@lists.intevation.de
     Received: from mail.intevation.de (aktaia [212.95.126.10])
             by lists.intevation.de (Postfix) with ESMTP id AEF9413960
             for <grass-bugs@lists.intevation.de>; Mon,  4 Mar 2002 18:26:
     42 +0100 (CET)
     Received: from camelot.itc.it (camelot.itc.it [195.223.171.5])
             by mail.intevation.de (Postfix) with ESMTP id 595261B79D
             for <grass-bugs@intevation.de>; Mon,  4 Mar 2002 18:26:40
     +0100 (CET)
     Received: from orchestra.itc.it (orchestra [10.0.10.11])
             by camelot.itc.it (8.11.3/8.11.3) with ESMTP id g24HQcV06305
             for <grass-bugs@intevation.de>; Mon, 4 Mar 2002 18:26:38
     +0100 (MET)
     Received: from thuille.itc.it. (thuille [10.40.0.110])
             by orchestra.itc.it (8.11.6/8.11.6) with ESMTP id
     g24HQIW17062;
             Mon, 4 Mar 2002 18:26:18 +0100
     Received: (from neteler@localhost)
             by thuille.itc.it. (8.11.6/8.11.2) id g24HQIt20031;
             Mon, 4 Mar 2002 18:26:18 +0100
     Date: Mon, 4 Mar 2002 18:26:18 +0100
     From: Markus Neteler <neteler@itc.it>
     To: Request Tracker <grass-bugs@intevation.de>
     Cc: grass5@grass.itc.it
     Subject: Re: [GRASS5] [bug #942] (grass) prequisites for compiling
     Message-ID: <20020304182618.C31425@itc.
     t>
     Mail-Followup-To: Request Tracker <grass-bugs@intevation.de>,
             grass5@grass.itc.it
     References: <20020304171854.B53D713A22@lists.intevation.de>
     Mime-Version: 1.0
     Content-Type: text/plain; charset=us-ascii
     Content-Disposition: inline
     User-Agent: Mutt/1.2.5.1i
     In-Reply-To: <20020304171854.B53D713A22@lists.intevation.de>; from
     grass-bugs@intevation.de on Mon, Mar 04, 2002 at 06:18:54PM +0100
     X-Spam-Status: No, hits=0 required=5 tests=
     -------------------------------------------- Managed by Request
     Tracker


Mon, Mar 18 2002 15:01:08    Mail sent by guest  
Hello, 

1.) and 3.) are fixed:

to 1.) Ok now.

to 3.) It didnt't worked because i didnt had an open Gl card.
in the meantime i bought an OPEN-GL Card and now it workes find.

Still open: 

2.)
make clean and 
make distclean 

doesnt delete the  

symlinks created form make mix in the directory: 

grass51/lib/fonts/fonts



Greeting Dietrich Lange
cdlange@zedat.fu-berlin.de
Sun, Mar 24 2002 20:17:42    Subject changed to GRASS 5.1: prequisites for compiling by mneteler  
Sat, Apr 13 2002 15:57:04    Priority changed to 15 by bernhard  
Wed, Apr 17 2002 11:49:57    Comments added by rblazek  
All symlinks created by 'make mix' are deleted by 'make mixclean',
no also mentioned in INSTALL file.

Radim



Wed, Apr 17 2002 11:50:05    Status changed to resolved by rblazek  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request