[Zorba-coders] [Bug 1015964] Re: PHP5 bindings build failure

2012-06-26 Thread Chris Hillery
Ok, thanks for your input and help, Pietro. I will update the build scripts and documentation to hopefullly alert future users to this problem. ** Changed in: zorba Importance: High = Medium ** Changed in: zorba Assignee: Rodolfo Ochoa (rodolfo-ochoa) = Chris Hillery (ceejatec) **

[Zorba-coders] [Bug 1015964] Re: PHP5 bindings build failure

2012-06-25 Thread Pietro Cerutti
Good morning, 2.0.4 fails just the same as 1.3.40. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1015964 Title: PHP5 bindings build failure Status in Zorba - The XQuery Processor: New Bug

[Zorba-coders] [Bug 1015964] Re: PHP5 bindings build failure

2012-06-22 Thread Pietro Cerutti
Rodolfo, the line you're mentioning (return SWIG) is at :955, and const_casting there doesn't help. A fix would be to change the definition of type_name at :944 from char * to const char*, but as you mentioned that's a generated file and patching there isn't really a solution.. I have tried

[Zorba-coders] [Bug 1015964] Re: PHP5 bindings build failure

2012-06-22 Thread Chris Hillery
Thanks for the update, Pietro. I don't think we want to make SWIG 2.0.7 a hard requirement simply because 1.3.40 seems to work on most platforms. However, I could certainly see adding a build warning and a note in the documentation that if you get compilation errors like this, you should try

[Zorba-coders] [Bug 1015964] Re: PHP5 bindings build failure

2012-06-22 Thread Pietro Cerutti
Yes that sound reasonable, I'll be able to update our port as soon as swig is updated (we currently have 2.0.4). Thank you for your support, feel free to lower the priority of this bug or close it. -- You received this bug notification because you are a member of Zorba Coders, which is the

[Zorba-coders] [Bug 1015964] Re: PHP5 bindings build failure

2012-06-22 Thread Chris Hillery
Did you have this problem with SWIG 2.0.4? (Your CMakeCache.txt lists SWIG_VERSION as 1.3.40.) That would be useful information to narrow down the set of SWIG versions that have/don't have this problem. -- You received this bug notification because you are a member of Zorba Coders, which is the

[Zorba-coders] [Bug 1015964] Re: PHP5 bindings build failure

2012-06-22 Thread Pietro Cerutti
I haven't tried with 2.0.4 yet, will let you know on Monday. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1015964 Title: PHP5 bindings build failure Status in Zorba - The XQuery Processor:

[Zorba-coders] [Bug 1015964] Re: PHP5 bindings build failure

2012-06-21 Thread Pietro Cerutti
** Attachment added: CMakeCache.txt https://bugs.launchpad.net/bugs/1015964/+attachment/3198605/+files/CMakeCache.txt -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1015964 Title: PHP5

[Zorba-coders] [Bug 1015964] Re: PHP5 bindings build failure

2012-06-21 Thread Chris Hillery
Pietro, can you tell me what compiler and which version you are using? It looks like cc is actually gcc, based on the compiler options in your CMakeCache.txt, but I don't see the version identified. -- You received this bug notification because you are a member of Zorba Coders, which is the

[Zorba-coders] [Bug 1015964] Re: PHP5 bindings build failure

2012-06-21 Thread Pietro Cerutti
It's 4.2.1 here. I'm rebuilding with 4.6.4 right now, I'll post the results soon. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1015964 Title: PHP5 bindings build failure Status in Zorba -

[Zorba-coders] [Bug 1015964] Re: PHP5 bindings build failure

2012-06-21 Thread Pietro Cerutti
Same with 4.6.3. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1015964 Title: PHP5 bindings build failure Status in Zorba - The XQuery Processor: New Bug description: Hello, I'm the

[Zorba-coders] [Bug 1015964] Re: PHP5 bindings build failure

2012-06-21 Thread Pietro Cerutti
4.6.4, sorry -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1015964 Title: PHP5 bindings build failure Status in Zorba - The XQuery Processor: New Bug description: Hello, I'm the