[GRASS-user] Re: compiling grass65svn - error on ubuntu 11.10

Hamish hamish_b at yahoo.com
Sat Nov 19 22:05:10 EST 2011


Helmut wrote:
> myricaria at myricaria-hp-pavilion-ze4900-PJ920EA-ABD:/usr/local/src/grass/grass6_devel$
> >> ./configure
> >>
> >> --with-cxx
> >> --with-sqlite
> >>  --with-cairo
> >> --with-freetype
> >> --with-nls
> >> --with-read-line
> >> --with-gdal=/usr/bin/gdal-config
> >> --with-python=/usr/bin/python2.7-config
> >> --with-geos=/usr/bin/geos-config
> >> --with-freetype-includes=/usr/include/freetype2/
> >> --with-proj-share=/usr/share/proj
> >>
> >> I'm getting following:
> >>
> >> configure: error: can not run ./config.sub

Hi,

I just tried 6.4.2rc2 with xubuntu 11.10 & it built ok for me.
(based on debiangis build rules, both manually compiled and
into .deb packages using `debuild`)


... does your user account have full write permissions to the
/usr/local/src/grass dir?  (no idea, grasping at straws)


also I've tried a fresh checkout of devbr6 with these config
options:

cd ~/src/grass/devbr6/
renice +17 -p $$
CFLAGS="-ggdb -Wall -Werror-implicit-function-declaration" \
  ./configure \
    --with-tcltk-includes=/usr/include/tcl8.5 --with-cairo \
    --with-motif --with-python=/usr/bin/python2.7-config \
    --with-readline --with-cxx --with-odbc --with-sqlite \
    --with-freetype --with-freetype-includes=/usr/include/freetype2 \
    --without-postgres --with-proj-share=/usr/share/proj \
    --with-wxwidgets --with-geos \
    2>&1 | tee config_log.txt


that worked ok too.


package setup was:
$ sudo apt-get --no-install-recommends install  flex bison libreadline-dev libncurses5-dev lesstif2-dev debhelper libtiff4-dev tcl-dev tk-dev libfftw3-dev libxmu-dev libglu1-mesa-dev libfreetype6-dev autoconf2.13 autotools-dev libgdal1-dev libproj-dev proj-bin libjpeg-dev libpng12-dev libpq-dev unixodbc-dev doxygen fakeroot libmysqlclient15-dev graphviz libsqlite3-dev python-wxgtk2.8 libcairo2-dev libwxgtk2.8-dev python-dev


?,
Hamish


More information about the grass-user mailing list