[Firebird-devel] Build firebird 2.0.7 on Mac OS X 10.8.2

2012-12-13 Thread Paul Beach
Markus

I'm trying to build version 2.0.7 on OSX 10.8.2 (to create a Homebrew
formula) 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

Fine...

| 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

I am aware of that modification..., the fact that the latest version of XCode 
doesn't
ship with its own autconf etc is pretty irritating.


 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

I get the same error... so something has changed in the Mac environment 
(OS/XCode etc), because 
2.0.7 built fine in April. I guess I can do some investigation...

Paul

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build firebird 2.0.7 on Mac OS X 10.8.2

2012-12-13 Thread Markus Hubig
On Thu, Dec 13, 2012 at 10:39 AM, Paul Beach pbe...@ibphoenix.com wrote:

 | 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

 I get the same error... so something has changed in the Mac environment 
 (OS/XCode etc), because
 2.0.7 built fine in April. I guess I can do some investigation...

This would be nice! Looking forward to your investigation ... Having
homebrew formulars
for software is also a nice methode of documenting an build process.

Cheers, Markus

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build firebird 2.0.7 on Mac OS X 10.8.2

2012-12-13 Thread Alex Peshkoff
On 12/13/12 13:54, Markus Hubig wrote:
 On Thu, Dec 13, 2012 at 10:39 AM, Paul Beachpbe...@ibphoenix.com  wrote:

 | 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

This message sooner of all means that gbak is trying to access database 
using tcp instead of embedded access which must be used during boot 
build. Why the name of the host is == our license is even more funny.

 | 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

 I get the same error... so something has changed in the Mac environment 
 (OS/XCode etc), because
 2.0.7 built fine in April. I guess I can do some investigation...
 This would be nice! Looking forward to your investigation ... Having
 homebrew formulars
 for software is also a nice methode of documenting an build process.

Must pay attention that 2.0 branch is not supported any more by community.
You are highly advised to use 2.1 or 2.5.



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build firebird 2.0.7 on Mac OS X 10.8.2

2012-12-13 Thread Markus Hubig
On Thu, Dec 13, 2012 at 11:08 AM, Alex Peshkoff peshk...@mail.ru wrote:
 On 12/13/12 13:54, Markus Hubig wrote:
 On Thu, Dec 13, 2012 at 10:39 AM, Paul Beachpbe...@ibphoenix.com  wrote:

 | 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

 This message sooner of all means that gbak is trying to access database
 using tcp instead of embedded access which must be used during boot
 build. Why the name of the host is == our license is even more funny.

Jup, something get's terribly wrong here. Maybe the error leeds from
something not geting build at all, maybe the 'embedded access' support
in gbak ...

 | 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

 I get the same error... so something has changed in the Mac environment 
 (OS/XCode etc), because
 2.0.7 built fine in April. I guess I can do some investigation...
 This would be nice! Looking forward to your investigation ... Having
 homebrew formulars
 for software is also a nice methode of documenting an build process.

 Must pay attention that 2.0 branch is not supported any more by community.
 You are highly advised to use 2.1 or 2.5.

Jup I know ... but I need version 2.0 because I have software (EVIDENT)
which uses 2.0.5 for production ;-(

Cheers, Markus

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build firebird 2.0.7 on Mac OS X 10.8.2

2012-12-13 Thread Paul Beach
Its bizarre, but it looks like a format problem with epp files under the 
updated installation of
the Darwin development tools - to get this to compile, when you get an .epp 
file error, just find
the file, edit it with vi, and then save it(write/quit)
Eventually all will compile.

Whats annoying is that my test wasn't on a fresh checkout, but I was using the 
tree I used to build
2.0.7 originally that was still on my hard drive.

Paul


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build firebird 2.0.7 on Mac OS X 10.8.2

2012-12-13 Thread Markus Hubig
Crazy ... I first thought the same, but after some tries I figured
out that just by running make again after an error leads it will
build the epp file...

So after maybe 10 times make I now get a 'Build Successful!!'

Is there some tests I can start to see if this Build is working?

Cheers, Markus

On Thu, Dec 13, 2012 at 11:48 AM, Paul Beach pbe...@ibphoenix.com wrote:
 Its bizarre, but it looks like a format problem with epp files under the 
 updated installation of
 the Darwin development tools - to get this to compile, when you get an .epp 
 file error, just find
 the file, edit it with vi, and then save it(write/quit)
 Eventually all will compile.

 Whats annoying is that my test wasn't on a fresh checkout, but I was using 
 the tree I used to build
 2.0.7 originally that was still on my hard drive.

 Paul


 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 Firebird-Devel mailing list, web interface at 
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Stay hungry! Stay foolish!
   - Steve Jobs, 1955-2011

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build firebird 2.0.7 on Mac OS X 10.8.2

2012-12-13 Thread Markus Hubig
No but I don't add '-j' to make and grep-ing for '-j' through the
Makefiles gives don't show '-j'.

Cheers, Markus

On Thu, Dec 13, 2012 at 12:20 PM, Adriano dos Santos Fernandes
adrian...@gmail.com wrote:
 On 13/12/2012 09:14, Markus Hubig wrote:
 Crazy ... I first thought the same, but after some tries I figured
 out that just by running make again after an error leads it will
 build the epp file...

 So after maybe 10 times make I now get a 'Build Successful!!'

 Is there some tests I can start to see if this Build is working?

 Are you sure also that make is not running with parallel option (-j) ?


 Adriano


 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 Firebird-Devel mailing list, web interface at 
 https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Stay hungry! Stay foolish!
   - Steve Jobs, 1955-2011

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] [FB-Tracker] Created: (CORE-4010) Fetch cannot be subsequently interrupted via DELETE FROM MON$STATEMENTS

2012-12-13 Thread Dmitry Yemanov (JIRA)
Fetch cannot be subsequently interrupted via DELETE FROM MON$STATEMENTS
---

 Key: CORE-4010
 URL: http://tracker.firebirdsql.org/browse/CORE-4010
 Project: Firebird Core
  Issue Type: Bug
  Components: Engine
Affects Versions: 2.5.2, 2.1.5, 2.5.1, 2.1.4, 2.5.0, 3.0 Initial, 2.1.3, 
2.1.2, 2.1.1, 2.1.0
Reporter: Dmitry Yemanov
Priority: Minor


If the query is interrupted while fetching from a large cursor and the client 
decides to continue fetching the remaining rows, second and further attempts to 
interrupt this query will fail. Interruption will work again as soon as the 
client will restart this query or start another one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel