[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-xorriso] libisofs fails out-of-tree
From: |
Burton, Ross |
Subject: |
Re: [Bug-xorriso] libisofs fails out-of-tree |
Date: |
Thu, 4 Apr 2019 21:21:17 +0100 |
On Thu, 4 Apr 2019 at 19:49, Thomas Schmitt <address@hidden> wrote:
> > | ../libisofs-1.5.0/libisofs/util.c:21:10: fatal error: ../version.h:
> > No such file or directory
>
> ../configure obviously created version.h in ./build, not in in the
> libisofs-1.5.0 directory, where it is ../version.h relative to ./libburn.
Correct.
> I tried to write in configure.ac:
>
> AC_CONFIG_FILES([
> ...
> $(top_srcdir)/version.h
> ...
> ])
>
> but that yielded with ../configure
>
> ../configure: line 13383: top_srcdir: command not found
> [...]
> config.status: error: cannot find input file: `/version.h.in'
top_srcdir is an automake thing. You don't want to write into the
source directory (and in fact, distcheck will make it read-only so you
can't.
As version.h is being written to the top of the build dir, add that to
the include search path. Something like:
AM_CPPFLAGS = "-I $(top_builddir)"
Ross
- [Bug-xorriso] libisofs fails out-of-tree, Burton, Ross, 2019/04/04
- Re: [Bug-xorriso] libisofs fails out-of-tree, Thomas Schmitt, 2019/04/04
- Re: [Bug-xorriso] libisofs fails out-of-tree,
Burton, Ross <=
- Re: [Bug-xorriso] libisofs fails out-of-tree, Thomas Schmitt, 2019/04/04
- Re: [Bug-xorriso] libisofs fails out-of-tree, Burton, Ross, 2019/04/05
- Re: [Bug-xorriso] libisofs fails out-of-tree, Thomas Schmitt, 2019/04/05
- Re: [Bug-xorriso] libisofs fails out-of-tree, Thomas Schmitt, 2019/04/05
- Re: [Bug-xorriso] libisofs fails out-of-tree, Burton, Ross, 2019/04/05
- Re: [Bug-xorriso] libisofs fails out-of-tree, Thomas Schmitt, 2019/04/07