Debian Codegraph @

README

raw
1 DBD::Firebird -- DBI driver for Firebird RDBMS server.
2
3 Copyright (c) 2010-2015 Popa Adrian Marius <[email protected]>
4 Copyright (c) 2011-2013 Stefan Suciu <[email protected]>
5 Copyright (c) 2011-2015, 2017, 2024, 2025 Damyan Ivanov <[email protected]>
6 Copyright (c) 2011 Alexandr Ciornii <[email protected]>
7 Copyright (c) 2010-2011 Mike Pomraning <[email protected]>
8 Copyright (c) 1999-2005 Edwin Pratomo
9 Portions Copyright (c) 2001-2005 Daniel Ritz
10
11 You may distribute under the terms of either the GNU General Public
12 License or the Artistic License, as specified in the Perl README file.
13 (http://dev.perl.org/licenses/artistic.html)
14
15
16 REQUIREMENTS:
17 - Perl (version 5.8.1 or higher)
18 - Perl DBI (1.41 or higher)
19 - Firebird (2.5.1 or higher)
20 - A C compiler
21 * UN*X
22 GCC 4.x (tested, older may or may not work) or other capable
23 clang
24
25 * Windows
26 - Strawberry perl (http://strawberryperl.com/) comes with it's own compiler (mingw)
27 - Visual Studio C++ (http://visualstudio.com)
28 - Cygwin
29 * Freebsd
30 - Threaded perl is required (You have to re-install perl from ports and you have to select the config
31 option that says 'build a perl with threads')
32
33
34 *BEFORE* BUILDING, TESTING AND INSTALLING this you will need to:
35
36 - Build, test and install Perl 5 (at least 5.8.1).
37
38 - Build, test and install the DBI module (at least DBI 1.41).
39
40 On Debian/Ubuntu you can do a simple:
41 sudo apt-get install firebird2.5-dev libdbi-perl
42 On OpenSUSE:
43 sudo zypper in firebird firebird-devel perl-DBI
44 On Fedora, Red Hat Enterprise Linux, CentOS and derivates:
45 sudo yum install firebird firebird-devel perl-DBI
46
47 - Remember to *read* the DBI README file if you installed it from source
48
49 - Make sure that Firebird server is running (for testing telnet localhost 3050)
50 sudo service firebird start
51
52
53 BUILDING:
54 Win32/Win64 with Strawberry
55 type 'dmake' from the console
56
57 Win32/Win64 with MS compiler:
58 type 'nmake', not just 'make'
59
60 To Configure and build the DBD:
61 perl Makefile.PL
62 make
63
64 TESTING
65 To run tests module Test::Exception is required on Debian/Ubuntu systems:
66 sudo apt-get install libtest-exception-perl
67
68 Please, set at least DBI_PASS (or ISC_PASSWORD), before 'make test'.
69 The default for DBI_USER is 'SYSDBA'.(masterkey password is given here as example only)
70 ISC_PASSWORD=masterkey make test
71
72 INSTALLING:
73 make install
74