Showing posts with label flamerobin. Show all posts
Showing posts with label flamerobin. Show all posts

Monday, October 18, 2010

clang++ compiling successful experiments with Firebird 2.5

I started playing with clang and Firebird sourcecode in a lunchbreak
on Lubuntu 10.10 amd64
If you wonder why seems to be a faster compiler and anyway is good to test the code in at least two modern compilers

The results are impressive : i mean i didn't expecting that clang++ to be so advanced that my Firebird 2.5 compilation finished in the end resulting in working binaries for Firebird 2.5

Read the full thread on Firebird-devel , on small patches needed to get it on .

See my screenshot with flamerobin (compiled with g++) connecting to just compiled Firebird 2.5 with clang++



ps: I like the error message , they look more human readable than the ones from g++ (colored)
Update: compilation works by default now if you use B2_5_Release Branch of Firebird
svn co https://firebird.svn.sourceforge.net/svnroot/firebird/firebird/branches/B2_5_Release firebird_2_5_Release

cd firebird_2_5_Release

./autogen.sh --prefix=/opt/firebird2.5 --enable-superserver --with-system-icu --with-system-editline

export CXX="clang++"

make

Saturday, October 11, 2008

Testing Firebird 2.1 on Debian experimental

Testing Firebird 2.1 on Debian experimental

Update: There is now Firebird 2.5 final in experimental
also if you want 2.1 is already in testing and unstable (no need for experimental repository)

Here is my sources.list
cat /etc/apt/sources.list

deb http://ftp.us.debian.org/debian/ unstable main
deb-src http://ftp.us.debian.org/debian/ unstable main

Add:

deb http://ftp.us.debian.org/debian/ experimental main
deb-src http://ftp.us.debian.org/debian/ experimental main

Then:
# apt-get update -t experimental
# apt-get install -t experimental firebird2.1-classic
or install super-server
# apt-get install -t experimental firebird2.1-classic
Install examples and flamerobin
apt-get install -t experimental firebird2.1-examples flamerobin

follow the examples extaction procedure from this page [Scrooll down and ignore the apt sources.list lines]
https://help.ubuntu.com/community/Firebird2.1


With firebird2.1-classic i have this error when i try to connect to employee.fdb

Engine Code : 335544653
Engine Message :
cannot attach to password database


This is a caveat with classic server and not a bug in Flamerobin.

This is the recipe to reproduce it:
* install Debian classic-server package
* (before anything else) connect to any database using a direct path
to the database, not server:/path/to/db using any program linked
with libfbembed, for example the firebird-supplied tools (sql,
gfix etc)
- this starts the lock manager as the currently running user
(let's name it 'X', which most probably is *not* 'firebird')
* try to connect to any database either using the server:/path/to/db
connection string, or using an utility that is linked with
libfbclient (which preepends localhost: on raw connection
strings), for example flamerobin
- you can't as that utility would connect via the fb_inet_server,
which runs as user 'firebird' by default and cannot open the
lock files created by the user 'X'.

To avoid this

* always use localhost: in front of any paths. this way the lock
files and the shared memory segment will be owned by the
'firebird' user.


Wednesday, March 05, 2008

flamerobin 0.8.5 snapshot ready in the debian repository

you can test it in debian unstable (amd64 and i386)
http://packages.debian.org/sid/flamerobin

Other binary snapshots for 0.8.5 are here

Friday, May 11, 2007

I finished my biography for eliberatica 2007 where i will do an firebird/flamerobin presentation

Education:
1998-2001 Automation with specialization Industrial and automation IT (University Petru Maior Tg-Mures)

2002-2005 Mathematics and Computer Sciences (Faculty of Sciences and Letters Department of Petru Maior University, Tg-Mures)
I Live and work in Targu Mures Romania . Currently employed at reea.net as programmer and sys admin , In my free time i do Firebird/Flamerobin advocacy .
I started programming in High school where i played with TurboPascal under Dos and
created an program similar with paintbrush .
My first real job was at wokadat.ro where i had first contact with Interbase/firebird and
Delphi (a real fast rad tool) . Firebird is quite powerful and impressed me with it's simplicity , also i learned about it's inner workings from printed documentation and playing with isql (command line tool).
One day i installed the redhat 6.0 on my workstation and started to learn Perl , After a while i went to Netsoft.ro where i worked with :firebird,perl,delphi,mysql . I wanted this
way to escape the Windows only world and to learn more about linux ,php and perl.
I had an short period and worked for an Microsoft's partner (infopulse.ro) where i learned
this cool language named C# and did some delphi , c++ programming (dcom,com+) and
javascript . On my second partition i had redhat installed and next to me was an solaris machine. Cygwin was an too helped me in that period.
From Jan 2004 until now , i'm working at reea.net located in Tirgu-Mures
- Developed a large range of Web based applications for small/medium organizations in PHP and Perl
- Administration for hosting servers and internal ones and support services for external clients (tomcat, apache, sendmail , qmail , postfix , all open source technologies)
- Technologies used: Perl, Bash, PHP, MySQL, Postgresql, openldap, mono, Firebird database
Hobbies : open source programming (c++,php,oopascal), traveling , Firebird/Linux advocacy , biking