#113 ✓invalid
Stefan Exner

error: gee/hashmap.h: No such file or directory

Reported by Stefan Exner | November 15th, 2009 @ 12:03 AM

Hi,

I'm running Ubuntu 9.10 and tried to get redcar running. With the version from your master-branch in GitHub building and running with JRuby was possible, but if I try to build it from the "stable"-Branch, it gives me the following (I copied a little more, maybe it helps):

[...] checking for gtk+-2.0... yes
checking for libxml-2.0... yes
checking for gee-1.0... yes
checking for gtksourceview-2.0... yes
checking for main() in -lonig... yes
creating Makefile
In file included from scope.c:2:
scope.h:10:27: error: gee/arraylist.h: No such file or directory
In file included from scope.h:11,

             from scope.c:2:

pattern.h:11:25: error: gee/hashmap.h: No such file or directory
In file included from pattern.h:12,

             from scope.h:11,
             from scope.c:2:

plist.h:110: error: expected specifier-qualifier-list before ‘GeeArrayList’
plist.h:120: error: expected specifier-qualifier-list before ‘GeeHashMap’
In file included from pattern.h:14,

             from scope.h:11,
             from scope.c:2:

grammar.h:38: error: expected specifier-qualifier-list before ‘GeeArrayList’
In file included from scope.h:11,

             from scope.c:2:

pattern.h:79: error: expected specifier-qualifier-list before ‘GeeHashMap’
pattern.h:94: error: expected specifier-qualifier-list before ‘GeeHashMap’
pattern.h:114: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
pattern.h:115: error: expected ‘)’ before ‘
’ token
pattern.h:116: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
pattern.h:117: error: expected ‘)’ before ‘
’ token
pattern.h:118: error: expected ‘)’ before ‘’ token
pattern.h:119: error: expected ‘)’ before ‘
’ token
pattern.h:125: error: expected ‘)’ before ‘’ token
pattern.h:129: error: expected ‘)’ before ‘
’ token
In file included from scope.h:13,

             from scope.c:2:

buffer.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
buffer.h:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘
’ token
buffer.h:78: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
In file included from scope.c:2:
scope.h:74: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘
’ token
scope.c:3:28: error: gee/collection.h: No such file or directory
In file included from parser.h:12,

             from scope.c:4:

scanner.h:8:26: error: gee/iterable.h: No such file or directory
scanner.h:12:26: error: gee/iterator.h: No such file or directory
In file included from parser.h:12,

             from scope.c:4:

scanner.h:74: error: expected specifier-qualifier-list before ‘GeeArrayList’
In file included from parser.h:14,

             from scope.c:4:

range_set.h:43: error: expected specifier-qualifier-list before ‘GeeArrayList’
In file included from scope.c:4:
parser.h:78: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
parser.h:83: error: expected declaration specifiers or ‘...’ before ‘GeeArrayList’
parser.h:83: error: expected declaration specifiers or ‘...’ before ‘GeeArrayList’
In file included from scope.c:4:
parser.h:83: error: expected declaration specifiers or ‘...’ before ‘GeeArrayList’
parser.h:85: error: expected declaration specifiers or ‘...’ before ‘GeeArrayList’
parser.h:85: error: expected declaration specifiers or ‘...’ before ‘GeeArrayList’
parser.h:85: error: expected declaration specifiers or ‘...’ before ‘GeeArrayList’
In file included from scope.c:4:
parser.h:86: error: expected declaration specifiers or ‘...’ before ‘GeeArrayList’
parser.h:86: error: expected declaration specifiers or ‘...’ before ‘GeeArrayList’
parser.h:86: error: expected declaration specifiers or ‘...’ before ‘GeeArrayList’
parser.h:87: error: expected declaration specifiers or ‘...’ before ‘GeeArrayList’
parser.h:87: error: expected declaration specifiers or ‘...’ before ‘GeeArrayList’
parser.h:87: error: expected declaration specifiers or ‘...’ before ‘GeeArrayList’
parser.h:88: error: expected declaration specifiers or ‘...’ before ‘GeeArrayList’
parser.h:88: error: expected declaration specifiers or ‘...’ before ‘GeeArrayList’
parser.h:94: error: expected declaration specifiers or ‘...’ before ‘GeeArrayList’
parser.h:94: error: expected declaration specifiers or ‘...’ before ‘GeeArrayList’
scope.c:467: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘
’ token
scope.c: In function ‘gtk_mate_scope_get_property’:
scope.c:1102: warning: unused variable ‘boxed’
make: *** [scope.o] Fehler 1
cc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -D_FILE_OFFSET_BITS=64 -I/usr/local/lib/site_ruby/1.8/i486-linux -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -Wall -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gee-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -I/usr/include/gtksourceview-2.0 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c scope.c
rake aborted!

I searched for a solution, but haven't found one yet. Maybe it's my fault, but I did everything I found in your installation doc.

Thanks in advance!

Comments and changes to this ticket

  • Daniel Lucraft

    Daniel Lucraft November 24th, 2009 @ 03:02 PM

    • State changed from “new” to “invalid”

    Hi Stefan

    thanks for reporting this, but I'm afraid we're going to move ahead with the JRuby version rather than work on or even fix bugs on the Gtk version. I'm sorry you went to the trouble of filing this report for nothing, but this problem should give you an inkling of why we are moving to JRuby in the first place!

    thanks,
    Dan

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

People watching this ticket

Tags

Pages