-
Notifications
You must be signed in to change notification settings - Fork 0
Manual debug build notes
libxslt-devel-1.1.26-2.el6_3.1.x86_64 kernel-devel-2.6.32-431.20.3.el6.x86_64 giflib-devel-4.1.6-3.1.el6.x86_64 xorg-x11-proto-devel-7.6-25.el6.noarch libXrender-devel-0.9.7-2.el6.x86_64 postgresql-devel-8.4.20-1.el6_5.x86_64 libstdc++-devel-4.4.7-4.el6.x86_64 openssl-devel-1.0.1e-16.el6_5.14.x86_64 fcgi-devel-2.4.0-10.el6.x86_64 httpd-devel-2.2.15-31.el6.centos.x86_64 kernel-devel-2.6.32-431.el6.x86_64 libxml2-devel-2.7.6-14.el6_5_eox.1.x86_64 libgcrypt-devel-1.4.5-11.el6_4.x86_64 freetype-devel-2.3.11-14.el6_3.1.x86_64 libX11-devel-1.5.0-4.el6.x86_64 zlib-devel-1.2.3-29.el6.x86_64 libsepol-devel-2.0.41-4.el6.x86_64 db4-devel-4.7.25-18.el6_4.x86_64 cyrus-sasl-devel-2.1.23-13.el6_3.1.x86_64 gdal-eox-devel-1.9.2-2.el6.x86_64 geos-devel-3.3.8-2.el6.x86_64 libjpeg-turbo-devel-1.2.1-3.el6_5.x86_64 kernel-devel-2.6.32-431.20.5.el6.x86_64 libgpg-error-devel-1.7-4.el6.x86_64 fribidi-devel-0.19.2-2.el6.x86_64 libxcb-devel-1.8.1-1.el6.x86_64 cairo-devel-1.8.8-3.1.el6.x86_64 gd-devel-2.0.35-11.el6.x86_64 libselinux-devel-2.0.94-5.3.el6_4.1.x86_64 libidn-devel-1.18-2.el6.x86_64 keyutils-libs-devel-1.4-4.el6.x86_64 openldap-devel-2.4.23-34.el6_5.1.x86_64 libcurl-devel-7.19.7-37.el6_5.3.x86_64 libpng-devel-1.2.49-1.el6_2.x86_64 pixman-devel-0.26.2-5.1.el6_5.x86_64 python-devel-2.6.6-52.el6.x86_64 libspatialite-devel-2.4.0-0.6_0.RC4.el6.x86_64 glibc-devel-2.12-1.132.el6_5.2.x86_64 blas-devel-3.2.1-4.el6.x86_64 proj-devel-4.8.0-3.el6.x86_64 libtiff-devel-3.9.4-10.el6_5.x86_64 libXau-devel-1.0.6-4.el6.x86_64 fontconfig-devel-2.8.0-3.el6.x86_64 libXpm-devel-3.5.10-2.el6.x86_64 freexl-devel-1.0.0d-1.el6.x86_64 apr-devel-1.3.9-5.el6_2.x86_64 ncurses-devel-5.7-3.20090208.el6.x86_64 expat-devel-2.0.1-11.el6_2.x86_64 krb5-devel-1.10.3-15.el6_5.1.x86_64 apr-util-devel-1.3.9-3.el6_0.1.x86_64 readline-devel-6.0-4.el6.x86_64 sqlite-devel-3.6.20-1.el6.x86_64 libcom_err-devel-1.41.12-18.el6_5.1.x86_64 lapack-devel-3.2.1-4.el6.x86_64
./configure --with-pydebug --prefix=/home/vagrant/local --enable-shared --with-threads
The new python interpreter will miss some site-packages.
setup.cfg : comment out define=SQLITE_OMIT_LOAD_EXTENSION
patch -p1 < ../gdal-1.9.1-dods-3.11.3.patch
patch -p1 < ../gdal-1.9.0-java.patch
patch -p1 < ../gdal-1.9.0-man.patch
patch -p1 < ../gdal-1.9.2-plugin-search-dir-eox.patch
patch -p1 < ../gdal-1.9.2-2-tps2-eox.patch
./configure --enable-debug --prefix=/home/vagrant/local --without-bsb --with-python --with-png=internal --with-jpeg=internal
With-png and with-jpeg supposed to be unnecessary, I did because of the mapserver problem.
mapserver-6.2.2
./configure --prefix=/home/vagrant/local --with-geos --with-ogr --with-gdal --with-wcs --with-wfs --with-proj --with-cairo --with-gd --with-python=/home/vagrant/local/bin/ --with-threads
The multithreading is essential for mapserver which is not enabled by default. Otherwise, in the webclient when displaying the area outline, strange things happen (some pictures will be marked randomly unavailable in browser, PNG parts appear in console, gcc internal crash with double free or similar malloc error).
mapserver-6.4.1: uses cmake. cmake .. -DWITH_PYTHON=1 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/home/vagrant/local -DPYTHON_EXECUTABLE:FILEPATH=/home/vagrant/local/bin/python -DPYTHON_INCLUDE_DIRS:PATH=/home/vagrant/local/include/python2.7/ -DPYTHON_LIBRARIES:FILEPATH=/home/vagrant/local/lib/libpython2.7.so
(multithread not added here)
python setup.py install
sudo debuginfo-install --enablerepo=debug atlas-3.8.4-2.el6.x86_64 cairo-1.8.8-3.1.el6.x86_64 cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64 expat-2.0.1-11.el6_2.x86_64 fontconfig-2.8.0-3.el6.x86_64 freetype-2.3.11-14.el6_3.1.x86_64 fribidi-0.19.2-2.el6.x86_64 geos-3.3.8-2.el6.x86_64 giflib-4.1.6-3.1.el6.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.10.3-15.el6_5.1.x86_64 libICE-1.0.6-1.el6.x86_64 libSM-1.2.1-2.el6.x86_64 libX11-1.5.0-4.el6.x86_64 libXau-1.0.6-4.el6.x86_64 libXrender-0.9.7-2.el6.x86_64 libcom_err-1.41.12-18.el6_5.1.x86_64 libcurl-7.19.7-37.el6_5.3.x86_64 libgcc-4.4.7-4.el6.x86_64 libgcrypt-1.4.5-11.el6_4.x86_64 libgfortran-4.4.7-4.el6.x86_64 libgpg-error-1.7-4.el6.x86_64 libidn-1.18-2.el6.x86_64 libjpeg-turbo-1.2.1-3.el6_5.x86_64 libpng-1.2.49-1.el6_2.x86_64 libselinux-2.0.94-5.3.el6_4.1.x86_64 libspatialite-2.4.0-0.6_0.RC4.el6.x86_64 libssh2-1.4.2-1.el6.x86_64 libstdc++-4.4.7-4.el6.x86_64 libuuid-2.17.2-12.14.el6_5.x86_64 libxcb-1.8.1-1.el6.x86_64 libxml2-2.7.6-14.el6_5_eox.1.x86_64 libxslt-1.1.26-2.el6_3.1.x86_64 nspr-4.10.6-1.el6_5.x86_64 nss-3.16.1-4.el6_5.x86_64 nss-softokn-freebl-3.14.3-10.el6_5.x86_64 nss-util-3.16.1-1.el6_5.x86_64 openldap-2.4.23-34.el6_5.1.x86_64 openssl-1.0.1e-16.el6_5.14.x86_64 pixman-0.26.2-5.1.el6_5.x86_64 postgresql-libs-8.4.20-1.el6_5.x86_64 proj-4.8.0-3.el6.x86_64 sqlite-3.6.20-1.el6.x86_64 zlib-1.2.3-29.el6.x86_64
./configure --prefix=/home/vagrant/local
./configure --prefix=/home/vagrant/local --enable-python
export PYTHONPATH=/var/eoxserver/
export LD_LIBRARY_PATH=/home/vagrant/local/lib