further more, adding<strong> "sudo apt-get install motif-clients libmotif-dev"</strong><br><br><br>-----原始邮件-----<br>
<b>发件人:</b> "王德辉" <dehuiw@gig.ac.cn><br>
<b>发送时间:</b> 2012年11月12日 星期一<br>
<b>收件人:</b> grass-user@lists.osgeo.org<br>
<b>抄送:</b> <br>
<b>主题:</b> [Solved] mysql error on compiling grass70 source code<br><br><p>Hi all, the instructions on web <a href="http://grass.osgeo.org/wiki/Compile_and_Install_Ubuntu" target="_blank">http://grass.osgeo.org/wiki/Compile_and_Install_Ubuntu</a> should be revised, and the suggestions are below.</p><p> sudo apt-get install \<br> build-essential \<br> make flex bison gcc libgcc1 g++ cmake ccache \<br> python python-dev python-qt4 python-qt4-dev \<br> python-opengl \<br> python-wxversion python-wxtools python-wxgtk2.8 \<br> python-dateutil libgsl0-dev python-numpy \<br> wx2.8-headers wx-common libwxgtk2.8-dev libwxgtk2.8-dbg \<br> libwxbase2.8-dev libwxbase2.8-dbg \<br> libncurses5-dev \<br> zlib1g-dev gettext \<br> libtiff4-dev \<br> tcl8.5-dev tk8.5-dev \<br> libcairo2 libcairo2-dev \<br> sqlite3 libsqlite3-dev \<br> libpq-dev \<br> libreadline6 libreadline6-dev libfreetype6-dev \<br> txt2tags \<br> libfftw3-3 libfftw3-dev \<br> libqt4-core libqt4-dbg libqt4-dev libqt4-gui libqt4-sql libqt4-qt3support \<br> lsb-qt4 qt4-designer qt4-dev-tools qt4-doc qt4-qtconfig \<br> libapt-pkg-perl resolvconf \<br> libjasper-dev \<br> ruby \<br> subversion \<br> ffmpeg ffmpeg2theora \<br> libffmpegthumbnailer-dev \<br> libavcodec-dev \<br> libxmu-dev \<br> libavformat-dev libswscale-dev \<br> checkinstall \<br> libglu1-mesa-dev libxmu-dev<br><strong># deleting libpngwriter-dev and adding below</strong></p><p> <strong>sudo apt-get intsall mysql-server mysql-client libmysqlclient-dev libiodbc2 libiodbc2-dev libblas3 libblas-dev lilblapack3 liblapacke liblapack-dev<br></strong></p><p>#moreover, revised all the "./configure <strong> && make</strong> && sudo make install" to "./configure <strong> && sudo make</strong> && sudo make install"</p><p>hope be help</p><p>Dehui Wang<br></p><br><br><br><br><span></span><br><br><br>