On 03/30/15 12:44, Egor Pugin wrote:
> There's no SOCK_CLOEXEC symbol on my system or it is not included.
That's better than blindly use of wrong flag.
I will add check to configure.ac. Same should be reflected in cmake.
> On 30 March 2015 at 12:38, Alex Peshkoff wrote:
>> On 03/30/15 12:23, Mic
There's no SOCK_CLOEXEC symbol on my system or it is not included.
On 30 March 2015 at 12:38, Alex Peshkoff wrote:
> On 03/30/15 12:23, Michal Kubecek wrote:
>> On Mon, Mar 30, 2015 at 11:37:42AM +0300, Egor Pugin wrote:
>>> On 30 March 2015 at 11:26, Michal Kubecek wrote:
According to my s
On 03/30/15 12:23, Michal Kubecek wrote:
> On Mon, Mar 30, 2015 at 11:37:42AM +0300, Egor Pugin wrote:
>> On 30 March 2015 at 11:26, Michal Kubecek wrote:
>>> According to my socket(2), it should be SOCK_CLOEXEC rather than
>>> O_CLOEXEC (but these constants seem to be equal on most architectures)
On Mon, Mar 30, 2015 at 11:37:42AM +0300, Egor Pugin wrote:
> On 30 March 2015 at 11:26, Michal Kubecek wrote:
> >
> > According to my socket(2), it should be SOCK_CLOEXEC rather than
> > O_CLOEXEC (but these constants seem to be equal on most architectures).
> >
> I built 64-bit version of Firebi
Don't try to guess the right flag.
FD_CLOEXEC is defined as 1 which is SOCK_STREAM also.
Better solution is to write ifdef for OS X near the flag or to remove
the errno check at the next if statement, so the execution always
tries to call second socket() without any tricky flags in case when
first
<>
Ahh - good - that gets rid of one possible reason for failure.
Perhaps FD_CLOEXEC instead?
Paul
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership w
I built 64-bit version of Firebird (OS X 10.10, AppleClang 6.0.0, Xcode 6.2).
The symbol O_CLOEXEC is present, but as you see it has negative effect
on socket() call.
By the way the build is broken on the latest trunk . I used older
revision to test with Xcode (61006).
Trunk build log - http://pas
On Mon, Mar 30, 2015 at 10:33:16AM +0300, Alex Peshkoff wrote:
> On 03/29/15 21:56, Egor Pugin wrote:
> > I ran fbserver from Xcode and the standard socket() function cannot
> > create socket.
> > remote/inet.cpp:3060
> > fd = ::socket(domain, type | O_CLOEXEC, protocol);
> > (The execution does no
On 03/29/15 21:56, Egor Pugin wrote:
> Hi,
>
> Actually I didn't try to run Firebird on OS X before, but...
> I ran fbserver from Xcode and the standard socket() function cannot
> create socket.
> remote/inet.cpp:3060
> fd = ::socket(domain, type | O_CLOEXEC, protocol);
> (The execution does not go
On 03/29/15 21:56, Egor Pugin wrote:
> Hi,
>
> Actually I didn't try to run Firebird on OS X before, but...
> I ran fbserver from Xcode and the standard socket() function cannot
> create socket.
> remote/inet.cpp:3060
> fd = ::socket(domain, type | O_CLOEXEC, protocol);
> (The execution does not go
Hi,
Actually I didn't try to run Firebird on OS X before, but...
I ran fbserver from Xcode and the standard socket() function cannot
create socket.
remote/inet.cpp:3060
fd = ::socket(domain, type | O_CLOEXEC, protocol);
(The execution does not go into the next if statement. It seems errno
has othe
However today I tried to actually use it on my Mac. And I guess the schemes in
Xcode are not ready to simply start it from the ide. So in the build directory
I tried to start it using fbguard:
sudo bin/fbguard -daemon
Which failed with the following entries in the Firebird.log file:
macbook.local
Quickly tested it, built w/o problems in Xcode! Thanks!
On Sunday, March 8, 2015 2:24 PM, Egor Pugin wrote:
Hi,
Should be fixed now.
Update trunk to the latest revision and try to build it.
Please note that cmake build is still an experimental feature.
On 8 March 2015 at 14:59, Nil
Hi,
Should be fixed now.
Update trunk to the latest revision and try to build it.
Please note that cmake build is still an experimental feature.
On 8 March 2015 at 14:59, Nils B wrote:
> Hi there
>
> I tried building the trunk version of Firebird on my Mac using Cmake. I
> installed the dev too
Hi there
I tried building the trunk version of Firebird on my Mac using Cmake. I
installed the dev tools, libicu and CMake and generated an Xcode Project. When
I tried to compile it on Xcode, I ended up with the following error:
Ld /users/n/Develop/Firebird/build/src/Debug/bin/gpre_boot normal x8
15 matches
Mail list logo