osm2pgrouting (#24) - can't compile on ubuntu 8.04 (#294) - Message List

can't compile on ubuntu 8.04

hi, i got an error compiling osm2pgrouting on ubuntu 8.04 (i'm using linux for the first time, so maybe it isnt even a osm2pgrouting problem?):

g++ -c src/Export2DB.cpp src/math_functions.cpp src/Node.cpp src/OSMDocumentParserCallback.cpp src/Way.cpp src/OSMDocument.cpp src/Type.cpp src/Class.cpp src/Configuration.cpp src/ConfigurationParserCallback.cpp -I./ -Isrc -I/usr/include/pgsql -I/usr/include/postgresql -ggdb3 In Datei, eingefügt von src/OSMDocumentParserCallback.h:25,

von src/OSMDocumentParserCallback.cpp:22:

src/XMLParser.h:24:19: Fehler: expat.h: No such file or directory In file included from src/OSMDocumentParserCallback.h:25,

from src/OSMDocumentParserCallback.cpp:22:

src/XMLParser.h:90: Fehler: »XML_Parser« bezeichnet keinen Typ In Datei, eingefügt von src/ConfigurationParserCallback.h:25,

von src/ConfigurationParserCallback.cpp:22:

src/XMLParser.h:24:19: Fehler: expat.h: No such file or directory In file included from src/ConfigurationParserCallback.h:25,

from src/ConfigurationParserCallback.cpp:22:

src/XMLParser.h:90: Fehler: »XML_Parser« bezeichnet keinen Typ make: *** [all] Fehler 1 jars@jars-desktop:~/osm2pgrouting$

thanks in advance bye

  • Message #1062

    okay problem solved, i just had to install the package "libexpat1-dev"

    best regards