Re: [Firebird-devel] fbintl.conf

2013-07-01 Thread Leonardo M . Ramé


- Original Message -

 From: Leonardo M. Ramé martinr...@yahoo.com
 To: pbe...@mail.ibphoenix.com pbe...@mail.ibphoenix.com; 
 firebird-devel@lists.sourceforge.net 
 firebird-devel@lists.sourceforge.net; For discussion among Firebird 
 Developers firebird-devel@lists.sourceforge.net
 Cc: 
 Sent: Monday, July 1, 2013 9:12 AM
 Subject: Re: [Firebird-devel] fbintl.conf
 
 - Original Message -
 
  From: Paul Beach pbe...@ibphoenix.com
  To: firebird-devel@lists.sourceforge.net
  Cc: 
  Sent: Monday, July 1, 2013 8:58 AM
  Subject: Re: [Firebird-devel] fbintl.conf
 
  Re.
 
  cp: 1.11.1*/install-sh: No such file or directory
  cp: automake): No such file or directory
  cp: (GNU: No such file or directory
  cp: /usr/share/automake-automake: No such file or directory
 
  Can't continue. What should I do?.
 
  Your autogen.sh probably contains the following lines
 
  # automake 1.10 may show '1.10.x' as version while the directory is 
 
  still named
  # automake-1.10
  am_ver=`automake --version|sed 's/.\+ //; s/\.[^.]\+$//; 
 q'`
  cp /usr/share/automake-$am_ver*/install-sh $CONFIG_AUX_DIR || exit 1
 
  its failing on the cp, because the sed isn't returning the correct 
 value.
 
 
  # automake 1.10 may show '1.10.x' as version while the directory is 
 
  still named
  # automake-1.10
  am_ver=`automake --version|sed 's/.\+ //; s/\.[^.]\+$//; 
 q'`
  cp /opt/local/share/automake-1.13/install-sh $CONFIG_AUX_DIR || exit 1
 
  try amending autogen.sh to point to the directory where automake is 
 installed on 
  your system 
  directly e.g. like above.
 
  Paul
 
 
 Thanks Paul, I just had to replace /usr/share/autogen... to 
 /usr/local/share/autogen-...
 
Using this configuration:


./configure --without-system-icu --without-editline

and gmake -C gen firebird

It was compiling for about half an hour, and ended with this error:


...

gmake -j1 -f ../gen/Makefile.inet_server
gmake[1]: se ingresa al directorio 
`/usr/home/martin/desarrollo/firebird-2.5/gen'
g++ 
 -I../src/include/gen -I../src/include -I../src/vulcan 
-DNAMESPACE=Vulcan -I../extern/icu/source/common 
-I../extern/icu/source/i18n -O -fno-builtin -DFREEBSD -DAMD64 -pipe -MMD
 -fPIC -D_THREAD_SAFE -pthread   -c ../src/remote/server_stub.cpp -o 
../temp/std/remote/server_stub.o
g++   
-Wl,--version-script,../builds/posix/empty.vers  -D_THREAD_SAFE 
-pthread  -Wl,-rpath,/usr/local/firebird/lib 
-Wl,-rpath,/usr/local/firebird/intl -Wl,-rpath,../gen/firebird/lib 
../temp/std/remote/server_stub.o -o ../gen/firebird/bin/fb_inet_server 
-L../gen/firebird/lib -lfbembed  -lm
/usr/bin/ld: ../gen/firebird/bin/fb_inet_server: local symbol `__progname' in 
/usr/lib/crt1.o is referenced by DSO
/usr/bin/ld: final link failed: Nonrepresentable section on output
gmake[1]: *** [../gen/firebird/bin/fb_inet_server] Error 1
gmake[1]: se sale del directorio `/usr/home/martin/desarrollo/firebird-2.5/gen'
gmake: *** [inet_server] Error 2
gmake: se sale del directorio `/usr/home/martin/desarrollo/firebird-2.5/gen'



How can I fix it?.

 
Leonardo M. Ramé
http://leonardorame.blogspot.com

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] fbintl.conf

