On Fri, Oct 16, 2009 at 6:17 PM, Helge Fredriksen <[email protected]> wrote:
[...]
> Ouch, now I get the nasty segmentation fault that Francis reported about
> earlier:
>
[...]
> 'QGLShaderProgram::setUniformValueArray', unmatched parameter type
> 'GLfloat const*'
> Segmentation fault
>
> (btw. the same happens running ant generator.run).
>
Not surprising, since what the <generator> task really does is calling
this program in the first place.
> Could this have something to do with the fact that I'm running this on a
> non-X enabled build server? I'm will try a sudo apt-get dist-upgrade on
> my server (8.04 branch of Ubuntu) to see if something falls in place....
>
No it isn't. I have always run the build process with the DISPLAY
variable set and valid. And your failure is at exactly the same point
as mine.
I could overcome it and build everything using the following, very
hackish patch (NOTE: patch generated against the build branch):
----
diff --git a/generator/build_all.txt b/generator/build_all.txt
index c35dc57..1d50e96 100644
--- a/generator/build_all.txt
+++ b/generator/build_all.txt
@@ -2,7 +2,6 @@
<load-typesystem name="typesystem_core.xml" generate="yes" />
<load-typesystem name="typesystem_gui.xml" generate="yes" />
<load-typesystem name="typesystem_sql.xml" generate="yes" />
- <load-typesystem name="typesystem_opengl.xml" generate="yes" />
<load-typesystem name="typesystem_svg.xml" generate="yes" />
<load-typesystem name="typesystem_network.xml" generate="yes" />
<load-typesystem name="typesystem_xml.xml" generate="yes" />
diff --git a/java/src/ant-qtjambi/com/trolltech/tools/ant/InitializeTask.java
b/java/src/ant-qtjambi/com/trolltech/tools/ant/InitializeTask.java
index 01ad1f3..ea9bde9 100644
--- a/java/src/ant-qtjambi/com/trolltech/tools/ant/InitializeTask.java
+++ b/java/src/ant-qtjambi/com/trolltech/tools/ant/InitializeTask.java
@@ -186,7 +186,7 @@ public class InitializeTask extends Task {
props.setNewProperty(null, XMLPATTERNS, patterns);
String opengl = decideOpenGL();
- if ("true".equals(opengl))
+ if (false)
props.setNewProperty(null, OPENGL, opengl);
}
----
This problem has buggered me since the beginning, and is the reason
for my messages in a bottle earlier on. I'm just not skilled enough to
dig into the generator code in an efficient manner.
--
Francis Galiegue, [email protected]
"It seems obvious [...] that at least some 'business intelligence'
tools invest so much intelligence on the business side that they have
nothing left for generating SQL queries" (Stéphane Faroult, in "The
Art of SQL", ISBN 0-596-00894-5)
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest