On Monday 08 March 2010 11:00:05 am Kirill Kirillov wrote:
Hi, all!
We [1] are trying to move [2] Java-based Scilab [3] to Factory OSS repository.
We have problem with linking jogl JNI to Scilab [4], if we remove the following line in scilab.spec: "BuildRequires: -post-build-checks" then build fails on configure stage with the following error:
checking jogl... /usr/lib64/java//jogl.jar checking for glTexParameterf in -ljogl... no configure: WARNING: Could not link against -ljogl. Will try against -ljogl -lGL checking for glTexParameterf in -ljogl ... no configure: error: "libjogl: Library missing (Cannot find symbol glTexParameterf). Check if libjogl - C/Java (JNI) interface for JOGL - or libGL are installed and if the version is correct. Note that you might have to update etc/librarypath.xml to provide the actual path the the JNI libraries." error: Bad exit status from /var/tmp/rpm-tmp.CYklG7 (%build)
I've fixed jogl package [5] to place jar's and so's according to [6]: /usr/lib/java and /usr/lib/jni for 32 bits and /usr/lib64/java and /usr/lib64/jni for 64 bits. But unfortunately it didn't help.
Could you tell please how to fix it? Thanks.
After help of guys from packaging ML - there's a patch for configure.ac (don't forget to run autoreconf -fi before configure). It fixes jogl and gluegen-rt tests, the configure now ends on missing fop. And also it needs to be applied with -p1 Regards Michal Vyskocil