Re: [glade--]Compilation errors with Glade-2/glademm generated project



Christof,

I ran glade-- from the command line. Here is the output. Also versions
of automake and autoconf.  I hope I got the command line options right
from --help. No man page or info that I could find. Thanks!

BTW, I'm try to create a GTK2 project, not a Gnome project. Gnome
2 projects claim they want Gnome-common from CVS, and I don't want
to go there (I did, and had an unstable gnome).  But Gnome2 Glade
projects behave the same way.

[scottmcl martino project1] 127 % glade-- --gnome2 project1.glade
sh: line 1: gtkmm-config: command not found
Unknown library `gnomemm'
error parsing version std::string '1.4.1.2
gnome-config --modversion gnomemm: strange result 'gnome-libs-1.4.1.2'
Found pkg-config version 0.14.0
Generating code for gtk 2.2.1 (pkg-config), gtkmm 2.2.1 (pkg-config),
[gnomemm 1.3.10 (pkg-config)
        gnomeuimm 1.3.16 (pkg-config) bonobomm 1.3.5 (pkg-config) bonobouimm
1.3.5 (pkg-config)]
[scottmcl martino project1] 128 % autoconf --version
autoconf (GNU Autoconf) 2.57
Written by David J. MacKenzie and Akim Demaille.

Copyright 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[scottmcl martino project1] 129 % automake --version
automake (GNU automake) 1.6.3
Written by Tom Tromey <tromey redhat com>.

Copyright 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[scottmcl martino project1] 130 %

Scott McLoughlin, Chairman
The Adrenaline Group, Inc.
1655 North Fort Myer Drive
Suite 410
Arlington, VA 22209
http://www.adrenaline.com
scott adrenaline com
703.807.2700 x 226
----- Original Message -----
From: "Christof Petig" <christof petig-baender de>
To: "Scott McLoughlin" <scott adrenaline com>
Cc: <glademm-list gnome org>
Sent: Thursday, May 15, 2003 6:58 AM
Subject: Re: [glade--]Compilation errors with Glade-2/glademm generated
project


> Scott McLoughlin wrote:
> > I'm having some trouble building C++ project output from
> > Glade-2. Just a "Hello World" simple application. Here is my
> > config
> >
> > - RH9
> > - Built from freshly downloaded source tarballs - libsigc++,
> > gtkmm-2.2.1, orbitcpp, libbonobomm, libbonobouimm,
> > gnomemm-all-1.3.16, glademm-2.0.0, glade-2.0.0
> >
> > Here is the error output, in two parts. First, when building
> > C++ project from within glade-2, I get:
> >
> >     sh: line 1: gtkmm-config: command not found
> >     Unknown library `gnomemm'
> >     error parsing version std::string '1.4.1.2
> >     gnome-config --modversion gnomemm: strange result
'gnome-libs-1.4.1.2'
>
> oh dear. I looked into the source code and was quite sure that glade--
> will not test for gnome1/gtk1 when passed a glade-2 project. Seems to
> not work ... If you pass --gnome2 to glade-- on the command line, does
> the problem persist?
>
> >     Changed dir to /home/scottmcl/dev/Glade/project5
> >     Found pkg-config version 0.14.0
> >     <etc....>
> >
> > But glade-2 produces files. Then, when I run ./autogen.sh I get the
> > following errors.
> >
> >  autoheader: error: AC_CONFIG_HEADERS not found in configure.in
> >
> >  And later I get this error and autogen.sh stops.
> >
> >     config.status: error: cannot find input file: config.h.in
>
> that's what autoheader was supposed to create.
>
> >  Here's the weird thing. If I run autogen a *2nd* time on the same
> >  project again, autogen goes on and runs make and builds the project.
> >
> >  Any insight? Thanks.
>
> Looks like some file is created before erring out which prevents the
> error the second time. You did not mention your autoconf/automake
> version. I have no problems with
>  > automake --version
> automake (GNU automake) 1.7.4
>  > autoconf --version
> autoconf (GNU Autoconf) 2.57
>
> I did not want to detect automake/autoconf version during glade-- run
> but this looks like it's time to open this can of worms.
>
>    Christof
>
> _______________________________________________
> glademm-list mailing list
> glademm-list gnome org
> http://mail.gnome.org/mailman/listinfo/glademm-list
>




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