• Bug#265476: libxslt-ruby: FTBFS with gcc-3.4: atan/libm check fails

    From Andreas Jochens@1:229/2 to All on Fri Aug 13 13:20:07 2004
    From: [email protected]

    Package: libxslt-ruby
    Severity: normal
    Tags: patch

    When building 'libxslt-ruby' with gcc-3.4 I get the following error:

    cd . && ruby extconf.rb --with-libxml-include=./debian/include
    checking for atan() in -lm... no
    extconf failure: %s
    need libmmake: *** [config.status] Error 1

    With the attached patch 'libxslt-ruby' can be compiled using gcc-3.4.

    Regards
    Andreas Jochens

    diff -urN ../tmp-orig/libxslt-ruby-0.3.4/extconf.rb ./extconf.rb
    --- ../tmp-orig/libxslt-ruby-0.3.4/extconf.rb 2002-10-23 07:47:51.000000000 +0200
    +++ ./extconf.rb 2004-08-13 12:42:38.926724073 +0200
    @@ -17,10 +17,6 @@
    dir_config('xslt')


    -unless have_library('m', 'atan')
    - crash('need libm')
    -end
    -
    unless have_library("z", "inflate")
    crash("need zlib")
    else


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)