Sunday, March 07, 2010

Compiling #firebird 2.5 Release Candidate on #ubuntu #karmic

seems that Firebird 2.5 final is on the way and i wanted to test it on my Karmic machine
There is Branch  B2_5_Release for this release so I used this way

cvs -z3 -d:pserver:anonymous@firebird.cvs.sourceforge.net:/cvsroot/firebird co -r B2_5_Release firebird2



./autogen.sh --prefix=/opt/firebird2.5.x --enable-superserver
make 
sudo make install 

and that is all

Another alternative is to use the Debian git tree for 2.5
apt-get build-dep firebird2.1
git clone git://git.debian.org/pkg-firebird/2.5.git
cd 2.5
./autogen.sh --prefix=/opt/firebird2.5.x --enable-superserver --with-system-icu --with-system-editline
make
make install

4 comments:

Unknown said...

Unfortunately this doesn't work when trying to compile/install the SuperClassic (fb_smp_server) version. Even in Release Candidate 2 it still doesn't work.

Expect to get the following output and errors after 'sudo make install':
Firebird classic 2.5.0.25920-ReleaseCandidate2.amd64 Installation

Press Enter to start installation or ^C to abort
Extracting install data
grep: /etc/inetd.conf: No such file or directory
Please enter new password for SYSDBA user: xxxxxxxx
Missing configuration file: ../gen/firebird/firebird.conf, exiting

Please enter new password for SYSDBA user: ^Cmake[2]: *** [install] Interrupt
make[1]: *** [install] Interrupt
make: *** [install] Interrupt

This will continue in an endless loop unless you Ctrl-C out of it. I suppose a definitive flag is needed to install SuperClassic since the scripts look for inetd, but inetd is not needed. Unless I'm missing something.

Popa Adrian Marius said...

it's a know issues with the git import script so for the moment
please use the cvs :)
I have updated the guide to use that
http://mapopa.blogspot.com/2009/09/compiling-firebird-25-release-candidate.html

it missed some files seems to be a big bug so i started to use another alternative way to import
and keep the git tree

Unknown said...

have you tested the firebird package for debian http://git.debian.org/?p=pkg-firebird/2.5.git;a=summary ?

Popa Adrian Marius said...

Yes i use it to create 2.5 rc packages on my ubuntu :)

I will upload to ppa