| 1 | |
| 2 | == Installing SUMO == |
| 3 | |
| 4 | Steps for installing SUMO from sources on Linux Ubuntu 9.10: [[BR]][[BR]] |
| 5 | |
| 6 | '''1.''' Download SUMO sources |
| 7 | [[BR]][[BR]] |
| 8 | |
| 9 | '''2.''' Make sure gcc is working and version is 3.3 or above |
| 10 | [[BR]][[BR]] |
| 11 | |
| 12 | '''3.''' These packages are needed for insttalling SUMO [[BR]] |
| 13 | {{{ |
| 14 | $>sudo apt-get install libtool libgdal1-dev proj libxerces-c2-dev |
| 15 | }}} |
| 16 | [[BR]][[BR]] |
| 17 | |
| 18 | '''4.''' Ubuntu 9.10 does not ship with libgdal.so, but only with libgdal1.5.0.so, so you need to create a symlink /usr/lib/libgdal.so -> /usr/lib/libgdal1.5.0.so, |
| 19 | [[BR]][[BR]] |
| 20 | |
| 21 | '''5.''' These extra packages are needed for installing the GUI [[BR]] |
| 22 | {{{ |
| 23 | $>sudo apt-get install libfox-1.6-dev libgl1-mesa-dev libglu1-mesa-dev |
| 24 | }}} |
| 25 | [[BR]][[BR]] |
| 26 | |
| 27 | '''6.''' Prepare the makefiles for building [[BR]] |
| 28 | {{{ |
| 29 | ./configure --with-fox-includes=/usr/include/fox-1.6 |
| 30 | --with-gdal-includes=/usr/include/gdal --with-proj-libraries=/usr |
| 31 | --with-gdal-libraries=/usr --with-proj-gdal --enable-traci |
| 32 | --enable-internal-lanes --enable-debug |
| 33 | }}} |
| 34 | [[BR]][[BR]] |
| 35 | |
| 36 | '''7.''' Build SUMO |
| 37 | {{{ |
| 38 | $>make |
| 39 | }}} |
| 40 | [[BR]][[BR]] |