[prev in list] [next in list] [prev in thread] [next in thread]
List: openpkg-dev
Subject: Ruby build patch (Tru64 and others)
From: Karl Vogel <karl.vogel () seagha ! com>
Date: 2005-03-16 17:00:44
Message-ID: 6DED3619289CD311BCEB00508B8E13360245416E () nt-server2 ! antwerp ! seagha ! com
[Download RAW message or body]
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}
______________________________________________________________________
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