Projekt

Allgemein

Profil

Aktionen

Bug #155

offen

Aqbanking cannot be build from git with out-of-source build directory

Von cstimming vor fast 6 Jahren hinzugefügt. Vor fast 6 Jahren aktualisiert.

Status:
Feedback
Priorität:
Normal
Kategorie:
AqBanking
Beginn:
31.10.2019
Abgabedatum:
Betriebssystem:
andere
AqBanking-Version:
5.99.43
Anwendung:
andere
Version der Anwendung:

Beschreibung

To reproduce:

git clone aqbanking # ... start with a new empty clone
cd aqbanking
ACLOCAL_FLAGS="-I $GWEN_PREFIX/share/aclocal" make -f Makefile.cvs
mkdir build && cd build
../configure PKG_CONFIG_PATH=$GWEN_PREFIX/lib/pkgconfig
make

Expected result: Compiling processes as usual.
Observed result instead:
make[5]: Entering directory '/home/cs/org/hbci/aqbanking-clone3/build/src/libs/aqbanking/types'
make[5]: *** No rule to make target 'transaction.c', needed by 'transaction.lo'.  Stop.
make[5]: Leaving directory '/home/cs/org/hbci/aqbanking-clone3/build/src/libs/aqbanking/types'
Makefile:664: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/cs/org/hbci/aqbanking-clone3/build/src/libs/aqbanking'

One could get a little bit further by prepending the list of XML files in the "typefiles" definition in Makefile.am by $(srcdir)/ each, see attached diff for the first two Makefile.am. However, this looks ugly anyway, and it also doesn't work for all cases, as the next error cannot be fixed by this addition:
make[5]: Entering directory '/home/cs/org/hbci/aqbanking-clone2/build/src/libs/aqbanking/backendsupport'
make[5]: *** No rule to make target 'jobqueue.c', needed by 'jobqueue.lo'.  Stop.

@martin: Maybe typemaker2 needs more settings about this situation with the XML files in the srcdir, but the C files in the builddir? As a first step, I think it's ok to put the generated C files in the srcdir, too, but nevertheless the out-of-srcdir build should start to work...


Dateien


Zugehörige Tickets 1 (0 offen1 geschlossen)

Beziehung mit AqBanking - Bug #166: "make" fails, since .42Rejected25.11.2019Aktionen
Aktionen

Auch abrufbar als: Atom PDF