Kjetil Kjernsmo wrote:
Dear all,

I've been packaging Virtuoso for Debian. As a user of Debian and Debian-derived distros such as Ubuntu, it eases maintenance a lot to have them. Also, it is in fact very easy in its simplest case, there are two scripts that can be used, I've used svn-buildpackage since we use SVN, which is documented here: http://debianpaket.de/svn-buildpackage/index.html Since OpenLink are using CVS, you may want to look at cvs-buildpackage, which, works analogously AFAIK.

I have a first iteration of the control file, where the dependencies are encoded. If anybody wants it, please let me know. I have also successfully packaged Virtuoso, but the problem is that it contains some binaries which is allready available from other sources, and this creates a conflict.
This is the output from installing the package:

dpkg: error processing /home/kkj/dev/virtuoso-opensource/build-area/virtuoso-opensource_5.0.8-1_amd64.deb (--install):
 trying to overwrite `/usr/bin/isql', which is also in package unixodbc

I'm trying to understand what the isql binary is and how it relates to the binary in unixodbc. If it is the same, then I would suppose that it would be better to not build this binary in the virtuoso package, and instead create a dependency on unixodbc. If they are substantially different, there are two possibilities: Rename the binary in the virtuoso package, so that it doesn't conflict. If the isql binary in virtuoso can be used instead of the unixodbc, then I think that the Debian way would be to declare them as conflicting alternatives.

They are very different. Both have the aim of presenting a command-line to a database connection, but unixODBC's isql talks only to an ODBC Driver Manager, while ours talks only to Virtuoso (on the sql port, 1111/tcp). One should probably be renamed (`isqlv' perhaps?).

HTH,

~Tim
--
Tim Haynes
Product Development Consultant
OpenLink Software
<http://www.openlinksw.com/>

Reply via email to