Subject Re: Compiling & Installing Firebird 1.5 from source on Mandrake 9.x
Author awoellgens
--- In firebird-support@yahoogroups.com, "awoellgens"

Hi,

> > > Firebird download page says, version 1.5 of FB can be installed on
> > > Mandrake 9.x distris.
> > > I tried now half a dozen installations with the same amount of
> > > versions and only 1.0.x binaries installed on mandrake 9.1, no 1.5
> > > (source and binary)at all. Binaries missed stdc++6- libraries,got
> > > "undefined references " errors in several sources and wrong
sizes of
> > > pointers and diff. parser errors as well...
> > > What prerequisites are def. needed to get FB 1.5x compiled and
> > > installed on mandrae 9.x?
> > > Is c++ v6 def. needed?
> > > use:
> > > Mandrake 9.1
> > > gcc 3.2.2
> > > stdc++5
> > > bison and bayacc 19
> > > what else to mention?
> > >
> > > Achim
> > >
> > > P.s. have to add, i am no developer, just normal user with some
exp.
> > > with "configure, make and editing conf-files" ;-)
> >
> > What was the output of: The configure script; and the failing gcc
call.
>
> well configure runs smoothly, get a couple of "nos" where static
> libraries and some odd stuff is checked but that s ok to me!
> then "make" runs through for a long time until I come to:
> /dsql/parse.cpp and get lots of warnings: "cast from pointer to
> integer of different size",
> then: "[../temp/libfbstatic/dsql/parse.o] Fehler 1"
> and: "rm ../src/jrd/dyn_util.cpp ../src/jrd/ini.cpp
> ../src/jrd/dyn_mod.cpp ../src/jrd/dfw.cpp ../src/jrd/dyn_def.cpp
> ../src/jrd/dpm.cpp ../src/jrd/met.cpp ../src/jrd/dyn.cpp
> ../src/jrd/grant.cpp ../src/jrd/scl.cpp ../src/dsql/blob.cpp
> ../src/dsql/array.cpp ../src/dsql/metd.cpp ../src/jrd/dyn_del.cpp
> ../src/jrd/pcmet.cpp ../src/jrd/fun.cpp
> make[3]: Leaving directory
> `/tmp/firebird-1.5.1.4481/firebird-1.5.1.4481/src'
> make[2]: *** [libfbstatic] Fehler 2
> make[2]: Leaving directory
> `/tmp/firebird-1.5.1.4481/firebird-1.5.1.4481/src'
> make[1]: *** [../gen/firebird/bin/gpre_static] Fehler 2
> make[1]: Leaving directory
> `/tmp/firebird-1.5.1.4481/firebird-1.5.1.4481/src'
> make: *** [firebird] Fehler 2"
> then it stops!!!
> switched to that version 1.5.1 after 1.5.2 latest relaese got me all
> these "undefined reference" errors! :-(

ok, managed to compile and install finally - Heureka! :-)
don t know what exactly did it but I:

- changed version of autoconf2.5.2.59 to -3mdk instead of -9mkd
- installed missing ncurses-devel package after studying
configure-output
- switched to newer bayacc-version

it did compile and install with a little "shock-moment" afterwards..
I couldn t execute any prog from /usr/local, because installation
switched all permissions there to "firebird" had to change this back
to normal, argh......

thanks for all the help folks....

bye
Achim