[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gv] problems with libXaw3D-1.6.1

From: Orion Poplawski
Subject: Re: [bug-gv] problems with libXaw3D-1.6.1
Date: Tue, 28 Feb 2012 16:02:54 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1

On 02/28/2012 01:24 PM, Markus Steinborn wrote:
Hi Orion,

Orion Poplawski schrieb:

I have no idea if this will compile on EL6/5, but you could try:


Thanks, that compiled well for me on CentOS 5.7. I ran into the same problems
you have.

But I got the reaason: "/usr/include/X11/Xaw3d/Xaw3dP.h" has been created in a
wrong way:

It has to contain #define's (as it did on Xaw3d-1.5E):

--- cut here (from Xaw3d-1.5E) ---
--- cut here ---

The other headers #ifdef for them.

Patching "/usr/include/X11/Xaw3d/Xaw3dP.h" (as root) by just inserting these
#define's and then recompiling GNU gv (configure && make) gives me a working
GNU gv.

So I suppose it's a bug within libXaw3d-1.6.1.

Actually, with 1.6.1 these should be set with Xaw3d configure options:

                          enable utf8 strings (default: yes)
                          enable XPM support
  --enable-gray-stipples  enable gray stipples
                          enable arrow scrollbars

Which then set the macros in the pkgconfig file:

/usr/lib64/pkgconfig/xaw3d.pc:Cflags: -I${includedir} -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS

So it looks like with 1.6.1 it is up to applications to use:

pkg-config --cflags xaw3d

To set the macros at compile time. internationalization is set by default. I had been setting arrow-scrollbars, but looks like I need to set the others too.

Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder Office                  FAX: 303-415-9702
3380 Mitchell Lane                  address@hidden
Boulder, CO 80301              http://www.cora.nwra.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]