Re: GtkExtra example doesn't build



Al,

I ran the 'find' command over the header files required by the
testrealtime.c
example file, and exactly one copy of each was found -- the one I had
source-installed.
So, the possibility for the GtkExtra package to have been pre-installed is
slim, which
is also consistent with what the package manager says.

Secondly, I think, there may be some misunderstanding going on.  It was when
I
compiled testrealtime.c *from its original location*, within the package,
that it forced
me to change the include-directives the way I described.  After I moved
testrealtime.c
outside the package to an extraneous location, things got back to normal,
and I had
to change the include-directives back to how the original file had them.
After that,
I had to go through all these little changes you can see in the file I
attached to my
previous message.  And finally everything compiled and ran.

Given all this, there is 99% of a chance the changes I made are necessary to
make this particular file (and more than likely the other examples that come
with
GtkExtra) build under gcc 3.4.

I suspect you'll get the exact same behavior if you try to compile this file
directly
from source AND use gcc 3.4.


Best,

Nickolai



On 2/8/06, Al Hooton <al hootons org> wrote:

On Mon, 2006-02-06 at 19:52 -0600, Nickolai Dobrynin wrote:
One additional thing is that, in the file I sent you earlier today,
you may need to remove
the 'gtkextra/' prefix when specifying the header files you wish to
include: e.g., #include "gtkplot.h"
instead of #include "gtkextra/gtkplot.h".

        Yeah, this is what makes me wonder if there wasn't a gtkextra
source
tree installed on the machine already by the distro, or if there had
been something built by the distro maintainers that used gtkextra so
they included the gtkextra header files in the "standard" locations.

        But, it appears it's working for you now at this point.  I don't
use
Gentoo, but an interesting test would be to do an install of Gentoo
identical to how you installed it on the box you're working on, and see
if the gtkextra header files happen to be there already...

-Al







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