[DebianGIS] testing Debian build of GRASS 6.4 SVN
Hi,
I've been trying to build local Debian packages for GRASS 6.4 SVN,
following the instructions in the debian/ subdirectory of the main
source tree (and much needed help from Hamish). The procedure required
starting from a fresh checkout of the sources:
---<---------------cut here---------------start-------------->---
cd /usr/local/src/grass-svn
rm -rf *
svn co https://svn.osgeo.org/grass/grass/branches/develbranch_6 .
cd debian/
svn co svn://svn.debian.org/pkg-grass/packages/grass/branches/6.4/debian debiangis
mv debiangis/* .
rm -rf debiangis
# I edited rules and control to comment out wxwidgets2.8 and
# set --without-wxwidgets, and changed the version number at
# the top of changelog to be "6.4~20081031-1" not 6.3.0-1
---<---------------cut here---------------end---------------->---
Here I ran into a problem because I have 2 versions of the wxwidgets
library:
---<---------------cut here---------------start-------------->---
$ sudo wx-config --list
Default config is gtk2-unicode-release-2.6
Default config will be used for output
Alternate matches:
base-unicode-release-2.6
base-unicode-release-2.8
gtk2-unicode-release-2.8
---<---------------cut here---------------end---------------->---
The 2.6 version is needed by a few other important packages in my system
(e.g. maxima and gnuplot). Is there some way to build using the
available 2.8 version? For now, modifying control and rules as
suggested above allowed to move on:
---<---------------cut here---------------start-------------->---
cd ..
debuild binary
dpkg -i ../grass_*.deb
---<---------------cut here---------------end---------------->---
But there seems to be a clash between the released Debian and SVN
packages packages grass-preview-doc and grass-doc:
---<---------------cut here---------------start-------------->---
$ sudo dpkg -i /usr/local/src/grass-*.deb
Selecting previously deselected package grass-preview.
(Reading database ... 359002 files and directories currently installed.)
Unpacking grass-preview (from .../grass-preview_6.4~20081031-1_amd64.deb) ...
Selecting previously deselected package grass-preview-dev.
Unpacking grass-preview-dev (from .../grass-preview-dev_6.4~20081031-1_amd64.deb) ...
Unpacking grass-preview-doc (from .../grass-preview-doc_6.4~20081031-1_all.deb) ...
dpkg: error processing /usr/local/src/grass-preview-doc_6.4~20081031-1_all.deb (--install):
trying to overwrite `/usr/share/man/man1/r.out.arc.1grass.gz', which is also in package grass-doc
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Setting up grass-preview (6.4~20081031-1) ...
Processing triggers for man-db ...
Setting up grass-preview-dev (6.4~20081031-1) ...
Errors were encountered while processing:
/usr/local/src/grass-preview-doc_6.4~20081031-1_all.deb
---<---------------cut here---------------end---------------->---
Thanks,
--
Seb
Reply to: