On 2010-11-20 23:13 +0100, Thomas Dickey wrote:

> On Fri, Nov 19, 2010 at 06:23:03PM +0100, Sven Joachim wrote:
>> 
>> Actually rpath is not a problem when running test/configure, but I could
>> not get it to use the just compiled-but-not-yet-installed ncurses
>> library.  Because it is built out of tree, the libs are not adjacent to
>> the headers which is expected by the "--with-curses-dir" configure
>> option.
>> 
>> It would be good if this could be made to work, because the simplistic
>> solution of just copying everything from obj/test has the drawback that
>> cruft files like "Makefile" creep into the binary package.  And we can
>> only run "make install" in the test directory if we had run
>> test/configure before, see the recent discussion on bug-ncurses.
>
> I've just implemented the latter, for today.

Thanks, this seems to work.  However, I just discovered the next missing
piece in the puzzle -- the tests themselves fail to build out of tree:

,----
| $ mkdir -p build && cd build && ../test/configure && make
| [...]
| configure: creating ./config.status
| config.status: creating Makefile
| config.status: creating ncurses_cfg.h
| make: *** No rule to make target `background.c', needed by 
`../build/background.o'.  Stop.
`----

Cheers,
       Sven



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to