Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Firebird 1.5 on modern gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Sarenka
n00b
n00b


Joined: 30 Sep 2006
Posts: 28

PostPosted: Mon Jul 20, 2015 3:41 pm    Post subject: Firebird 1.5 on modern gentoo Reply with quote

Hi,

I have a bit of a problem with installing Firebird 1.5* on a fresh gentoo install (VM on Xenserver).

I`ve downloaded latest source from firebirdsql.org (firebird-1.5.6.5026.tar.bz2 - Oct. 8, 2009 - wow! Thats smth new! Lets use it in our app! - someone said...) and tried "normal" install:
Code:

# ./autogen.sh
AUTOCONF=autoconf
LIBTOOL=libtool
LIBTOOLiZE=libtoolize
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

Running libtoolize ...
cp: cel „aclocal.m4” is not a directory
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'builds/make.new/config'.
libtoolize: copying file 'builds/make.new/config/ltmain.sh'
libtoolize: You should add the contents of the following files to 'aclocal.m4':
libtoolize:   '/usr/share/aclocal/libtool.m4'
libtoolize:   '/usr/share/aclocal/ltoptions.m4'
libtoolize:   '/usr/share/aclocal/ltsugar.m4'
libtoolize:   '/usr/share/aclocal/ltversion.m4'
libtoolize:   '/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
Running autoconf ...
configure.in:193: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:194: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
configure.in:195: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL


So... That didn`t work (that`s unexpected..). So it`s time to make a call to a friend. And uncle Google said:
You`re an i.... You should run:
Code:

autoreconf
automake --add-missing
./configure <some-configure-options>

or
Code:

autoconf

And stop calling, because even I've forgotten about this.

Sounds simple even for me. So.. Lets get started:
Code:

# autoreconf
aclocal-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoheader-2.69: warning: missing template: DARWIN
autoheader-2.69: Use AC_DEFINE([DARWIN], [], [Description])
autoheader-2.69: warning: missing template: DOUBLE_ALIGN
autoheader-2.69: warning: missing template: FB_ALIGNMENT
autoheader-2.69: warning: missing template: FB_IPC_NAME
autoheader-2.69: warning: missing template: FB_PIPE_NAME
autoheader-2.69: warning: missing template: FB_PREFIX
autoheader-2.69: warning: missing template: FB_SERVICE_NAME
autoheader-2.69: warning: missing template: FB_SERVICE_PORT
autoheader-2.69: warning: missing template: FREEBSD
autoheader-2.69: warning: missing template: GETMNTENT_TAKES_TWO_ARGUMENTS
autoheader-2.69: warning: missing template: GETTIMEOFDAY_RETURNS_TIMEZONE
autoheader-2.69: warning: missing template: GPRE_ADA
autoheader-2.69: warning: missing template: GPRE_COBOL
autoheader-2.69: warning: missing template: GPRE_FORTRAN
autoheader-2.69: warning: missing template: GPRE_PASCAL
autoheader-2.69: warning: missing template: HAVE_EDITLINE_H
autoheader-2.69: warning: missing template: HPUX
autoheader-2.69: warning: missing template: MANAGER_PROCESS
autoheader-2.69: warning: missing template: NETBSD
autoheader-2.69: warning: missing template: PowerPC
autoheader-2.69: warning: missing template: SINIXZ
autoheader-2.69: warning: missing template: SOLARIS
autoheader-2.69: warning: missing template: SUPPORT_RAW_DEVICES
autoheader-2.69: warning: missing template: WIN_NT
autoheader-2.69: warning: missing template: solx86
autoreconf-2.69: /usr/bin/autoheader-2.69 failed with exit status: 1

Great... There's smth and It exited with... failed. But maybe next on will work:
Code:

# automake --add-missing
automake-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal)
configure.in:23: installing 'builds/make.new/config/config.guess'
configure.in:23: installing 'builds/make.new/config/config.sub'
configure.in:196: error: required file 'builds/make.new/config/ltmain.sh' not found
automake-1.15: error: no 'Makefile.am' found for any configure output

Eeee... Yyyy.... What?

So I writing to you with hope (because hope dies last)...

* - before reading further - FB 1.5 is NOT MY CHOICE. Some genius decide to write a Windows based client app for my customer to run on FB 1.5 somewhere around 2011 and still thinks it high-tech solution so, as app is still being developed no changes are planed to DB backend...
_________________
Don't kill me for my bad english...
At least - not immidietly...
Please....
Back to top
View user's profile Send private message
mir3x
Guru
Guru


Joined: 02 Jun 2012
Posts: 455

PostPosted: Tue Jul 21, 2015 4:04 am    Post subject: Reply with quote

Code:
configure.in:193: error: possibly undefined macro: AC_PROG_LIBTOOL


emerge libtool should help ( maybe also sys-devel/m4 if u dont have)


You have firebird-2.5.3 in portage , why u install some old one ? ( I think 1.5 is likely to fail at build time )
And u can even check dependencies for 2.5 so u wil see what u probably miss
_________________
Sent from Windows
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Tue Jul 21, 2015 5:56 am    Post subject: Reply with quote

Why are you trying to install software outside of portage? That is basically the quickest way to break your Gentoo without blindly rm-ing things.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Tue Jul 21, 2015 8:24 am    Post subject: Reply with quote

https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-db/firebird/?hideattic=0

v1.5 ebuilds are still here ^^^^

Make an overlay on your system and put it in there; You will probably have to fix the overlay to make it work on Gentoo, and also run ebuild digest to regenerate the metadata for it, but if you can get this to work it will be a much cleaner solution!


If you really want to build it out of tree, I highly recommend you --prefix it to /usr/local, or even better, do it as a user and put it in ~/local - These make it won't step on anything and cause system breakage.
Back to top
View user's profile Send private message
Sarenka
n00b
n00b


Joined: 30 Sep 2006
Posts: 28

PostPosted: Tue Jul 21, 2015 9:05 am    Post subject: Reply with quote

Thanks for all answers.
Main reason for using source is that I haven't found ebuild for 1.5.6.
I`e read Firebird 1.5 ebuilds - topic 965240 - and fallowed the same path last night with even less positive results.
I`ll give it another try and report results here :)
Cyker wrote:
If you really want to build it out of tree, I highly recommend you --prefix it to /usr/local, or even better, do it as a user and put it in ~/local - These make it won't step on anything and cause system breakage.

This also is not my decision unfortunately. Fortunately it`s only one VM used only for this task.
mir3x wrote:
You have firebird-2.5.3 in portage , why u install some old one ?

Sarenka wrote:
FB 1.5 is NOT MY CHOICE

_________________
Don't kill me for my bad english...
At least - not immidietly...
Please....
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Tue Jul 21, 2015 6:51 pm    Post subject: Reply with quote

Assuming the build process didn't change that much from 1.5.4 to 1.5.6, it might be worth seeing if you can hack the 1.5.4 ebuilds to work with 1.5.6...
Back to top
View user's profile Send private message
wltjr
Retired Dev
Retired Dev


Joined: 31 Jan 2006
Posts: 73

PostPosted: Tue Oct 13, 2015 2:31 am    Post subject: Reply with quote

Have you tried a newer version of Firebird? It should be backward compatible. I would attempt that before messing with an older version of Firebird. Worse case you backup and restore it to a newer ODS, but it should still work fine with legacy applications. If you notice no version of Firebird has every been slotted, unlike most RDBMS. This includes Firebird 3, which has major changes, but still has full legacy compatibility, just not legacy ODS. Feel free to drop by #firebird irc channel on freenode. I do not monitory forums much and just happened across this. I was the last maintainer of Firebird and still some what responsible for some aspects. I just refuse to proxy maintain, long story, former dev...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum