Re: [gembud] [PATCH] OpenMotif patch to fix garp/nmap2 segfaults on Fedora/Ubuntu

  • To: Brian Bernard <brianbernard@xxxxxxx>
  • Subject: Re: [gembud] [PATCH] OpenMotif patch to fix garp/nmap2 segfaults on Fedora/Ubuntu
  • From: Arthur Haas <ahaas@xxxxxxxxxxxxxxxxx>
  • Date: Mon, 14 Nov 2011 09:43:11 -0600
I've also re-ran the 'configure' script on my Fedora 16 box, and it too failed 
to those files. A look at 'config.log' suggests that the tests are no longer 
suitable for a current Fedora release, as there aren't '/usr/X' or '/usr/X11' 
directories now that the X libraries/headers are under '/usr/lib' and 
'/usr/include'. The tests for 'freetype.h' fail with an error that the 
'ft2build.h' header was not included prior to including other Freetype headers; 
the script though correctly adds '-I/usr/include/freetype2' to the Makefiles. 
The 'Xrender.h' failure looks to be another configure script error.

Even with the errors I was still able build the library - what happens when you 
run 'make'?

Art Haas

-----Original Message-----
From: Brian Bernard [mailto:brianbernard@xxxxxxx]
Sent: Monday, November 14, 2011 9:08 AM
To: Arthur Haas
Cc: gembud@xxxxxxxxxxxxxxxx
Subject: Re: [gembud] [PATCH] OpenMotif patch to fix garp/nmap2 segfaults on 
Fedora/Ubuntu

Hi Art,

I checked my system for the development packages that you mentioned and
they were already installed on my system. It seems that Openmotif's
configure can't find the location of X.h, freetype.h and Xrender.h, all
of which are on my system. That's why I was wondering if their were any
flags that have to be passed to Openmotif's configure.

I've enclosed a log of the results of running configure.

Brian Bernard


On 11/14/2011 9:38 AM, Arthur Haas wrote:
> On a Fedora 16 box, here's the filename->package matchup:
>
> X.h ->  xorg-x11-proto-devel
> freetype2.h ->  freetype-devel
>
> You'll likely need numerous other '-devel' packages, such as 'libX11-devel', 
> 'libXt-devel', 'libXtst-devel', etc.
>
> Art Haas
>
> -----Original Message-----
> From: Brian Bernard [mailto:brianbernard@xxxxxxx]
> Sent: Monday, November 14, 2011 8:04 AM
> To: Arthur Haas
> Cc: gembud@xxxxxxxxxxxxxxxx
> Subject: Re: [gembud] [PATCH] OpenMotif patch to fix garp/nmap2 segfaults on 
> Fedora/Ubuntu
>
> Hello,
>
> I recently updated my 64-bit machine to Fedora 16 and have run into a
> couple of problems.
>
> The patches that Art Haas submitted were applied to the Openmotif source
> code and successfully patched, but I have errors during configure where
> X.h and freetype.h is not found. Anyone know what flags have to be
> passed to configure in order for X.h and freetype.h to be found.
>
> Brian Bernard
>
>