Details Ticket 5300


Comment | Reply | Take | Resolve


Serial Number 5300
Subject ./configure treats X11 as an atomic package
Area grass6
Queue grass
Requestors maris.gis@gmail.com
Owner none
Status open
Last User Contact Sat Nov 18 18:27:30 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Sun Nov 19 00:14:53 2006 (2 yr ago)
Created Fri Nov 17 20:55:04 2006 (2 yr ago)

Transaction History Ticket 5300


Fri, Nov 17 2006 20:55:04    Request created by guest  
Subject: ./configure misses missing libxmu headers

Platform: GNU/Linux/x86
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 6.2.0

./configure script somehow missed that I do not have libxmu header files. On
Debian system those headers are provided with libxmu-dev package.

libxmu is used by nviz.
Sat, Nov 18 2006 18:27:30    Mail sent by glynn@gclements.plus.com  
Return-Path <glynn@gclements.plus.com>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn@gclements.plus.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <17759.17023.249219.418081@cerise.gclements.plus.com>
Date Sat, 18 Nov 2006 17:27:27 +0000
To Request Tracker <grass-bugs@intevation.de>
Cc grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #5300] (grass) ./configure misses missing libxmu headers
In-Reply-To <20061117195504.81AB61006A8@lists.intevation.de>
References <20061117195504.81AB61006A8@lists.intevation.de>
X-Mailer VM 7.07 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-5 tagged_above=-999 required=3 tests=[BAYES_00=-5]
X-Spam-Level
Request Tracker wrote:

> this bug's URL: http://intevation.de/rt/webrt?serial_num=5300
> -------------------------------------------------------------------------
> 
> Subject: ./configure misses missing libxmu headers
> 
> Platform: GNU/Linux/x86
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: 6.2.0
> 
> ./configure script somehow missed that I do not have libxmu header files. On
> Debian system those headers are provided with libxmu-dev package.
> 
> libxmu is used by nviz.

The configure script still treats X11 as an atomic package. This could
cause problems on platforms which have started using modular X11
packages.

I don't know whether newer versions of autoconf include tests for
individual X11 components, but autoconf 2.13 doesn't, and I wouldn't
want to force an upgrade over this issue alone.

It should be safe to check for X11 libraries and headers like any
other, provided that the relevant compiler/linker switches are used.
For header checks, $X_CFLAGS needs to be added, while library checks
need to use:

	$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS

See the checks for Motif, OpenGL and Tk for examples.

BTW, it's actually Togl which uses Xmu (XmuLookupStandardColormap).

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


Sun, Nov 19 2006 00:14:53    Subject changed to ./configure treats X11 as an atomic package by msieczka  
Comment | Reply | Take | Resolve

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