2013-06-30 Thread Leonardo M . Ramé
- Original Message -

 From: marius adrian popa map...@gmail.com
 To: Leonardo M. Ramé martinr...@yahoo.com; For discussion among Firebird 
 Developers firebird-devel@lists.sourceforge.net
 Cc: 
 Sent: Sunday, June 30, 2013 8:09 AM
 Subject: Re: [Firebird-devel] fbintl.conf
 
 I think that was solved already in svn right ?
 
 http://sourceforge.net/p/firebird/code/57236/
 
 and the related bug
 
 https://bugzilla.redhat.com/show_bug.cgi?id=905069
 
 also the intl configure paths on freebsd changed in march
 
 from exec dir to confdir
 
 --with-fbintl=${CONFDIR}/intl \
 
 that might be an issue
 http://svnweb.freebsd.org/ports/head/databases/firebird25-server/Makefile?revision=315591view=markup
 
 
 
 I would try a clean compile install from the 2.5 svn release branch
 
 On Sat, Jun 29, 2013 at 3:32 PM, Leonardo M. Ramé martinr...@yahoo.com 
 wrote:
 
  From: philippe makowski pmakow...@ibphoenix.fr
 To: For discussion among Firebird Developers 
 firebird-devel@lists.sourceforge.net
 Sent: Saturday, June 29, 2013 4:50 AM
 Subject: Re: [Firebird-devel] fbintl.conf
 
 
 Leonardo M. Ramé  [2013-06-28 20:57] :
  Thanks Adriano, but, where should the file be copied. And, is there 
 a .log that I can look for some errors related to this file?.
 
 under Fedora I simply have :
 ls -la /usr/lib64/firebird/intl/
 total 872
 drwxr-xr-x. 2 root root   4096 23 mars  10:21 .
 drwxr-xr-x. 6 root root   4096 10 mars  19:59 ..
 -rwxr-xr-x. 1 root root 880864 10 mars  19:59 fbintl
 lrwxrwxrwx. 1 root root     25 23 mars  10:21 fbintl.conf -
 /etc/firebird/fbintl.conf
 
 and it is ok then
 
 
 
  Thanks Philippe, I've tried that also. It seems to be some 
 incompatibility with libicu 50, that my FreeBsd 9.1 is using.
 
  --

I have exactly the same versions 
of:http://www.freebsd.org/cgi/query-pr.cgi?pr=175485#reply1



 
Leonardo M. Ramé
http://leonardorame.blogspot.com


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] fbintl.conf

2013-06-30 Thread Leonardo M . Ramé
- Original Message -

 From: marius adrian popa map...@gmail.com
 To: Leonardo M. Ramé martinr...@yahoo.com; For discussion among Firebird 
 Developers firebird-devel@lists.sourceforge.net
 Cc: 
 Sent: Sunday, June 30, 2013 2:33 PM
 Subject: Re: [Firebird-devel] fbintl.conf
 
 confirmed the ICU_NEW_VERSION_MEANING patch
 http://sourceforge.net/p/firebird/code/57236/
 is not included in the last official tar.bz2 for 2.5.2 (grep  -R
 ICU_NEW_VERSION_MEANING *)
 http://sourceforge.net/projects/firebird/files/firebird/2.5.2-Release/Firebird-2.5.2.26540-0.tar.bz2/download
 
 so this is the issue
 

Great Marius, thank you. Now I think I should build it from svn.


 
Leonardo M. Ramé
http://leonardorame.blogspot.com

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] fbintl.conf

2013-06-30 Thread Leonardo M . Ramé
- Original Message -

 From: Leonardo M. Ramé martinr...@yahoo.com
 To: marius adrian popa map...@gmail.com; For discussion among Firebird 
 Developers firebird-devel@lists.sourceforge.net
 Cc: 
 Sent: Sunday, June 30, 2013 4:21 PM
 Subject: Re: [Firebird-devel] fbintl.conf
 
 - Original Message -
 
  From: marius adrian popa map...@gmail.com
  To: Leonardo M. Ramé martinr...@yahoo.com; For discussion among 
 Firebird Developers firebird-devel@lists.sourceforge.net
  Cc: 
  Sent: Sunday, June 30, 2013 2:33 PM
  Subject: Re: [Firebird-devel] fbintl.conf
 
  confirmed the ICU_NEW_VERSION_MEANING patch
  http://sourceforge.net/p/firebird/code/57236/
  is not included in the last official tar.bz2 for 2.5.2 (grep  -R
  ICU_NEW_VERSION_MEANING *)
 
 http://sourceforge.net/projects/firebird/files/firebird/2.5.2-Release/Firebird-2.5.2.26540-0.tar.bz2/download
 
  so this is the issue
 
 
 Great Marius, thank you. Now I think I should build it from svn.
 
 


The problem is which one to compile. There are Tags, Branches and Trunk, I'll 
go for branches/B_2_5_Release.

 
Leonardo M. Ramé
http://leonardorame.blogspot.com


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] fbintl.conf

2013-06-30 Thread Leonardo M . Ramé


