[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) ** Summ

[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
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-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 r

[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 regist

[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 upgrad

[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 to

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

2012-06-21 Thread Rodolfo Ochoa
I can't, this is a method generated by SWIG, the workaround is on this file generated by SWIG. -- 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 i

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

2012-06-21 Thread Chris Hillery
Pietro - if you could confirm whether Rodolfo's suggestion works, that would be great. Rodolfo - would it be correct for us to include that change in the mainline Zorba source? Possibly with a compile flag to enable the const_cast? -- You received this bug notification because you are a member o

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

2012-06-21 Thread Rodolfo Ochoa
This is a SWIG error, and this error appears only on some compilers, here is the reported error: http://sourceforge.net/tracker/index.php?func=detail&aid=3479190&group_id=1645&atid=101645 here is another complain from Graphviz (don't use Graphviz fix) http://www.graphviz.org/mantisbt/view.php?id=2

[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 maintaine

[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 maint

[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 - The

[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 reg

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

2012-06-21 Thread Chris Hillery
Buried in all the warnings, the actual error appears to be: /usr/home/cerutti/FreeBSD/ports/textproc/zorba/work/.build/swig/php/zorba_apiPHP5_wrap.cxx: In function 'void* SWIG_ZTS_ConvertResourcePtr(zval*, swig_type_info*, int)': /usr/home/cerutti/FreeBSD/ports/textproc/zorba/work/.build/swig/php

[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 bin