Thank you Markus! Now, I can compile the daily svns(6.4.3 6.5.0 7.0) successfully, and still two things puzzling me. (1) when running g.gui wxpython, will appear a warning "<br><br><div><b>(.:3615): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent."</b></div><div>(2) when running the default grassgis6.4.2 in ubuntu software center, </div><div><div>GRASS 6.4.2 (nc_spm_08):~ > g.region -p</div><div><b>g.region: /usr/local/lib/libgdal.so.1: no version information available (required by /usr/lib/grass64/lib/libgrass_vect.6.4.2.so)</b></div><div><b>g.region: /usr/local/lib/libgdal.so.1: no version information available (required by /usr/lib/grass64/lib/libgrass_gproj.6.4.2.so)</b></div></div><div><br></div><div>this does not appear  in grass6.4.3svn grass6.5.0svn  grass70svn.</div><div><br></div><div><div>GRASS 6.4.2 (nc_spm_08):~ > g.version -b</div><div>GRASS 6.4.2 (2012) </div><div><br></div><div> ./configure  --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/usr/lib --sysconfdir=/etc --sharedstatedir=/var --enable-socket --enable-shared --with-postgres --with-mysql --with-cxx --with-x --with-gdal --with-freetype --with-motif --with-readline --with-nls --with-odbc --with-sqlite --enable-largefile --with-freetype-includes=/usr/include/freetype2 --with-tcltk-includes=/usr/include/tcl --with-postgres-includes=/usr/include/postgresql --with-mysql-includes=/usr/include/mysql --with-proj-share=/usr/share/proj --with-wxwidgets=/usr/bin/wx-config --with-python=/usr/bin/python-config --with-cairo</div></div><div><br></div><div><div>GRASS 6.4.3svn (nc_spm_08):~ > g.version -b</div><div>GRASS 6.4.3svn (2012) </div><div><br></div><div> ./configure  --enable-debug --enable-64bit --with-readline --with-cxx --with-python=yes --with-proj-share=/usr/local/share/proj/ --with-geos=/usr/local/bin/geos-config --with-cairo --with-tcltk-includes=/usr/include/tcl8.5/ --with-opengl-libs=/usr/include/GL --with-motif --with-ffmpeg=yes '--with-ffmpeg-includes=/usr/include/libavcodec /usr/include/libavformat /usr/include/libswscale' --with-blas --with-lapack --with-nls --with-freetype=yes --with-freetype-includes=/usr/include/freetype2/ --enable-largefile=yes --with-wxwidgets --with-postgres=yes --with-postgresql=yes --with-postgres-includes=/usr/include/postgresql --with-sqlite=yes --with-mysql=yes --with-mysql-includes=/usr/include/mysql --with-odbc=yes</div></div><div><br></div><div><br></div><div><div>GRASS 6.4.3svn (nc_spm_08):~ > ls /usr/lib/libgdal.so.*</div><div>/usr/lib/libgdal.so.1  /usr/lib/libgdal.so.1.16.2</div><div>GRASS 6.4.3svn (nc_spm_08):~ > ls /usr/local/lib/libgdal.so.*</div><div>/usr/local/lib/libgdal.so.1  /usr/local/lib/libgdal.so.1.16.2</div></div><div><br></div><div>Best wishes,</div><div>dehui</div>> -----原始邮件-----<br>> 发件人: "Markus Neteler" <neteler@osgeo.org><br>> 发送时间: 2012年11月14日 星期三<br>> 收件人: "王德辉" <dehuiw@gig.ac.cn><br>> 抄送: "GRASS user list" <grass-user@lists.osgeo.org><br>> 主题: Re: [GRASS-user] mysql error on compiling grass70 source code<br>> <br>> On Wed, Nov 14, 2012 at 2:28 PM, 王德辉 <dehuiw@gig.ac.cn> wrote:<br>> ...<br>> > and just follow the instructions on bellow web<br>> ><br>> > http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu<br>> <br>> IMHO these lines should be removed from the Wiki page:<br>> <br>> > --enable-debug \<br>> <br>> > --with-motif \<br>> <br>> > --with-blas \<br>> > --with-lapack \<br>> <br>> > --with-odbc=yes<br>> <br>> Maybe the last line may interest a few users (so to be moved to an optional<br>> suggestion on the page). But it should not be made overly complicated.<br>> <br>> Since I have no Ubuntu, I'll leave the changes to Nikos or another Ubuntu<br>> user, hence just suggesting here.<br>> <br>> Best<br>> Markus<br><br><br><br>