[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openpkg-dev
Subject:    Re: Ruby build patch (Tru64 and others)
From:       "Ralf S. Engelschall" <rse () openpkg ! org>
Date:       2005-03-16 18:54:39
Message-ID: 20050316185439.GA12076 () engelschall ! com
[Download RAW message or body]

On Wed, Mar 16, 2005, Karl Vogel wrote:

> Rebuilding ruby gives:
>
> ld -shared -expect_unresolved "*"  -L"../.." -o curses.so curses.o
> -lncurses -ltermcap  -lm   -lc
> ld:
> Can't locate file for: -lncurses
> make: *** [curses.so] Error 1
> [dev:medusa] /openpkg/RPM/TMP/ruby-1.8.2/ext/curses
>
> Which shows the ruby extensions are picking up system libraries instead of
> OpenPKG libs. Following patch fixes it
>
> --- ruby.spec~  2005-02-21 18:02:32 +0100
> +++ ruby.spec   2005-03-16 17:43:15 +0100
> @@ -70,6 +70,7 @@
>      CFLAGS="%{l_cflags -O} %{l_cppflags}" \
>      ./configure \
>          --prefix=%{l_prefix} \
> +        --with-ldflags=%{l_ldflags} \
>          --disable-shared
>      %{l_make} %{l_mflags}

Comitted to OpenPKG-CURRENT:
http://cvs.openpkg.org/chngview?cn=22621
Thanks.

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic