On Wed, Feb 24, 2010 at 2:15 AM, Dom Lehr <[email protected]> wrote: > Thanks Matt! > > I already got it running and rendering the tests... I m stuck with owm2pgsql > now. Did you also setup osm2pgsql and mod_tile? I got osm2pgsql compiled > now, I had the wrong psotgresql library version..
At the time I wasn't using osm so I never got around to that part. I'm running Fedora 12 now and the setup was very straight forward compared to RHEL5. -Matt > > KR! > > On Tue, Feb 23, 2010 at 7:03 PM, Matt Bartolome <[email protected]> wrote: >> >> I got mapnik running on RHEL5 a year and a half ago and I feel your >> pain... I wrote down most of the gnarly steps and dependencies (which >> I'm not sure all still apply, versions might be different etc...) but >> I hope this helps you get rolling. >> >> * Boost Libs (this is gnarly) >> * download version 1.35 >> >> # wget http://downloads.sourceforge.net/boost/boost_1_35_0.tar.bz2 >> # tar xjvf boost_1_35_0.tar.bz2 >> # cd boost_1_35_0 >> # export BOOST=`pwd` >> # cd tools/jam/src >> # ./build.sh >> # cd bin.linuxx86/ >> # export PATH=`pwd`:$PATH >> # cd $BOOST >> # bjam --toolset=gcc \ >> --with-thread --with-filesystem --with-iostreams \ >> --with-regex --with-program_options --with-python \ >> --with-system stage >> # sudo bjam --toolset=gcc \ >> --with-thread --with-filesystem --with-iostreams \ >> --with-regex --with-program_options --with-python \ >> --with-system install >> >> * Link boost libs for mapnik >> >> # ln -s /usr/local/lib/libboost_python-gcc41-mt.so >> /usr/local/lib/libboost_python-mt.so >> # ln -s /usr/local/lib/libboost_thread-gcc41-mt.so >> /usr/local/lib/libboost_thread-mt.so >> # ln -s /usr/local/lib/libboost_program_options-gcc41-mt.so >> /usr/local/lib/libboost_program_options-mt.so >> # ln -s /usr/local/lib/libboost_iostreams-gcc41-mt.so >> /usr/local/lib/libboost_iostreams-mt.so >> # ln -s /usr/local/lib/libboost_filesystem-gcc41-mt.so >> /usr/local/lib/libboost_filesystem-mt.so >> # ln -s /usr/local/lib/libboost_filesystem-gcc41-mt.so >> /usr/local/lib/libboost_filesystem-mt.so >> # ln -s /usr/local/lib/libboost_regex-gcc41-mt.so >> /usr/local/lib/libboost_regex-mt.so >> >> * Lib ICU >> >> http://download.icu-project.org/files/icu4c/4.0/icu4c-4_0-src.tgz >> >> * Freetype >> >> # wget >> http://voxel.dl.sourceforge.net/sourceforge/freetype/freetype-2.3.7.tar.bz2 >> >> * Libtool >> >> ftp://ftp.gnu.org/gnu/libtool/libtool-2.2.tar.gz >> >> * TIFF >> >> wget http://dl.maptools.org/dl/libtiff/tiff-3.8.2.zip >> >> * PNG >> >> wget >> http://internap.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.31.tar.gz >> >> * Mapnik >> >> # svn co svn://svn.mapnik.org/trunk mapnik >> # python scons/scons.py BOOST_LIBS=/usr/local/lib >> BOOST_INCLUDES=/usr/local/include/boost-1_35 >> # python scons/scons.py BOOST_LIBS=/usr/local/lib >> BOOST_INCLUDES=/usr/local/include/boost-1_35 install >> >> >> On Mon, Feb 22, 2010 at 6:21 AM, Dom Lehr <[email protected]> >> wrote: >> > Hey guys, >> > >> > I already got mapnik running on SLES 11. Since I got some new stupid >> > stipulations, I gotta get it running on Red Hat Enterprise Linux 5. I >> > got >> > all the dependencies so far, but when I start compiling mapnik, I get: >> > >> > /usr/bin/ld: cannot find -lboost_python >> > collect2: ld returned 1 exit status >> > scons: *** [bindings/python/_mapnik.so] Error 1 >> > scons: building terminated because of errors. >> > >> > I installed boost like this: >> > ./bootstrap.sh --with-python=/usr/bin/python25 --prefix=/usr/local >> > ./bjam --with-regex --with-iostreams --with-filesystem --with-thread >> > toolset=gcc -sNO_BZIP2=1 -sHAVE_ICU=1 -sICU_PATH=/usr/local/ -a install >> > >> > >> > I appreciate your help and will publish the RHEL5 HOWTO as soon as I m >> > done >> > with it! >> > >> > Dom >> > >> > _______________________________________________ >> > Mapnik-users mailing list >> > [email protected] >> > https://lists.berlios.de/mailman/listinfo/mapnik-users >> > >> > > > _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

