Hi all,
http://grass.osgeo.org/wiki/Compile_and_Install/ is blank! Please check it up!
Thanks!
Dehui
Hi all,
http://grass.osgeo.org/wiki/Compile_and_Install/ is blank! Please check it up!
Thanks!
Dehui
Dehui:
Hi all,
Hi Dehui
http://grass.osgeo.org/wiki/Compile_and_Install/ is blank! Please check it
up! Thanks!
I think the web-site migration (old to new) is on-going. It is worth waiting a
while
All the best, Nikos
On Sun, Nov 11, 2012 at 1:29 AM, 王德辉 <dehuiw@gig.ac.cn> wrote:
Hi all,
http://grass.osgeo.org/wiki/Compile_and_Install/ is blank! Please check it
up!
Please use temporarily this address:
http://grassold.osgeo.org/wiki/
We are currently doing the web site migration.
Markus
PS: Apache redirect rules specialist wanted
Thank you Nikos! The http://grass.fsv.cvut.cz/wiki-mirror /index.php/Compile_and_Install_Ubuntu is still available.
dehui
-----原始邮件-----
发件人: “Nikos Alexandris” nik@nikosalexandris.net
发送时间: 2012年11月11日 星期日
收件人: grass-user@lists.osgeo.org
抄送: “王德辉” dehuiw@gig.ac.cn
主题: Re: [GRASS-user] “Compiling source code” is missing !!!Dehui:
Hi all,
Hi Dehui
http://grass.osgeo.org/wiki/Compile_and_Install/ is blank! Please check it
up! Thanks!I think the web-site migration (old to new) is on-going. It is worth waiting a
whileAll the best, Nikos
Hi all, when i compile grass70svn on ubuntu12.10, i meet the mysql error as
follow, in spite of having install mysql. Any advice would be appreciated.
./configure
…
–with-postgresql=yes --with-postgres-includes=“/usr/include/postgresql”
–with-sqlite=yes \
error: *** MySQL includes directory /usr/include/mysql does not exist
Dehui
Dehui:
Hi all, when i compile grass70svn on ubuntu12.10, i meet the mysql error as
follow, in spite of having install mysql. Any advice would be appreciated../configure \
......
--with-postgresql=yes --with-postgres-includes="/usr/include/postgresql" \
--with-sqlite=yes \error: *** MySQL includes directory /usr/include/mysql does not exist
Is the following instruction included?
--with-mysql=yes --with-mysql-includes="/usr/include/mysql"
Nikos
On Sun, Nov 11, 2012 at 8:31 PM, Nikos Alexandris
<nik@nikosalexandris.net> wrote:
Dehui:
Hi all, when i compile grass70svn on ubuntu12.10, i meet the mysql error as
follow, in spite of having install mysql. Any advice would be appreciated../configure \
......
--with-postgresql=yes --with-postgres-includes="/usr/include/postgresql" \
--with-sqlite=yes \error: *** MySQL includes directory /usr/include/mysql does not exist
Is the following instruction included?
--with-mysql=yes --with-mysql-includes="/usr/include/mysql"
Nikos,
I guess that the dependency is missing here:
( Wiki temporarily mapped to http://grassold.osgeo.org/wiki )
http://grassold.osgeo.org/wiki/Compile_and_Install_Ubuntu#Dependencies
Could you please add that?
Thanks,
Markus
Dehui:
>> Hi all, when i compile grass70svn on ubuntu12.10, i meet the mysql error
>> as follow, in spite of having install mysql. Any advice would be
>> appreciated.
>> ./configure \
>> ......
>> --with-postgresql=yes --with-postgres-includes="/usr/include/postgresql"\
>> --with-sqlite=yes \
>> error: *** MySQL includes directory /usr/include/mysql does not exist
Nikos:
> Is the following instruction included?
> --with-mysql=yes --with-mysql-includes="/usr/include/mysql"
Markus:
I guess that the dependency is missing here:
( Wiki temporarily mapped to http://grassold.osgeo.org/wiki )
http://grassold.osgeo.org/wiki/Compile_and_Install_Ubuntu#Dependencies
Could you please add that?
Thanks,
Right! Unfortunately, can't log-in right now (mis-redirected to
<http://grassold.osgeo.org/index.php?title=Special:UserLogin&returnto=Main+Page.>\)
But I will *not* forget to add it. Noted.
Thanks, Nikos
On Sun, Nov 11, 2012 at 8:52 PM, Nikos Alexandris
<nik@nikosalexandris.net> wrote:
...
Right! Unfortunately, can't log-in right now (mis-redirected to
<http://grassold.osgeo.org/index.php?title=Special:UserLogin&returnto=Main+Page.>\)But I will *not* forget to add it. Noted.
Fine, thanks.
We are working in this moment on the server configuration, the Apache rewrite
rules of the new CMS and the Wiki are fighting each other
I'll make an official announcement when all the stuff runs smoothly.
Thanks for your patience,
Markus
On Monday 12 of November 2012 03:48:04 王德辉 wrote:
Thank you Nikos! I am sorry for deleting the right configure phrases. Yes
"--with-mysql=yes --with-mysql-includes="/usr/include/mysql" " included.
Hi! Please try to keep this discussion on-list. Will potentially help others
as well. How did you install mysql? Just curious.
I think the wiki misses some instructions about the "ld.so.conf" file. My
mistake. I am puzzled a bit on how to introduce this exactly. In addition, I
recently read that *Using LD_LIBRARY_PATH for this purpose is a complete hack,
and according to the linker gurus, this variable should be avoided.* [1]
Any suggestions?
Thanks, Nikos
[1] <http://prefetch.net/articles/linkers.badldlibrary.html>
Hi all, the instructions on web http://grass.osgeo.org/wiki/Compile_and_Install_Ubuntu should be revised, and the suggestions are below.
sudo apt-get install
build-essential
make flex bison gcc libgcc1 g++ cmake ccache
python python-dev python-qt4 python-qt4-dev
python-opengl
python-wxversion python-wxtools python-wxgtk2.8
python-dateutil libgsl0-dev python-numpy
wx2.8-headers wx-common libwxgtk2.8-dev libwxgtk2.8-dbg
libwxbase2.8-dev libwxbase2.8-dbg
libncurses5-dev
zlib1g-dev gettext
libtiff4-dev
tcl8.5-dev tk8.5-dev
libcairo2 libcairo2-dev
sqlite3 libsqlite3-dev
libpq-dev
libreadline6 libreadline6-dev libfreetype6-dev
txt2tags
libfftw3-3 libfftw3-dev
libqt4-core libqt4-dbg libqt4-dev libqt4-gui libqt4-sql libqt4-qt3support
lsb-qt4 qt4-designer qt4-dev-tools qt4-doc qt4-qtconfig
libapt-pkg-perl resolvconf
libjasper-dev
ruby
subversion
ffmpeg ffmpeg2theora
libffmpegthumbnailer-dev
libavcodec-dev
libxmu-dev
libavformat-dev libswscale-dev
checkinstall
libglu1-mesa-dev libxmu-dev
# deleting libpngwriter-dev and adding below
sudo apt-get intsall mysql-server mysql-client libmysqlclient-dev libiodbc2 libiodbc2-dev libblas3 libblas-dev lilblapack3 liblapacke liblapack-dev
#moreover, revised all the “./configure && make && sudo make install” to “./configure && sudo make && sudo make install”
hope be help
Dehui Wang
王德辉:
Well, this error might due to lacking this command " sudo apt-get install
libmysqlclient15-dev" to support C.
Hi Dehui!
(
Please, try to keep the discussion by replying (mainly) towards the list and
(optionally) carbon-copy your post to me or other posters. It will benefit me,
you and everyone that follows the list.
)
--%<--- code & response --%<---
# on my system I have following installed:
dpkg -l | grep mysql | cut -d" " -f3
akonadi-backend-mysql
libmysql-java
libmysqlclient-dev
libmysqlclient16
libmysqlclient18:amd64
libqt4-sql-mysql:amd64
mysql-client-core-5.5
mysql-common
mysql-server-core-5.5
python-mysqldb
# I think you only need to install "libmysqlclient-dev"
# other dependencies will be automatically installed (?)
# does /usr/include/mysql exist?
ls -d /usr/include/mysql/
# additionally, check the "/etc/ld.so.conf" file
cat /etc/ld.so.conf
--->%-- code & response -->%---
Thanks, Nikos
Dear Dehui,
somehow I missed this post. Thanks, Nikos
王德辉:
Hi all, the instructions on web
http://grass.osgeo.org/wiki/Compile_and_Install_Ubuntu should be revised,
and the suggestions are below.
Anyone has access to the wiki. If you have cross-checked any instructions and
think that something should be updated, please edit the respective pages. We
can always revert any changes or edit again if there is something that will
not work for anyone.
sudo apt-get install \
build-essential \
make flex bison gcc libgcc1 g++ cmake ccache \
python python-dev python-qt4 python-qt4-dev \
python-opengl \
python-wxversion python-wxtools python-wxgtk2.8 \
python-dateutil libgsl0-dev python-numpy \
wx2.8-headers wx-common libwxgtk2.8-dev libwxgtk2.8-dbg \
libwxbase2.8-dev libwxbase2.8-dbg \
libncurses5-dev \
zlib1g-dev gettext \
libtiff4-dev \
tcl8.5-dev tk8.5-dev \
libcairo2 libcairo2-dev \
sqlite3 libsqlite3-dev \
libpq-dev \
libreadline6 libreadline6-dev libfreetype6-dev \
txt2tags \
libfftw3-3 libfftw3-dev \
libqt4-core libqt4-dbg libqt4-dev libqt4-gui libqt4-sql libqt4-qt3support \
lsb-qt4 qt4-designer qt4-dev-tools qt4-doc qt4-qtconfig \
libapt-pkg-perl resolvconf \
libjasper-dev \
ruby \
subversion \
ffmpeg ffmpeg2theora \
libffmpegthumbnailer-dev \
libavcodec-dev \
libxmu-dev \
libavformat-dev libswscale-dev \
checkinstall \
libglu1-mesa-dev libxmu-dev
# deleting libpngwriter-dev and adding below
sudo apt-get intsall mysql-server mysql-client libmysqlclient-dev
libiodbc2 libiodbc2-dev libblas3 libblas-dev lilblapack3 liblapacke
liblapack-dev
See above comment -- please add/update instructions carefully. Also, it is up
to each user's personal needs if mysql should be installed. Any instructions
like the ones in the page in question, just can't and should not be universal.
The idea, as far my understanding can reach, is to have something to step on
and learn, move independently later to satisfy own needs.
#moreover, revised all the "./configure && make && sudo make install" to
"./configure && sudo make && sudo make install"
I don't think "sudo" is required, or even correct, for the compilation. It
should only be given for the installation. If a simple "make" does not
compile, perhaps there are other permission problems (?).
hope be help
Dehui Wang
Yes, I think all discussions help in some way
Cheers, Nikos
Hi Nikos!
sudo apt-get install mysql-server mysql-client libmysqlclient-dev libiodbc2 libiodbc2-dev libblas3 libblas-dev lilblapack3 liblapacke liblapack-devmotif-clients libmotif-dev
#However, libiodbc2 and libiodbc2-dev conflict with my kubuntu-desktop.
Thanks!
Cheers,
dehui
-----原始邮件-----
发件人: “Nikos Alexandris” nik@nikosalexandris.net
发送时间: 2012年11月13日 星期二
收件人: “王德辉” dehuiw@gig.ac.cn, grass-user@lists.osgeo.org
抄送:
主题: Re: [GRASS-user] mysql error on compiling grass70 source code王德辉:
Well, this error might due to lacking this command " sudo apt-get install
libmysqlclient15-dev" to support C.Hi Dehui!
(
Please, try to keep the discussion by replying (mainly) towards the list and
(optionally) carbon-copy your post to me or other posters. It will benefit me,
you and everyone that follows the list.
)–%<— code & response --%<—
on my system I have following installed:
dpkg -l | grep mysql | cut -d" " -f3
akonadi-backend-mysql
libmysql-java
libmysqlclient-dev
libmysqlclient16
libmysqlclient18:amd64
libqt4-sql-mysql:amd64
mysql-client-core-5.5
mysql-common
mysql-server-core-5.5
python-mysqldbI think you only need to install “libmysqlclient-dev”
other dependencies will be automatically installed (?)
does /usr/include/mysql exist?
ls -d /usr/include/mysql/
additionally, check the “/etc/ld.so.conf” file
cat /etc/ld.so.conf
—>%-- code & response -->%—Thanks, Nikos
On Wed, Nov 14, 2012 at 10:38 AM, 王德辉 <dehuiw@gig.ac.cn> wrote:
Hi Nikos!
# I use ubuntu12.10.After deleting libpngwriter-dev and adding below, the
compilation works.
excellent!
sudo apt-get install mysql-server mysql-client libmysqlclient-dev libiodbc2
libiodbc2-dev libblas3 libblas-dev lilblapack3 liblapacke
liblapack-devmotif-clients libmotif-dev
#However, libiodbc2 and libiodbc2-dev conflict with my kubuntu-desktop.
Just my 0.02 cent: I am not sure that BLAS and LAPACK are used at all,
so perhaps no need to add them unless you plan to do numerical
programming with the GMATH etc libs.
Also MOTIF: still existing in GRASS 7?
Markus
Hi Markus!
MOTIF is not existing in GRASS 7, but compiling grass6 needed.
Cheers,
dehui
-----原始邮件-----
发件人: “Markus Neteler” neteler@osgeo.org
发送时间: 2012年11月14日 星期三
收件人: “王德辉” dehuiw@gig.ac.cn
抄送: “Nikos Alexandris” nik@nikosalexandris.net, grass-user@lists.osgeo.org
主题: Re: [GRASS-user] mysql error on compiling grass70 source codeOn Wed, Nov 14, 2012 at 10:38 AM, 王德辉 dehuiw@gig.ac.cn wrote:
Hi Nikos!
I use ubuntu12.10.After deleting libpngwriter-dev and adding below, the
compilation works.
excellent!
sudo apt-get install mysql-server mysql-client libmysqlclient-dev libiodbc2
libiodbc2-dev libblas3 libblas-dev lilblapack3 liblapacke
liblapack-devmotif-clients libmotif-dev
#However, libiodbc2 and libiodbc2-dev conflict with my kubuntu-desktop.Just my 0.02 cent: I am not sure that BLAS and LAPACK are used at all,
so perhaps no need to add them unless you plan to do numerical
programming with the GMATH etc libs.
Also MOTIF: still existing in GRASS 7?Markus
Hello,
it isn't unless You plan to use those obscure tools who's names I even
can't remember (xganim, ximgview).
Maris.
2012/11/14 王德辉 <dehuiw@gig.ac.cn>:
Hi Markus!
MOTIF is not existing in GRASS 7, but compiling grass6 needed.
Cheers,dehui
-----原始邮件-----
发件人: "Markus Neteler" <neteler@osgeo.org>
发送时间: 2012年11月14日 星期三
收件人: "王德辉" <dehuiw@gig.ac.cn>
抄送: "Nikos Alexandris" <nik@nikosalexandris.net>,
grass-user@lists.osgeo.org主题: Re: [GRASS-user] mysql error on compiling grass70 source code
On Wed, Nov 14, 2012 at 10:38 AM, 王德辉 <dehuiw@gig.ac.cn> wrote:
> Hi Nikos!
>
> # I use ubuntu12.10.After deleting libpngwriter-dev and adding below,
> the
> compilation works.excellent!
> sudo apt-get install mysql-server mysql-client libmysqlclient-dev
> libiodbc2
> libiodbc2-dev libblas3 libblas-dev lilblapack3 liblapacke
> liblapack-devmotif-clients libmotif-dev
> #However, libiodbc2 and libiodbc2-dev conflict with my kubuntu-desktop.Just my 0.02 cent: I am not sure that BLAS and LAPACK are used at all,
so perhaps no need to add them unless you plan to do numerical
programming with the GMATH etc libs.
Also MOTIF: still existing in GRASS 7?Markus
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
Hi Maris,
Thank you very much! Now I see “motif, balas,lapack” are not I necessary to me in compling grass gis source codes. I don’t how to write the configuration files of grass gis, and just follow the instructions on bellow web
http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu
./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
-----原始邮件-----
发件人: “Maris Nartiss” maris.gis@gmail.com
发送时间: 2012年11月14日 星期三
收件人: “王德辉” dehuiw@gig.ac.cn
抄送: “Markus Neteler” neteler@osgeo.org, grass-user@lists.osgeo.org
主题: Re: [GRASS-user] mysql error on compiling grass70 source codeHello,
it isn’t unless You plan to use those obscure tools who’s names I even
can’t remember (xganim, ximgview).Maris.
2012/11/14 王德辉 dehuiw@gig.ac.cn:
Hi Markus!
MOTIF is not existing in GRASS 7, but compiling grass6 needed.
Cheers,dehui
-----原始邮件-----
发件人: “Markus Neteler” neteler@osgeo.org
发送时间: 2012年11月14日 星期三
收件人: “王德辉” dehuiw@gig.ac.cn
抄送: “Nikos Alexandris” nik@nikosalexandris.net,
grass-user@lists.osgeo.org主题: Re: [GRASS-user] mysql error on compiling grass70 source code
On Wed, Nov 14, 2012 at 10:38 AM, 王德辉 dehuiw@gig.ac.cn wrote:
Hi Nikos!
I use ubuntu12.10.After deleting libpngwriter-dev and adding below,
the
compilation works.excellent!
sudo apt-get install mysql-server mysql-client libmysqlclient-dev
libiodbc2
libiodbc2-dev libblas3 libblas-dev lilblapack3 liblapacke
liblapack-devmotif-clients libmotif-dev
#However, libiodbc2 and libiodbc2-dev conflict with my kubuntu-desktop.Just my 0.02 cent: I am not sure that BLAS and LAPACK are used at all,
so perhaps no need to add them unless you plan to do numerical
programming with the GMATH etc libs.
Also MOTIF: still existing in GRASS 7?Markus
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
On Wed, Nov 14, 2012 at 2:28 PM, 王德辉 <dehuiw@gig.ac.cn> wrote:
...
and just follow the instructions on bellow web
IMHO these lines should be removed from the Wiki page:
--enable-debug \
--with-motif \
--with-blas \
--with-lapack \
--with-odbc=yes
Maybe the last line may interest a few users (so to be moved to an optional
suggestion on the page). But it should not be made overly complicated.
Since I have no Ubuntu, I'll leave the changes to Nikos or another Ubuntu
user, hence just suggesting here.
Best
Markus
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 "
(.:3615): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn’t believe we’re it’s parent."
(2) when running the default grassgis6.4.2 in ubuntu software center,
GRASS 6.4.2 (nc_spm_08):~ > g.region -p
g.region: /usr/local/lib/libgdal.so.1: no version information available (required by /usr/lib/grass64/lib/libgrass_vect.6.4.2.so)
g.region: /usr/local/lib/libgdal.so.1: no version information available (required by /usr/lib/grass64/lib/libgrass_gproj.6.4.2.so)
this does not appear in grass6.4.3svn grass6.5.0svn grass70svn.
GRASS 6.4.2 (nc_spm_08):~ > g.version -b
GRASS 6.4.2 (2012)
./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
GRASS 6.4.3svn (nc_spm_08):~ > g.version -b
GRASS 6.4.3svn (2012)
./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
GRASS 6.4.3svn (nc_spm_08):~ > ls /usr/lib/libgdal.so.*
/usr/lib/libgdal.so.1 /usr/lib/libgdal.so.1.16.2
GRASS 6.4.3svn (nc_spm_08):~ > ls /usr/local/lib/libgdal.so.*
/usr/local/lib/libgdal.so.1 /usr/local/lib/libgdal.so.1.16.2
Best wishes,
dehui
-----原始邮件-----
发件人: “Markus Neteler” neteler@osgeo.org
发送时间: 2012年11月14日 星期三
收件人: “王德辉” dehuiw@gig.ac.cn
抄送: “GRASS user list” grass-user@lists.osgeo.org
主题: Re: [GRASS-user] mysql error on compiling grass70 source codeOn Wed, Nov 14, 2012 at 2:28 PM, 王德辉 dehuiw@gig.ac.cn wrote:
…and just follow the instructions on bellow web
IMHO these lines should be removed from the Wiki page:
–enable-debug \
–with-motif \
–with-blas
–with-lapack \–with-odbc=yes
Maybe the last line may interest a few users (so to be moved to an optional
suggestion on the page). But it should not be made overly complicated.Since I have no Ubuntu, I’ll leave the changes to Nikos or another Ubuntu
user, hence just suggesting here.Best
Markus