[Pkg-firebird-general] Compiling fb 1.0.3 on woody

Grzegorz B. Prokopski gadek@debian.org
Sun, 06 Jun 2004 20:45:13 -0400


W li¶cie z nie, 06-06-2004, godz. 18:39, Remco Seesink pisze: 
> Hi,
> 
> > To make sure I should belong here, I was trying to compile fb1.5 on 
> > woody (but I think it will need sarge).
> You could even be usefull if you couldn't get it to compile at all. However
> being able to recompile existing packages you download from somewhere would
> be very handy. It is not hard, I'll explain later.

Can you show exactly what problems/errors do you have on woody?

If you compile from "dist" tar archive, that is - one that has already
./configure, libtool, and others included - chances are that it would
work, maybe with by-hand upgrade of some build-time dependency.

> I personally run sarge. It will build there without problems. For producing
> official .debs you need to build on sid (unstable) but I could take care of that.
> 
> If you don't have an extra box for sarge/sid and are unwilling to upgrade there
> is a nice alternative. You can install debian in a chroot. It is a lot easier
> than it sounds.

Yup. basically it means executing as root something like:
# debootstrap sid /home/me/chroot
after doing apt-get install debootstrap.  But you have to have
debootstrap from Sarge or Sid for that.

> > But before I tried upgrading my woody to sarge, I thought I'll just try 
> > recompiling 1.0.3.
> > 
> > I've installed the fb1.0.3 source.
> > 
> > Now the trick is fb1.0 needs an already installed version of firebird to 
> > be able to build (it's a dumb compile the compiler trick, popular way 
> > back then).
> This is solved in the debian package by using the boot kit.
> 
> > $apt-get install firebird
> > E: Couldn't find package firebird.

In woody?  No, there has never been firebird package in woody
(unfortunatelly - see my other mail for details).  However there's
no *binary* package called "firebird", even in unstable/testing.

this brings me an idea, that we could provide such a package which
would depend on some "default set of subpackages", like 64-bit I/O
classic server and tools (these are 3 packages AFAIR: common, the
libraries, and the tools).

If you think it's a neat idea (after all it seems quite natural
for a user who wants Firebird to request installation of "firebird"
package) - this should be done relatively quickly, as such new
binary package will require ftpmaster's approval (this usually
takes about a week)

> debuild will complain is build dependencies are wrong. try to install them with apt-get
> and try again. On woody you won't be able to do them all, but as I just tested it will
> still produce .debs. Type debuild -d to override that check.

You can also modify ./debian/control to match woody versions and package
names of all build-deps.

> I don't know if it will casue troubles when installing.

If it builds - it should work.


Hope this helps

				Grzegorz B. Prokopski
-- 
Grzegorz B. Prokopski <gadek@debian.org>
Debian GNU/Linux      http://www.debian.org
SableVM - LGPLed JVM  http://www.sablevm.org
Why SableVM ?!?       http://devel.sablevm.org/wiki/WhySableVM