Lines Matching +full:out +full:- +full:of +full:- +full:source +full:- +full:and +full:- +full:install
2 ------------
9 …# apt install gcc git make pkgconf autoconf automake bison flex m4 linux-headers-$(uname -r) libc6…
13 …# zypper install gcc git make pkg-config autoconf automake bison flex m4 linux-glibc-devel glibc-d…
17 # yum install gcc git make pkgconf autoconf automake bison flex m4 kernel-headers glibc-headers
20 extra development files of some libraries, see ci/*.sh. There is also
23 autoconf, automake, m4 (autoconf requirement), git and pkgconf (or pkg-config
28 does automatic detection of some library support.
30 GNU Bison / Berkeley Yacc is required for ltp-scanner.
33 -------------
39 $ mkdir -p $TOP_BUILDDIR
42 - $TOP_SRCDIR and $TOP_BUILDDIR are the same for in-build-tree scenarios.
43 - $TOP_SRCDIR and $TOP_BUILDDIR differ for out-of-build-tree scenarios.
45 See the In-build-tree and Out-of-build-tree sections below for more details on
49 -------------
51 In-build-tree
52 -------------
54 In-build-tree support is when you build binaries (applications, binary objects)
55 in the same directory where the source files reside.
61 install
63 - Specifying DESTDIR is optional, but required when installing to a non-host
65 - Specify SKIP_IDCHECK=1 if and when you don't want to modify /etc/{group,passwd}
77 Out-of-build-tree
78 -----------------
80 Out-of-build-tree support is when you build binaries (applications, binary
81 objects, generated files) outside of the directory where the source files
82 reside. This is typically used when cross-compiling for multiple targets.
84 NOTE: This is by and large correctly implemented, but there are several corner
85 cases, where this isn't implemented properly. Please see TODO for a list of
90 -C "$OUT_OF_BUILD_TREE_DIR" \
91 -f "$TOP_SRCDIR/Makefile" \
95 -C "$OUT_OF_BUILD_TREE_DIR" \
96 -f "$TOP_SRCDIR/Makefile" \
101 install
103 - Specifying DESTDIR is optional, but required when installing to a non-host
105 - Specify SKIP_IDCHECK=1 if and when you don't want to modify /etc/{group,passwd}
109 -----------
111 $ tar xzf ltp-XXXXXXXX.tar.gz
115 # make install
119 - LTP assumes the existence of the nobody, bin, and daemon users and their
121 user and group IDs should be the same, i.e. if `nobody's' user ID is 99, then
122 its group ID should also be 99. The names of the groups are irrelevant.
123 - The installation directory is /opt/ltp by default. Please see
124 "Using autoconf" above and specify the appropriate path via --prefix.
125 DESTDIR= is also honored for install and will install into $DESTDIR/$prefix,
126 if you want to install into a chroot or a rootfs for instance.
129 ---------------------
133 minimalist approach. There is a lot of room for improvement and
145 3. Build and install everything, as described above. Note the minimum software
149 for these tests to successfully operate a writable high-density 3.5" floppy
150 must be in the disk drive and a CD-ROM with more than 100Mb of data must be
151 in the CD-ROM drive. The corresponding tests will fail if either disk is
157 ---------------
161 For correct pkgconf / pkg-config detection you need to set
166 command-line when running make.
169 ------------------------------
171 You need to set CFLAGS=-m32 LDFLAGS=-m32 and PKG_CONFIG_LIBDIR
174 PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig CFLAGS=-m32 LDFLAGS=-m32 ./configure
176 * Debian / Ubuntu and derivates
177 PKG_CONFIG_LIBDIR=/usr/lib/i386-linux-gnu/pkgconfig CFLAGS=-m32 LDFLAGS=-m32 ./configure
180 PKG_CONFIG_LIBDIR=/usr/lib32/pkgconfig CFLAGS=-m32 LDFLAGS=-m32 ./configure
183 -------------
191 ---------------------
195 CFLAGS - used when compiling/linking C code, e.g. -D_GNU_SOURCE (no CPPFLAGS!)
197 CPPFLAGS - used when preprocessor is run (so C/C++ compiling with $(CPP)
198 functions, e.g. -I$SYSROOT/usr/include -I$SYSROOT/include -I$SYSROOT
200 LDFLAGS - linker flags, e.g. "-L$SYSROOT/usr/lib" "-L$SYSROOT/lib". DO NOT
203 LDLIBS - libraries listed after objects during link, e.g. -lc, -lpthread,
204 -lltp.
206 For other variables and more info about the build systems see
207 doc/build-system-guide.txt.
210 -------------
214 checking for a BSD-compatible install... /usr/bin/install -c
220 …pgrade autoconf to 0.10.2+ and m4 to 1.4.7+; config.guess and config.sub aren't necessarily genera…
224 " *** No rule to make target `/$*', needed by `pan-all'. Stop."
231 install -m 00644 "/scratch/ltp-dev2/ltp/include/test.h" "/scratch/ltp-install12/include/test.h"
232 …install -m 00644 "/scratch/ltp-dev2/ltp/include/tlibio.h" "/scratch/ltp-install12/include/tlibio.h"
233 …install -m 00644 "/scratch/ltp-dev2/ltp/include/usctest.h" "/scratch/ltp-install12/include/usctest…
234 …install -m 00644 "/scratch/ltp-dev2/ltp/include/write_log.h" "/scratch/ltp-install12/include/write…
235 make[1]: Leaving directory `/scratch/ltp-dev2/ltp/include'
236 make -C lib -f "/scratch/ltp-dev2/ltp/lib/Makefile" all
237 make[1]: Entering directory `/scratch/ltp-dev2/ltp/lib'
238 " *** No rule to make target `dataascii.o', needed by `libltp.a'. Stop." # <-- the error
240 Solution: You cannot build LTP with -r / --no-builtin-rules and/or
241 -R / --no-builtin-variables specified. LTP relies heavily on built-in
242 implicit rules and variables to function properly.
244 Issue: When executing make (no target, 3.80), it does the following, and doesn't execute all:
247 make -C testcases/realtime autotools