Re: FVWM: unable to compile with gnome libs

On 23 Jul 2001 12:23:03 +0200, Stephane Rosa wrote:
> it sounds like I can't compile with gnome support. I found this out
> when trying to configure fvwm, which tries to compile this
> (in ./configure):
> #line 5911 "configure"
> #include "confdefs.h"
> #include <gnome.h>
> int main(int c, char **v) {
>    /* we can't really run this outside of X */
>    if (!c) gnome_init("test-app", "0.0", c, v);
>    return 0;
> }

Just to make it clear. This configure check is unique to FVWM, gnome.m4
does not contain it. I added it because a lot of users have a non-working
GNOME instalation, usually an incorrect gnome-config or header files.
gnome.m4 does not detect this, like in your situation, so I enhanced it.

The GNOME libs support (not to be confused with GNOME WM hints) is only
used in FvwmGtk module and is fully optional. It only determines whether
FvwmGtk is a gtk application or a gnome application. It is almost safe to
say that you will not lose anything without "GNOME support in FvwmGtk".
For example, our rpms have no such support not to be dependent on GNOME.

> and there is a conflict between stdio.h and gnomesupport.h which
> redefines sprintf and vsnprintf as if they weren't part or standard
> include files already :


> just wanted to know if anybody already encountered such a
> problem, cuz I have no clue where to look at in the first
> place. Any ideas ? Why aren't they "extern" in gnomesupport ?
> Can I just fix gnomesupport.h ( I guess not...)

Sorry, I am not a GNOME developer.
I would like to know if there is anything FVWM can help in this situation.


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