On Tue, Jun 16, 2009 at 11:46 PM, Kelson Vibber<kelson@pobox.com> wrote:
Michal Nowak wrote:
I'd like to create Fedora RPM's (since I am Fedora packager), the problem is that fltk2 is not in Fedora (Package Review's pending [1], help welcomed), so, only unofficial packages are doable now.
Problem with Fedora 11 is that fltk2 can't be built with recent g++ [2]. I might check with with F-10, it used to work.
I've just built FLTK2 r6786 and Dillo 2.1 on a Fedora 10 system, so it does work there.
In http://fltk.org/str.php?L2205 I was suggested to make a code change in FLTK2, I did so and it compiles fine now. I am not sure of the root cause because fltk guys suggested that the problem is glibc-2.10 and pointed to patch but the patch looks to be incorporated in F-11 glibc.
If you want to take a look, my SRPMS are available at http://www.hyperborea.org/software/dillo/rpms/
The spec for FLTK2 is *very* rough, and the spec for Dillo has a lot of cruft from back when I was maintaining packages for a bunch of different distros.
While looking at [1] it looks like you are using static archives (.a), while I turned on shared libs [2] option in FLTK2 and provide them instead. I fixed the remaining issues from package review [3], I guess FLTK2 might be in Fedora in near future. But now: FLTK2 packages for Fedora 10, 11, 12 (Rawhide) for ix86 and x86-64 ---> http://mnowak.fedorapeople.org/fltk2/ Enjoy [1] http://www.hyperborea.org/software/dillo/rpms/fltk2-2.0.x.r6786-0.1.f10.x86_... [2] http://mnowak.fedorapeople.org/fltk2/ [3] https://bugzilla.redhat.com/show_bug.cgi?id=fltk2
-- Kelson Vibber Hyperborea.org - SpeedForce.org
Michal