- Original Message -

 From: Leonardo M. Ramé martinr...@yahoo.com
 To: For discussion among Firebird Developers 
 firebird-devel@lists.sourceforge.net
 Cc: 
 Sent: Sunday, June 30, 2013 4:32 PM
 Subject: Re: [Firebird-devel] fbintl.conf
 
 - Original Message -
 
  From: Leonardo M. Ramé martinr...@yahoo.com
  To: marius adrian popa map...@gmail.com; For discussion among 
 Firebird Developers firebird-devel@lists.sourceforge.net
  Cc: 
  Sent: Sunday, June 30, 2013 4:21 PM
  Subject: Re: [Firebird-devel] fbintl.conf
 
  - Original Message -
 
   From: marius adrian popa map...@gmail.com
   To: Leonardo M. Ramé martinr...@yahoo.com; For discussion 
 among 
  Firebird Developers firebird-devel@lists.sourceforge.net
   Cc: 
   Sent: Sunday, June 30, 2013 2:33 PM
   Subject: Re: [Firebird-devel] fbintl.conf
 
   confirmed the ICU_NEW_VERSION_MEANING patch
   http://sourceforge.net/p/firebird/code/57236/
   is not included in the last official tar.bz2 for 2.5.2 (grep  -R
   ICU_NEW_VERSION_MEANING *)
 
 
 http://sourceforge.net/projects/firebird/files/firebird/2.5.2-Release/Firebird-2.5.2.26540-0.tar.bz2/download
 
   so this is the issue
 
 
  Great Marius, thank you. Now I think I should build it from svn.
 
 
 
 
 The problem is which one to compile. There are Tags, Branches and Trunk, 
 I'll go for branches/B_2_5_Release.
 
  

When trying to ./autogen.sh --with-system-icu --with-system-editline, I've got 
this:


AUTORECONF=autoreconf
Running autoreconf ...
autoreconf-2.69: Entering directory `.'
autoreconf-2.69: configure.in: not using Gettext
autoreconf-2.69: running: aclocal -I . --force 
autoreconf-2.69: configure.in: tracing
autoreconf-2.69: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 
`builds/make.new/config'.
libtoolize: copying file `builds/make.new/config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf-2.69: running: /usr/local/bin/autoconf-2.69 --force
autoreconf-2.69: running: /usr/local/bin/autoheader-2.69 --force
autoreconf-2.69: configure.in: not using Automake
autoreconf-2.69: Leaving directory `.'
cp: 1.11.1*/install-sh: No such file or directory
cp: automake): No such file or directory
cp: (GNU: No such file or directory
cp: /usr/share/automake-automake: No such file or directory

Can't continue. What should I do?.


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] fbintl.conf

2013-06-29 Thread Leonardo M . Ramé

 From: philippe makowski pmakow...@ibphoenix.fr
To: For discussion among Firebird Developers 
firebird-devel@lists.sourceforge.net 
Sent: Saturday, June 29, 2013 4:50 AM
Subject: Re: [Firebird-devel] fbintl.conf
 

Leonardo M. Ramé  [2013-06-28 20:57] :
 Thanks Adriano, but, where should the file be copied. And, is there a .log 
 that I can look for some errors related to this file?.
 
under Fedora I simply have :
ls -la /usr/lib64/firebird/intl/
total 872
drwxr-xr-x. 2 root root   4096 23 mars  10:21 .
drwxr-xr-x. 6 root root   4096 10 mars  19:59 ..
-rwxr-xr-x. 1 root root 880864 10 mars  19:59 fbintl
lrwxrwxrwx. 1 root root     25 23 mars  10:21 fbintl.conf -
/etc/firebird/fbintl.conf

and it is ok then



Thanks Philippe, I've tried that also. It seems to be some incompatibility with 
libicu 50, that my FreeBsd 9.1 is using.

--
Leonardo M. Ramé
http://leonardorame.blogspot.com

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] fbintl.conf

2013-06-28 Thread Leonardo M . Ramé
Can someone explain when and from where the file fbintl.conf is read?.

I'm using FreeBsd 9.1 and Firebird 2.5.2_1, the file fbintl.conf is stored in 
/usr/local/etc/firebird and fbintl (the executable) is in 
/usr/local/libexec/firebird/fbintl
 
Leonardo M. Ramé
http://leonardorame.blogspot.com--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2devFirebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] fbintl.conf

2013-06-28 Thread Leonardo M . Ramé

 From: Adriano dos Santos Fernandes adrian...@gmail.com
To: For discussion among Firebird Developers 
firebird-devel@lists.sourceforge.net 
Sent: Friday, June 28, 2013 3:49 PM
Subject: Re: [Firebird-devel] fbintl.conf
 

On 28/06/2013 15:11, Leonardo M. Ramé wrote:
 Can someone explain when and from where the file fbintl.conf is read?.

 I'm using FreeBsd 9.1 and Firebird 2.5.2_1, the file fbintl.conf is
 stored in /usr/local/etc/firebird and fbintl (the executable) is in
 /usr/local/libexec/firebird/fbintl
  

The design requires (by default) the files in the same directory.

But unix people decided it's a shame to install a software in a decent
structure and separate what should not.

But then, they need to fix the .conf file to point for the correct file.


Adriano



Thanks Adriano, but, where should the file be copied. And, is there a .log that 
I can look for some errors related to this file?.


