Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeBSD -- path fbintl files not properly set in installation [CORE3869] #1431

Closed
firebird-automations opened this issue Jun 14, 2012 · 9 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: erick perez (erickperez)

I have tried some times install Firebird-2.5.1.26351-0 from source code, the installation finished fine, but i get this message error when i try connect to db file:
bad parameters on attach or create database CHARACTER SET ISO8859_1 is not defined

there isn't intl folder on firebird system directory, i copy this folder manually from compiled work folder, this folder contain fbintl.conf and fbintl (a binary file) , but i get the same error.

Firebird system directory after installation:

#⁠ ll /usr/local/etc/firebird/
total 24
-r--r--r-- 1 root wheel 257 Jun 14 11:41 aliases.conf
-r--r--r-- 1 root wheel 257 Jun 14 11:41 aliases.conf.sample
-r--r--r-- 1 root wheel 6381 Jun 14 11:41 fbintl.conf
-r--r--r-- 1 root wheel 4914 Jun 14 11:41 fbtrace.conf
-rw-r--r-- 1 root wheel 26775 Jun 14 11:41 firebird.conf

there isn't intl folder, but fbintl.conf yes

intl folder is created in /usr/local/libexec/firebird

#⁠ ll /usr/local/libexec/firebird/intl/
total 992
-r-xr-xr-x 1 root firebird 980640 Jun 14 11:41 fbintl

however, i try to do this:

#⁠ mkdir /usr/local/etc/firebird/intl
#⁠ cp /usr/local/libexec/firebird/intl/fbintl /usr/local/etc/firebird/intl
#⁠ cp /usr/local/etc/firebird/fbintl.conf /usr/local/etc/firebird/intl

but nothing.

@firebird-automations
Copy link
Collaborator Author

Modified by: erick perez (erickperez)

description: I have tried some times install Firebird-2.5.1.26351-0 from source code, the installation finished fine, but i get this message error when i try connect to db file:
bad parameters on attach or create database CHARACTER SET ISO8859_1 is not defined

there isn't intl folder on firebird system directory, i copy this folder manually from compiled work folder, this folder contain fbintl.conf and fbintl (a binary file) , but i get the same error.

Firebird system directory after installation:

#⁠ ll /usr/local/etc/firebird/
total 24
-r--r--r-- 1 root wheel 257 Jun 14 11:41 aliases.conf
-r--r--r-- 1 root wheel 257 Jun 14 11:41 aliases.conf.sample
-r--r--r-- 1 root wheel 6381 Jun 14 11:41 fbintl.conf
-r--r--r-- 1 root wheel 4914 Jun 14 11:41 fbtrace.conf
-rw-r--r-- 1 root wheel 26775 Jun 14 11:41 firebird.conf

there isn't intl folder, but fbintl.conf yes

intl folder is created in /usr/local/libexec/firebird

#⁠ ll /usr/local/libexec/firebird/intl/
total 992
-r-xr-xr-x 1 root firebird 980640 Jun 14 11:41 fbintl

however, i try to do this:

#⁠ mkdir /usr/local/etc/firebird/intl
#⁠ cp /usr/local/libexec/firebird/intl/ /usr/local/etc/firebird/intl
#⁠ cp /usr/local/etc/firebird/fbintl.conf /usr/local/etc/firebird/intl

but nothing.

=>

I have tried some times install Firebird-2.5.1.26351-0 from source code, the installation finished fine, but i get this message error when i try connect to db file:
bad parameters on attach or create database CHARACTER SET ISO8859_1 is not defined

there isn't intl folder on firebird system directory, i copy this folder manually from compiled work folder, this folder contain fbintl.conf and fbintl (a binary file) , but i get the same error.

Firebird system directory after installation:

#⁠ ll /usr/local/etc/firebird/
total 24
-r--r--r-- 1 root wheel 257 Jun 14 11:41 aliases.conf
-r--r--r-- 1 root wheel 257 Jun 14 11:41 aliases.conf.sample
-r--r--r-- 1 root wheel 6381 Jun 14 11:41 fbintl.conf
-r--r--r-- 1 root wheel 4914 Jun 14 11:41 fbtrace.conf
-rw-r--r-- 1 root wheel 26775 Jun 14 11:41 firebird.conf

there isn't intl folder, but fbintl.conf yes

intl folder is created in /usr/local/libexec/firebird

#⁠ ll /usr/local/libexec/firebird/intl/
total 992
-r-xr-xr-x 1 root firebird 980640 Jun 14 11:41 fbintl

however, i try to do this:

#⁠ mkdir /usr/local/etc/firebird/intl
#⁠ cp /usr/local/libexec/firebird/intl/fbintl /usr/local/etc/firebird/intl
#⁠ cp /usr/local/etc/firebird/fbintl.conf /usr/local/etc/firebird/intl

but nothing.

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

This is known to me bug in freebsd port. If you try to build using clean sources from SF (without patches from freebsd port) all intl files will be installed in same directory. I.e. people, who did that port, changed files' location without appropriate change of the code that loads fbintl library.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Won't Fix [ 2 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: Sean Leyne (seanleyne)

Why is this issue being closed?

Yes, the FreeBSD port is not directly maintained by the project, but that doesn't mean that this issue should not be kept open until such time as the issue is resolved.

The case subject could be changed to clearly outline that it is an issue with the specific port, but the issue itself is valid and unresolved.

@firebird-automations
Copy link
Collaborator Author

Modified by: Sean Leyne (seanleyne)

priority: Major [ 3 ] => Minor [ 4 ]

summary: installation not set fbintl files properly => FreeBSD -- path fbintl files not properly set in installation

Component: Charsets/Collation [ 10001 ] =>

@firebird-automations
Copy link
Collaborator Author

Commented by: erick perez (erickperez)

I resolved the issue manually, but the port installer must be fixed

there is the problem:

file: Makefile

LIBEXECDIR= ${PREFIX}/libexec/firebird

CONFIGURE_ARGS= --with-system-editline \
--with-system-icu \
--prefix=${LOCALSTATEDIR} \
--exec-prefix=${PREFIX} \
--with-fbconf=${CONFDIR} \
--with-fbglock=${LOCALSTATEDIR} \
--with-fbhelp=${LOCALSTATEDIR}/help \
--with-fbintl=${LIBEXECDIR}/intl \ #⁠ here must be copied fbintl.conf too, port installer don't do it, fbintl.conf is copied in another location
--with-fblog=${LOCALSTATEDIR} \
--with-fbmsg=${DATADIR} \
--with-fbplugins=${LIBEXECDIR}/plugins \
--with-fbsbin=${PREFIX}/sbin \
--with-fbsecure-db=${LOCALSTATEDIR} \
--with-fbudf=${LIBEXECDIR}/UDF

@firebird-automations
Copy link
Collaborator Author

Commented by: @pmakowski

so report this bug to the FreeBsd port maintainer, not here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant