[pkg-firebird-general] Re: Firebird 1.5.3 and Firebird 2.0 in Debian Sarge

Damyan Ivanov dam at modsoftsys.com
Thu Dec 7 16:51:19 CET 2006


Hi, Pierre,

-=| Pierre Yager ,  7.12.2006 16:40 |=-
> Do you have some (good ?) news about Firebird 2.0 packaging for Debian
> Sarge ?

Unfortunately not. I remember my promise, but...

I was rather busy preparing debconf-managed package for sid. This is
now mostly done and next thing to use my free time on is 2.0 packaging.

> I also tried to manually backport Firebird 1.5.3 from testing using
> source packages :

Good!

> I added this line to sources.list
> 
> deb-src ftp://ftp.fr.debian.org/debian testing main
> 
> Then I checked out the sources using
> 
> # apt-get update
> # mkdir scratch
> # cd scratch
> # apt-get source firebird2
> # apt-get build-dep firebird2
> # cd firebird2-1.5.3.4870
> ~/scratch/firebird2-1.5.3.4870# debuild -us -uc
> ...
> The Firebird2 package has been configured with the following options:
> 
> Architecture : SuperServer
>        Debug : disabled
>   64 bit I/O : enabled
>  Raw devices : disabled
> Service name : gds_db
> Service port : 3050
> GPRE modules : c_cxx.cpp
> 
>  Install Dir : /usr/lib/firebird2
> 
> touch configure-super-stamp
> echo Starting build-super-server
> Starting build-super-server
> dh_testdir
> /usr/bin/make
> make[1]: Entering directory `/root/scratch/firebird2-1.5.3.4870'
> /usr/bin/make -C src firebird
> make[2]: Entering directory `/root/scratch/firebird2-1.5.3.4870/src'
> misc/writeBuildNum.sh createMakeVersion ../gen/Make.Version
> make[2]: Leaving directory `/root/scratch/firebird2-1.5.3.4870/src'
> make[2]: Entering directory `/root/scratch/firebird2-1.5.3.4870/src'
> /usr/bin/make -f ../gen/Makefile.extern.editline
> make[3]: Entering directory `/root/scratch/firebird2-1.5.3.4870/src'
> cd ../src/extern/editline; ./configure
> creating cache ./config.cache
> checking for gcc... gcc
> checking whether the C compiler (gcc -DTERMINATE_IDLE_LOCK_MANAGER
> -I../src/include/gen -I../src/include -ggdb -O3 -march=i586 -mtune=i686
> -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC
> -DPROD_BUILD -I../src/include/gen -I../src/include -ggdb -O3 -march=i586
> -mtune=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe
> -MMD -fPIC  -DPROD_BUILD ) works... no
> configure: error: installation or configuration problem: C compiler
> cannot create executables.
> make[3]: *** [../gen/firebird/lib/libeditline.a] Erreur 1
> make[3]: Leaving directory `/root/scratch/firebird2-1.5.3.4870/src'
> make[2]: *** [../gen/firebird/lib/libeditline.a] Erreur 2
> make[2]: Leaving directory `/root/scratch/firebird2-1.5.3.4870/src'
> make[1]: *** [firebird] Erreur 2
> make[1]: Leaving directory `/root/scratch/firebird2-1.5.3.4870'
> make: *** [build-super-stamp] Erreur 2
> debuild: fatal error at line 765:
> dpkg-buildpackage failed!
> 
> It seems that the GCC compiler found by autogen is broken or is not the
> right one ?

What version of the compiler you have installed? Did you install the
build-essential package?
Does config.log file give any hints as of what went wrong?

Clean upstream source were to be compiles with gcc-3.4. Since default
compiler for sid/etch is 4.1, I've added a couple of patches to make
the source compatible with that. They may have some side effect that
makes it not to work with 3.4 :/

On a side note, you don't need to be root in order to build packages.
Only install duild-dependencies as root, then better switch to
ordinary user (apt-get source, debuild -rfakeroot etc)


Kind regards,
	dam
-- 
Damyan Ivanov                           Modular Software Systems
dam at modsoftsys.com
phone +359(2)928-2611, 929-3993              fax +359(2)920-0994
mobile +359(88)856-6067             dam at jabber.minus273.org/Gaim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-firebird-general/attachments/20061207/fc7a9d00/signature.pgp


More information about the pkg-firebird-general mailing list