Opened 5 years ago

#5212 new defect

[osm2shp] glibconfig.h: No such file or directory

Reported by: Rudloff Owned by: Tom Hughes
Priority: major Milestone:
Component: utils Version:
Keywords: Cc:

Description

When I try to build osm2shp, I get this error:

cc -g -o osm2shp osm2shp.c -DLARGEFILE_SOURCE -lshp -lxml2 -I /usr/include/libxml2 -I /usr/include/glib-2.0 -lglib-2.0 -I /usr/lib/glib-2.0/include 
In file included from /usr/include/glib-2.0/glib/galloca.h:34:0,
                 from /usr/include/glib-2.0/glib.h:32,
                 from osm2shp.c:25:
/usr/include/glib-2.0/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory
compilation terminated.
make: *** [osm2shp] Error 1

But the file does exist:

/usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h: C source, ASCII text

Change History (0)

Note: See TracTickets for help on using tickets.