Subject | Build firebird 2.0.7 on Mac OS X 10.8.2 |
---|---|
Author | Markus Hubig |
Post date | 2012-12-12T14:58:13Z |
Hi @all,
I'm trying to build version 2.0.7 on OSX 10.8.2 but had no luck.
This is what I tried so far:
$ export CFLAGS='-m32 -arch i386'
$ export CXXFLAGS='-m32 -arch i386'
$ export LD_FLAGS='-m32 -arch i386'
$ export MACOSX_DEPLOYMENT_TARGET=10.4
$ LIBTOOL=glibtool LIBTOOLIZE=glibtoolize ./autogen.sh
| Running ./configure ...
| checking whether make sets $(MAKE)... yes
| checking build system type... x86_64-apple-darwin12.2.1
| checking host system type... x86_64-apple-darwin12.2.1
| checking target system type... x86_64-apple-darwin12.2.1
| configure: error: unsupported platform x86_64-apple-darwin12.2.1
I tweeked 'configure.in' a bit so it recognizes 'x86_64-apple-darwin12.2.1':
| case "$target" in
| i686-*-darwin*)
|
| case "$target" in
| x86_64-*-darwin*)
Now autogen works, but I get a strange compilation error:
| make -f ../gen/Makefile.static.gbak ../gen/firebird/bin/gbak_static
| ../gen/firebird/bin/gpre_current -r -m -z -n ../src/burp/backup.epp
../src/burp/backup.cpp
| gpre version UI-V2.0.7.13318 Firebird 2.0
| Unable to complete network request to host "NTY OF ANY KIND, either express
| * or implied. See the License for the specific language governing
| * rights and limitations under the License.
| *
| * The Original Code was created by Inprise Corporation
| * and its predecessors. Portions created by Inprise Corporation are
| * Copyright (C) Inprise Corporation.
| *
| * All Rights Reserved.
| * Contributor(s)".
| -Failed to locate host machine.
| -The specified name was not found in the hosts file or Domain Name Services.
| (E) ../src/burp/backup.epp:67: Couldn't access database DB = 'yachts.lnk'
| 1 error, no warnings
| make[3]: *** [../src/burp/backup.cpp] Error 1
| make[2]: *** [../gen/firebird/bin/gbak_static] Error 2
| make[1]: *** [../gen/firebird/security2.fdb] Error 2
| make: *** [firebird] Error 2
Can anyone give me a hand here?
Cheers, Markus
I'm trying to build version 2.0.7 on OSX 10.8.2 but had no luck.
This is what I tried so far:
$ export CFLAGS='-m32 -arch i386'
$ export CXXFLAGS='-m32 -arch i386'
$ export LD_FLAGS='-m32 -arch i386'
$ export MACOSX_DEPLOYMENT_TARGET=10.4
$ LIBTOOL=glibtool LIBTOOLIZE=glibtoolize ./autogen.sh
| Running ./configure ...
| checking whether make sets $(MAKE)... yes
| checking build system type... x86_64-apple-darwin12.2.1
| checking host system type... x86_64-apple-darwin12.2.1
| checking target system type... x86_64-apple-darwin12.2.1
| configure: error: unsupported platform x86_64-apple-darwin12.2.1
I tweeked 'configure.in' a bit so it recognizes 'x86_64-apple-darwin12.2.1':
| case "$target" in
| i686-*-darwin*)
|
| case "$target" in
| x86_64-*-darwin*)
Now autogen works, but I get a strange compilation error:
| make -f ../gen/Makefile.static.gbak ../gen/firebird/bin/gbak_static
| ../gen/firebird/bin/gpre_current -r -m -z -n ../src/burp/backup.epp
../src/burp/backup.cpp
| gpre version UI-V2.0.7.13318 Firebird 2.0
| Unable to complete network request to host "NTY OF ANY KIND, either express
| * or implied. See the License for the specific language governing
| * rights and limitations under the License.
| *
| * The Original Code was created by Inprise Corporation
| * and its predecessors. Portions created by Inprise Corporation are
| * Copyright (C) Inprise Corporation.
| *
| * All Rights Reserved.
| * Contributor(s)".
| -Failed to locate host machine.
| -The specified name was not found in the hosts file or Domain Name Services.
| (E) ../src/burp/backup.epp:67: Couldn't access database DB = 'yachts.lnk'
| 1 error, no warnings
| make[3]: *** [../src/burp/backup.cpp] Error 1
| make[2]: *** [../gen/firebird/bin/gbak_static] Error 2
| make[1]: *** [../gen/firebird/security2.fdb] Error 2
| make: *** [firebird] Error 2
Can anyone give me a hand here?
Cheers, Markus