On Mon, 22 Sep 2014 16:26:32 +0200 <[email protected]> wrote: > Hi! > > I tried to build the latest version of LTP, cloned a couple of hours > > ago. But the build failed. I followed the instructions found in the > > INSTALL file for out of tree builds. But when executing the actual > > make command, the build fails. The command and the fail message is > > as follows: > > > > $ make -f ../git/ltp-clean/Makefile > > top_srcdir=/homes/mlil/git/ltp-clean top_builddir=$(pwd) > > > > ... > > > > configure: creating ./config.status > > cd /homes/mlil/build && /bin/bash ./config.status Makefile depfiles > > config.status: error: invalid argument: `Makefile' > > make[2]: *** [Makefile] Error 1 > > make[2]: Leaving directory `/homes/mlil/build/utils/ffsb-6.0-rc2' > > make[1]: *** [ffsb-6.0-rc2/ffsb] Error 2 > > make[1]: Leaving directory `/homes/mlil/build/utils' > > make: *** [utils-all] Error 2 > > > > Am I doing something wrong here? > > I'm getting the same error here. > > The ffsb Makefile cannot cope with the fact that the configure is now > called from the main configure and the files generated by it are > stored in the out-of-tree build directory. It looks for them in the > local directory and does something stupid. You can run configure by > hand in the ffsb source directory which will workaround the problem. > > From the long term perspective we need to support both out-of-tree > build and cross compilation (which is the reason configure is called > from the main configure script in order to pass parameters passed to > the main script). The easiest solution would be to rip out the ffsb > build system and use the LTP one. >
My attempt with building out-of-tree with your suggested work-around failed as well, now the ffsb complains about the "all" target... Trying building in-tree instead and see whether that works better. A question though: Why do you see a need for supporting builds in-tree? Can't we just concentrate on supporting out-of-tree and thereby cut down on the test matrix? /Mats ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
