On Sun, 28 Nov 2010, Thomas Dickey wrote:

On Sun, 28 Nov 2010, Sven Joachim wrote:

On 2010-11-28 12:22 +0100, Thomas Dickey wrote:

On Sun, 28 Nov 2010, Sven Joachim wrote:

On 2010-11-21 12:52 +0100, Thomas Dickey wrote:

On Sun, 21 Nov 2010, Sven Joachim wrote:

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:

sorry - I keep overlooking that aspect (most of my builds are in-tree,
just because they're simpler to manage).  Will fix...

Was the VPATH change to test/Makefile.in you made yesterday supposed to
fix the problem?  It does not seem to help.

I tested it with a couple of configurations (which worked):

a) a subdirectory of "test"
This was a case that needed VPATH.

b) a completely different tree (for the whole ncurses tree).

c) an in-build-tree copy from the result of make_tar.sh
That reminded me about term_entry.h, fixed as well.

I didn't do an out-of-build-tree build for (c).

Alas, this is exactly what I want to do (not necessarily running
make_tar.sh before, though), and it does not work. :-(

yes - I assumed that you didn't want to use (c), but something like (a).

Referring to your email:

        $ mkdir -p build && cd build && ../test/configure && make

I'd thought that (a) would match this case.  But trying just that, I
see that I was mistaken:

config.status: creating Makefile
config.status: creating ncurses_cfg.h
compiling background
gcc: background.c: No such file or directory
gcc: no input files
make: *** [../build/background.o] Error 1

(this is dragging on - I'll see if I have time today to address this)

done...

Bear in mind that the --with-curses-dir option needs an absolute pathname
(I did that with a `cd ..;pwd` for instance).

I checked the other configurations as well, don't see that I've broken anything.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



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