> It will build, but deprecated implies that you might have an issue trying to
> run it on 10.7 or 10.8... In any event without the fix for the _clock_gettime 
> function
> in configure.in your code will only run on 10.12 and no OS version below it.

>
>>> By default the build is 64bit... you have to override it to get 32bit so
>>> exporting -m64 and -arch x86_64 should be unnecessary.
>> Something went wrong without that - it sould not harm to have these defs.
> No harm, but not necessary.

I did remove it without problems - presumably it was an leftover from
32Bit build.


>> For some reason compile stopped with an error when including ICU.
>> Therefore I did install ICU to /usr/local
> What was the error?

Compiling with gcc does result in:

> g++ -DBOOT_BUILD -I../src/include/gen -I../src/include -I../src/vulcan
> -DNAMESPACE=Vulcan -I../extern/icu/source/common
> -I../extern/icu/source/i18n -O0 -DDARWIN -pipe -MMD -fPIC -fno-common
> -mmacosx-version-min=10.9 -D_THREAD_SAFE   -fvisibility-inlines-hidden
> -fvisibility=hidden  -c ../src/isql/Extender.cpp -o
> ../temp/boot/isql/Extender.o
> g++ -DBOOT_BUILD -I../src/include/gen -I../src/include -I../src/vulcan
> -DNAMESPACE=Vulcan -I../extern/icu/source/common
> -I../extern/icu/source/i18n -O0 -DDARWIN -pipe -MMD -fPIC -fno-common
> -mmacosx-version-min=10.9 -D_THREAD_SAFE   -fvisibility-inlines-hidden
> -fvisibility=hidden  -c ../src/isql/InputDevices.cpp -o
> ../temp/boot/isql/InputDevices.o
> g++ -DBOOT_BUILD -I../src/include/gen -I../src/include -I../src/vulcan
> -DNAMESPACE=Vulcan -I../extern/icu/source/common
> -I../extern/icu/source/i18n -O0 -DDARWIN -pipe -MMD -fPIC -fno-common
> -mmacosx-version-min=10.9 -D_THREAD_SAFE   -fvisibility-inlines-hidden
> -fvisibility=hidden  -c ../src/isql/ColList.cpp -o
> ../temp/boot/isql/ColList.o
> g++ -DBOOT_BUILD -I../src/include/gen -I../src/include -I../src/vulcan
> -DNAMESPACE=Vulcan -I../extern/icu/source/common
> -I../extern/icu/source/i18n -O0 -DDARWIN -pipe -MMD -fPIC -fno-common
> -mmacosx-version-min=10.9 -D_THREAD_SAFE   -fvisibility-inlines-hidden
> -fvisibility=hidden  -c ../src/isql/OptionsBase.cpp -o
> ../temp/boot/isql/OptionsBase.o
> g++    ../temp/boot/isql/extract.o ../temp/boot/isql/isql.o
> ../temp/boot/isql/show.o ../temp/boot/isql/Extender.o
> ../temp/boot/isql/InputDevices.o ../temp/boot/isql/ColList.o
> ../temp/boot/isql/OptionsBase.o ../temp/boot/common/classes/alloc.o
> ../temp/boot/common/classes/locks.o
> ../temp/boot/common/classes/semaphore.o
> ../temp/boot/common/classes/fb_string.o
> ../temp/boot/common/classes/timestamp.o
> ../temp/boot/common/classes/PublicHandle.o
> ../temp/boot/common/classes/TempFile.o
> ../temp/boot/common/classes/UserBlob.o
> ../temp/boot/common/classes/SafeArg.o
> ../temp/boot/common/classes/MsgPrint.o
> ../temp/boot/common/classes/BaseStream.o
> ../temp/boot/common/fb_exception.o ../temp/boot/common/thd.o
> ../temp/boot/common/classes/MetaName.o
> ../temp/boot/common/StatusHolder.o ../temp/boot/common/classes/init.o
> ../temp/boot/common/StatusArg.o ../temp/boot/jrd/fbsyslog.o
> ../temp/boot/common/utils.o ../temp/boot/config/AdminException.o
> ../temp/boot/config/Args.o ../temp/boot/config/ArgsException.o
> ../temp/boot/config/ConfObj.o ../temp/boot/config/ConfObject.o
> ../temp/boot/config/ConfigFile.o ../temp/boot/config/Configuration.o
> ../temp/boot/config/Element.o ../temp/boot/config/FileName.o
> ../temp/boot/config/InputFile.o ../temp/boot/config/InputStream.o
> ../temp/boot/config/Lex.o ../temp/boot/config/ScanDir.o
> ../temp/boot/config/Stream.o ../temp/boot/config/StreamSegment.o
> ../temp/boot/vulcan/PathName.o ../temp/boot/vulcan/RefObject.o -o
> ../gen/firebird/bin/isql_static -L../gen/firebird/lib -lfbstatic  -lm 
> -framework CoreFoundation  -licuuc -licudata -licui18n
> /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
> ../gen/Makefile.refDatabases ref_databases
> rm -f -f msg.fdb
> echo create database \'msg.fdb\'\; | ../gen/firebird/bin/isql_static
> dyld: Library not loaded:
> /Library/Frameworks/Firebird.framework/Versions/A/Libraries/libicuuc.dylib
>   Referenced from:
> /Users/elmar/Firebird/firebird2_5/gen/../gen/firebird/bin/isql_static
>   Reason: image not found
> /bin/sh: line 1: 48401 Done                    echo create database
> \'msg.fdb\'\;
>      48402 Abort trap: 6           | ../gen/firebird/bin/isql_static
> make[2]: *** [msg.timestamp] Error 134
> make[1]: *** [ref_databases] Error 2
> make: *** [firebird] Error 2

I would assume that it is necessary to have an ICU installed - it might
be the one from an existing firebird installation which is intentionally
not present on my machine.

Having one at /usr/local does allow build with internal ICU.


Elmar


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to