Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2011 15:13:04 -0700
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        "Klaus T. Aehlig" <aehlig@linta.de>
Cc:        ports@freebsd.org
Subject:   Re: Interaction between devel/ncurses and lang/ruby18?
Message-ID:  <20110915151304.98b219d1.stas@FreeBSD.org>
In-Reply-To: <20110915204520.GA76518@curry.linta.de>
References:  <20110915204520.GA76518@curry.linta.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Sep 2011 21:45:20 +0100
"Klaus T. Aehlig" <aehlig@linta.de> mentioned:

> 
> Hallo,
> 
> on my system, I have devel/ncurses installed. While upgrading
> (to a ports tree as of yesterday evening) I found that I couldn't
> build lang/ruby18. The error message complained that libncurses.a
> was not compiled with -fPIC.
> 
> Of course, adding the lines
> 
> .if !empty(.CURDIR:M*/ports/devel/ncurses*)
> CFLAGS += -fPIC
> .endif
> 
> to my /etc/make.conf and reinstalling devel/ncurses solved that problem.
> So my system is sound and safe. No worries there.
> 
> However, I still want to mention this, as devel/ncurses is not a dependency
> of lang/ruby18, neither directly nor indirectly. And the way an unrelated
> port is build should have no effect on the build process.
> 
> Has anybody observed something similar, or has an idea how such a thing could
> happen?
> 

Hmm, it should not depend on ncurses, and certainly it should not link against
a static library.  Can you please send me a build log of lang/ruby18?

Thanks!

-- 
Stanislav Sedov
ST4096-RIPE

()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110915151304.98b219d1.stas>