The ser-0.8.10 sources contain a debian sub-directory for building debian packages. However the control file in this directory lists incomplete and improper build dependancies for the package.
Currently the dependancies are listed as:
Build-Depends: debhelper (>> 3.0.0), libmysqlclient-dev, libexpat1-dev, fakeroot
While they should be:
Build-Depends: debhelper (>> 3.0.0), libmysqlclient-dev, libexpat1-dev, zlib1g-dev
Fakeroot is not a necessary package for building the Debian ser package. It simply makes it easier to build the package as a non-root user.
On Tuesday 15 April 2003 21:52, Jamin W. Collins wrote:
The ser-0.8.10 sources contain a debian sub-directory for building debian packages. However the control file in this directory lists incomplete and improper build dependancies for the package.
Currently the dependancies are listed as:
Build-Depends: debhelper (>> 3.0.0), libmysqlclient-dev, libexpat1-dev, fakeroot
While they should be:
Build-Depends: debhelper (>> 3.0.0), libmysqlclient-dev, libexpat1-dev, zlib1g-dev
Sorry i do not see any build dependecy on zlib. The mysql module needs the zlib lib. But that dependecy is fullfiled through libmysqlclient-dev, which depends on libmysqlclient, which depends on zlib1g.
BTW Serdev is a better place for such notes or discussion.
Regards Nils
On Tue, Apr 15, 2003 at 10:47:44PM +0200, Nils Ohlmeier wrote:
On Tuesday 15 April 2003 21:52, Jamin W. Collins wrote:
The ser-0.8.10 sources contain a debian sub-directory for building debian packages. However the control file in this directory lists incomplete and improper build dependancies for the package.
Currently the dependancies are listed as:
Build-Depends: debhelper (>> 3.0.0), libmysqlclient-dev, libexpat1-dev, fakeroot
While they should be:
Build-Depends: debhelper (>> 3.0.0), libmysqlclient-dev, libexpat1-dev, zlib1g-dev
Sorry i do not see any build dependecy on zlib. The mysql module needs the zlib lib. But that dependecy is fullfiled through libmysqlclient-dev, which depends on libmysqlclient, which depends on zlib1g.
libmysqlclient-dev is not an available package in Debian stable:
# apt-get install libmysqlclient-dev Reading Package Lists... Done Building Dependency Tree... Done Package libmysqlclient-dev is a virtual package provided by: libmysqlclient10-dev 3.23.49-8.2
The dependancy for zlib1g will be fulfilled by the installation of libmysqlclient10-dev since it will then depend on libmysqlclient10 which in turn will depend on zlib1g. Note, this is only the runtime library, not the development headers and such. This will *not* allow one to build the Debian package of the ser source. To build the Debian package of the ser, you must have the development libraries of the used runtime libraries. This is the purpose of the Build-Depends entry. To list which packages are necessary for compilation, and zlib1g-dev *is* needed for compilation.
BTW Serdev is a better place for such notes or discussion.
The web site (http://www.iptel.org/ser/bugs/) says to post it here, so I did.
On Wednesday 16 April 2003 00:37, Jamin W. Collins wrote:
On Tue, Apr 15, 2003 at 10:47:44PM +0200, Nils Ohlmeier wrote:
Sorry i do not see any build dependecy on zlib. The mysql module needs the zlib lib. But that dependecy is fullfiled through libmysqlclient-dev, which depends on libmysqlclient, which depends on zlib1g.
libmysqlclient-dev is not an available package in Debian stable:
# apt-get install libmysqlclient-dev Reading Package Lists... Done Building Dependency Tree... Done Package libmysqlclient-dev is a virtual package provided by: libmysqlclient10-dev 3.23.49-8.2
The dependancy for zlib1g will be fulfilled by the installation of libmysqlclient10-dev since it will then depend on libmysqlclient10 which in turn will depend on zlib1g. Note, this is only the runtime library, not the development headers and such. This will *not* allow one to build the Debian package of the ser source. To build the Debian package of the ser, you must have the development libraries of the used runtime libraries. This is the purpose of the Build-Depends entry. To list which packages are necessary for compilation, and zlib1g-dev *is* needed for compilation.
Ok the error was in the Makefile of the mysql module. Their was the zlib requested for linking. But this is not necessary, because no function of the zlib is used (which i was looking for before my last mail). I fixed it in our CVS. But because of the upcoming new release we will probably not fixs this in the old release :)
Thanks for reporting!
BTW Serdev is a better place for such notes or discussion.
The web site (http://www.iptel.org/ser/bugs/) says to post it here, so I did.
Got me. I did not know our own website well enough :-)
Greetings Nils
At 12:37 AM 4/16/2003, Jamin W. Collins wrote:
The web site (http://www.iptel.org/ser/bugs/) says to post it here, so I did.
And you were right :) That's related to the stable version, which is discussed here.
-Jiri