Leonardo M. Ramé
http://leonardorame.blogspot.com

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] CHARACTER SET WIN1252 is not installed (cross post)

2013-06-27 Thread Leonardo M . Ramé
Sorry for cross posting. I've posted this on firebird-support without answers, 
maybe because this setup is not so common...

Here's the original mail:

On 2013-06-27 14:21:15 -0300, Leonardo M. Ramé wrote:
 Hi, I've updated Firebird 2.5 on a FreeBsd 9.1 server. Usually I restore
 my databases using:
 
 gbak -c -v -REP -user USER -password PASSWORD bkp.ib database
 
 But, after the upgrade I'm getting this:
 
 gbak:restoring.
 ...
 gbak:    committing metadata
 gbak: ERROR:unsuccessful metadata update
 gbak: ERROR:    TABLE
 gbak: ERROR:    CHARACTER SET WIN1252 is not installed
 gbak:Exiting before completion due to errors
 
 Why CHARACTER SER WIN1252 is not installed? how can I install it?.
 

More info. Deinstalled everything and installed it again using:

sudo pkg install firebird-server-2.5.2_1

I noted the file /usr/local/etc/firebird/fbintl.conf contains info about
character sets.

This file has the lines:

intl_module fbintl
  filename    $(this)/intl
  icu_versions  default
/intl_module

Where the variable $(this) is pointing?. I have the fbintl in the
directory /usr/local/libexec/firebird/intl owned by root. Is this
correct?, I've tested changing it to firebird:firebird, but the errror
still persists.

BTW, I can connect to databases without problems. The only thing I can't
do is restore this database.

-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Cannot connect (errors on firebird.log)

2011-05-18 Thread Leonardo M . Ramé
--- On Wed, 5/18/11, Alex Peshkoff peshk...@mail.ru wrote:

 From: Alex Peshkoff peshk...@mail.ru
 Subject: Re: [Firebird-devel] Cannot connect (errors on firebird.log)
 To: firebird-devel@lists.sourceforge.net
 Date: Wednesday, May 18, 2011, 9:34 AM
  On 05/18/11 16:07, Leonardo M. Ramé
 wrote:
  Sorry for cross posting, I asked this in
 firebird-support but I got no answer so far.
 
  I recently installed Firebird 2.5 on a FreeBSD, it was
 running ok
  until this moring when suddendly it stopped accepting
 connections.
 
  The server runs via inetd.
 
  Here is a copy of the last lines of firebird.log:
 
  ---
  server.rame.local Tue May 17 16:15:33 2011
    ISC_event_wait: semop failed with
 errno =3D 22
 
 
  server.rame.local Tue May 17 16:15:33 2011
    create_semaphores failed:
    operating system directive semget
 failed
    No space left on device
 
 
  server.rame.local Tue May 17 16:15:33 2011
    ISC_event_wait: semop failed with
 errno =3D 22
 
 
  server.rame.local Tue May 17 16:15:33 2011
    create_semaphores failed:
    operating system directive semget
 failed
    No space left on device
 
 Should rebuild kernel with more SysV semaphores.
 

Thanks, I have to add that I'm using inetd instead of running the process on 
boot. Do you think the situation will improve if I run the server as a service 
instead of inetd?

Leonardo M. Ramé
http://leonardorame.blogspot.com


--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Problem on FreeBSD and Lazarus

2011-05-15 Thread Leonardo M . Ramé
--- On Sun, 5/15/11, Philippe Makowski makow...@firebird-fr.eu.org wrote:

 From: Philippe Makowski makow...@firebird-fr.eu.org
 Subject: Re: [Firebird-devel] Problem on FreeBSD and Lazarus
 To: For discussion among Firebird Developers 
 firebird-devel@lists.sourceforge.net
 Date: Sunday, May 15, 2011, 5:52 PM
 2011/5/15 Adriano dos Santos
 Fernandes adrian...@gmail.com:
  On 15-05-2011 16:44, Leonardo M. Ramé wrote:
  I found that I had icu-4.6 and icu-4.6.1 installed
 with pkg_add. I deinstalled them, did a portsnap fetch
 update and reinstalled from ports, using make install
 clean.
 
  After that, I reinstalled firebird25-server and
 firebird25-client from ports, using make install clean.
 
  Shouldn't that be enough to install them?.
 
  I doubt it has any relation with ICU.
 
 hum
 if I look at : 
 http://www.freebsd.org/cgi/cvsweb.cgi/ports/databases/firebird25-server/Makefile?rev=1.2;content-type=text%2Fplain
 the port is build with  --with-system-icu
 
 so even if here it is not the problem, the patch from
 http://tracker.firebirdsql.org/browse/CORE-3447 need to
 be applied

Thanks, but, where's the patch?.

 Leonardo, you should report it to the Freebsd port
 maintainer

I sent an email to him. 

Leonardo.

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel