• Bug#265475: libxml-ruby: FTBFS with gcc-3.4: atan/libm check fails

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

    Package: libxml-ruby
    Severity: normal
    Tags: patch

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

    cd . && ruby extconf.rb
    checking for atan() in -lm... no
    extconf failure: need libm
    make: *** [config.status] Error 1

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

    Regards
    Andreas Jochens

    diff -urN ../tmp-orig/libxml-ruby-0.3.4/extconf.rb ./extconf.rb
    --- ../tmp-orig/libxml-ruby-0.3.4/extconf.rb 2002-12-08 07:55:26.000000000 +0100
    +++ ./extconf.rb 2004-08-13 12:40:58.204036249 +0200
    @@ -23,10 +23,6 @@
    dir_config('xml2')


    -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)