#11 failed to compile bc of rb-gconf.h

closed-works-for-me
ruby-gconf (1)
5
2002-07-10
2002-07-06
No

My compile of ruby-gconf doesn't get very far as I get
this:

make[1]: Entering directory
`/home/eliot/downloads/ruby-gconf-0.2/src'
gcc -fPIC -g -O2 -
fPIC -O3 -Wall -I/usr/local/include -I/usr/include/gtk-1.2 -
I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I. -
I/usr/lib/ruby/1.6/i386-linux -I. -I/usr/include -c -o rb-gconf-
changeset.o rb-gconf-changeset.c
In file included from rb-gconf-
changeset.c:21:
rb-gconf.h:83: parse error before
`GError'
make[1]: *** [rb-gconf-changeset.o] Error
1
make[1]: Leaving directory `/home/eliot/downloads/ruby-
gconf-0.2/src'
make: *** [all] Error 2

I'm using Debian
Linux, unstable. Line 83 is:

void
default_error_handler(GConfClient*, GError*);

I
commented the line out and the compile went on (and got errors
from other spots because the line was missing). I don't see
anything wrong with the line... what am I missing?

Discussion

  • Masao Mutoh

    Masao Mutoh - 2002-07-09

    Logged In: YES
    user_id=495147

    Hmm, In my environment, it works fine ...

    My question:
    1. What version is your gconf?
    Tell me result of "gconf-config --version"
    2. Did you do "ruby extconf.rb" before "make" as follows:

    $ruby extconf.rb
    GTK+ version: 1.2.10
    GConf version: 1.0.6
    creating Makefile
    $make
    ....
    ..
    ..

    3. Please send me your all compiling logs.

    My environment is:
    Kondara MNU/Linux (RedHat based Linux)
    GTK+ 1.2.10, GConf 1.0.6, ruby 1.6.5 (2001-09-19) [i686-linux]

     
  • Masao Mutoh

    Masao Mutoh - 2002-07-09
    • assigned_to: nobody --> mutoh
    • status: open --> open-works-for-me
     
  • Anonymous - 2002-07-10

    Logged In: YES
    user_id=22664

    Doh!! I had a very old version of gconf-conf installed in
    /usr/local/bin and no recent version of libgconf-dev installed
    (Debian). After getting rid of the version in /usr/local/bin and
    installing libgconf-dev, it installed perfectly. Thanks!!!

     
  • Anonymous - 2002-07-10
    • status: open-works-for-me --> closed-works-for-me
     
  • Anonymous - 2002-07-10

    Logged In: YES
    user_id=22664

    Doh!! I had a very old version of gconf-conf installed in
    /usr/local/bin and no recent version of libgconf-dev
    installed (Debian). After getting rid of the version in
    /usr/local/bin and installing libgconf-dev, it installed perfectly.
    Thanks!!!

     

Log in to post a comment.