yaberauneya | 340292d | 2010-01-18 23:46:09 +0000 | [diff] [blame] | 1 | $Id: INSTALL,v 1.36 2010/01/18 23:46:09 yaberauneya Exp $ |
subrata_modak | aba85b9 | 2008-12-11 10:30:33 +0000 | [diff] [blame] | 2 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 3 | Requirements |
subrata_modak | aba85b9 | 2008-12-11 10:30:33 +0000 | [diff] [blame] | 4 | ------------------- |
yaberauneya | fbc9045 | 2009-11-06 18:21:37 +0000 | [diff] [blame] | 5 | |
Garrett Cooper | 525c4d2 | 2010-02-22 10:11:46 -0800 | [diff] [blame] | 6 | 1. In order to compile ltp you must have make 3.80+ (make 3.81 preferred). |
yaberauneya | 340292d | 2010-01-18 23:46:09 +0000 | [diff] [blame] | 7 | 2. In order to compile and use ltp-scanner (a utility in the pan directory), |
| 8 | you must have bison/yacc, and flex installed. |
subrata_modak | 3960cc8 | 2009-01-20 10:47:29 +0000 | [diff] [blame] | 9 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 10 | bison can be obtained here: |
| 11 | - http://ftp.gnu.org/gnu/bison/bison-2.4.1.tar.gz |
subrata_modak | 16147ad | 2009-01-21 11:30:52 +0000 | [diff] [blame] | 12 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 13 | Berkeley yacc can be obtained here: |
| 14 | - ftp://invisible-island.net/byacc/byacc.tar.gz |
subrata_modak | 16147ad | 2009-01-21 11:30:52 +0000 | [diff] [blame] | 15 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 16 | flex can be obtained here: |
| 17 | - http://downloads.sourceforge.net/project/flex/flex/flex-2.5.33/flex-2.5.33.tar.bz2 |
subrata_modak | 3960cc8 | 2009-01-20 10:47:29 +0000 | [diff] [blame] | 18 | |
yaberauneya | 4f493d8 | 2009-11-03 16:12:12 +0000 | [diff] [blame] | 19 | make 3.81 can be obtained here: |
| 20 | - http://ftp.gnu.org/gnu/make/make-3.81.tar.bz2 |
| 21 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 22 | If you want to use auto configuration, be sure autoconf-2.61+ & automake-1.10+ |
| 23 | are installed. |
| 24 | |
| 25 | automake-1.10.2's sources can be downloaded from: |
| 26 | - ftp://ftp.gnu.org/gnu/automake/automake-1.10.2.tar.bz2 |
| 27 | - ftp://ftp.gnu.org/gnu/automake/automake-1.10.2.tar.gz |
| 28 | |
| 29 | autoconf-2.61's sources can be downloaded from: |
| 30 | - ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.bz2 |
| 31 | - ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.gz |
| 32 | |
| 33 | autoconf-2.61 also requires m4-1.4.7+ be installed. Its sources can be |
| 34 | downloaded from: |
| 35 | - http://ftp.gnu.org/gnu/m4/m4-1.4.7.tar.bz2 |
| 36 | - http://ftp.gnu.org/gnu/m4/m4-1.4.7.tar.gz |
| 37 | |
yaberauneya | bf3aeec | 2009-11-07 01:30:29 +0000 | [diff] [blame] | 38 | Configuration |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 39 | ------------------- |
| 40 | Using autoconf: |
yaberauneya | bf3aeec | 2009-11-07 01:30:29 +0000 | [diff] [blame] | 41 | $ make autotools # This must be run from "$TOP_SRCDIR"! |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 42 | $ test -d "$TOP_BUILDDIR" || mkdir -p "$TOP_BUILDDIR" |
| 43 | $ cd "$TOP_BUILDDIR" && "$TOP_SRCDIR/configure" \ |
| 44 | # [configure args go here, e.g. CC=$CC, LDFLAGS=$LDFLAGS, etc] |
| 45 | |
| 46 | Not using autoconf: |
| 47 | |
| 48 | $ test -d "$TOP_BUILDDIR" || mkdir -p "$TOP_BUILDDIR" |
| 49 | $ cp "$TOP_SRCDIR/include/config.h.default" \ |
| 50 | "$TOP_BUILDDIR/include/config.h" |
| 51 | $ cp "$TOP_SRCDIR/include/mk/config.mk.default" \ |
| 52 | "$TOP_BUILDDIR/include/mk/config.mk" |
| 53 | |
| 54 | # Fire up your favorite editor and set each value appropriately in |
| 55 | # include/mk/config.mk. Uncomment all values commented out, such as |
| 56 | # NUMA_LIBS, etc, but only if you're sure that the libraries exist and |
| 57 | # can be linked on your system. |
| 58 | |
| 59 | - $TOP_SRCDIR and $TOP_BUILDDIR are the same for in-build-tree scenarios. |
| 60 | - $TOP_SRCDIR and $TOP_BUILDDIR differ for out-of-build-tree scenarios. |
| 61 | |
| 62 | See the In-build-tree and Out-of-build-tree sections below for more details on |
| 63 | what to do next... |
| 64 | |
| 65 | Compiling LTP |
| 66 | ------------------- |
| 67 | |
| 68 | In-build-tree |
| 69 | ------------------- |
| 70 | In-build-tree support is when you build binaries (applications, binary objects) |
| 71 | in the same directory where the source files reside. |
| 72 | |
| 73 | $ make all |
| 74 | $ make \ |
| 75 | "DESTDIR=$SYSROOT" \ |
| 76 | SKIP_IDCHECK=[0|1] \ |
| 77 | install |
| 78 | |
| 79 | - Specifying DESTDIR is optional, but required when installing to a non-host |
| 80 | sysroot, as opposed to the host system's sysroot. |
| 81 | - Specify SKIP_IDCHECK=1 if and when you don't want to modify /etc/{group,passwd} |
| 82 | on the target system's sysroot. |
subrata_modak | aba85b9 | 2008-12-11 10:30:33 +0000 | [diff] [blame] | 83 | |
subrata_modak | 4045517 | 2009-01-05 08:35:21 +0000 | [diff] [blame] | 84 | If you get a build error, please report it to ltp-list@lists.sf.net with |
| 85 | following information, |
| 86 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 87 | 1. The error output before the failure. |
| 88 | 2. If you used configure: |
| 89 | i. include/config.h |
| 90 | ii. include/mk/config.mk |
| 91 | iii. config.log |
subrata_modak | 4045517 | 2009-01-05 08:35:21 +0000 | [diff] [blame] | 92 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 93 | Out-of-build-tree |
| 94 | ------------------- |
| 95 | Out-of-build-tree support is when you build binaries (applications, binary |
| 96 | objects, generated files) outside of the directory where the source files |
| 97 | reside. This is typically used when cross-compiling for multiple targets. |
subrata_modak | 4045517 | 2009-01-05 08:35:21 +0000 | [diff] [blame] | 98 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 99 | NOTE: This is by and large correctly implemented, but there are several corner |
Garrett Cooper | c41bb21 | 2010-02-24 13:24:15 -0800 | [diff] [blame] | 100 | cases, where this isn't implemented properly. Please see TODO for a list of |
| 101 | items which need fixing in the LTP tree. |
subrata_modak | aba85b9 | 2008-12-11 10:30:33 +0000 | [diff] [blame] | 102 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 103 | $ mkdir "$OUT_OF_BUILD_TREE_DIR" |
| 104 | $ make \ |
| 105 | -C "$OUT_OF_BUILD_TREE_DIR" \ |
| 106 | -f "$TOP_SRCDIR/Makefile" \ |
| 107 | "top_srcdir=$TOP_SRCDIR" \ |
| 108 | "top_builddir=$OUT_OF_BUILD_TREE_DIR" |
| 109 | $ make \ |
| 110 | -C "$OUT_OF_BUILD_TREE_DIR" \ |
| 111 | -f "$TOP_SRCDIR/Makefile" \ |
| 112 | "top_srcdir=$TOP_SRCDIR" \ |
| 113 | "top_builddir=$OUT_OF_BUILD_TREE_DIR" \ |
| 114 | "DESTDIR=$SYSROOT" \ |
| 115 | SKIP_IDCHECK=[0|1] |
| 116 | install |
| 117 | |
| 118 | - Specifying DESTDIR is optional, but required when installing to a non-host |
| 119 | sysroot, as opposed to the host system's sysroot. |
| 120 | - Specify SKIP_IDCHECK=1 if and when you don't want to modify /etc/{group,passwd} |
| 121 | on the target system's sysroot. |
alaffin | e15dd68 | 2000-05-08 20:31:30 +0000 | [diff] [blame] | 122 | |
nstraz | 0312c25 | 2000-09-26 20:59:21 +0000 | [diff] [blame] | 123 | Quick Start |
| 124 | ----------- |
whr | b973f2b | 2000-05-05 19:34:50 +0000 | [diff] [blame] | 125 | |
robbiew | 5740448 | 2001-09-19 16:11:23 +0000 | [diff] [blame] | 126 | 1> tar xzf ltp-XXXXXXXX.tar.gz |
nstraz | 0312c25 | 2000-09-26 20:59:21 +0000 | [diff] [blame] | 127 | 2> cd ltp |
yaberauneya | bf3aeec | 2009-11-07 01:30:29 +0000 | [diff] [blame] | 128 | 3> ./configure |
| 129 | 4> make all |
| 130 | 5> make install |
Garrett Cooper | c41bb21 | 2010-02-24 13:24:15 -0800 | [diff] [blame] | 131 | 6> /opt/ltp/runltp |
whr | b973f2b | 2000-05-05 19:34:50 +0000 | [diff] [blame] | 132 | |
yaberauneya | 934df0e | 2010-01-07 10:43:24 +0000 | [diff] [blame] | 133 | *NOTE: |
| 134 | - LTP assumes the existence of the nobody, bin, and daemon users and their |
Garrett Cooper | c41bb21 | 2010-02-24 13:24:15 -0800 | [diff] [blame] | 135 | groups. If these IDs do not exist, certain tests will fail. The respective |
| 136 | user and group IDs should be the same, i.e. if `nobody's' user ID is 99, then |
| 137 | its group ID should also be 99. The names of the groups are irrelevant. |
| 138 | - The installation directory is /opt/ltp by default. Please see |
| 139 | "Using autoconf" above and specify the appropriate path via --prefix. |
| 140 | DESTDIR= is also honored for install and will install into $DESTDIR/$prefix, |
| 141 | if you want to install into a chroot or a rootfs for instance. |
whr | b973f2b | 2000-05-05 19:34:50 +0000 | [diff] [blame] | 142 | |
nstraz | 0312c25 | 2000-09-26 20:59:21 +0000 | [diff] [blame] | 143 | Detailed Installation |
| 144 | --------------------- |
| 145 | |
| 146 | Beyond the "Quick Start" instructions, there are only a few other things |
| 147 | that should be done. The Linux Test Project build process uses a |
| 148 | minimalist approach. There is a lot of room for improvement and |
| 149 | contributions are welcome. |
| 150 | |
robbiew | b6c5fe7 | 2001-09-18 20:44:30 +0000 | [diff] [blame] | 151 | 1. Log in as root. |
| 152 | |
| 153 | 2. Untar the ltp tarball into a spare directory. There is not a |
robbiew | fc0708b | 2004-03-01 22:16:02 +0000 | [diff] [blame] | 154 | standard location for it yet. We put it in our home directory |
robbiew | 0eea352 | 2004-02-05 17:33:10 +0000 | [diff] [blame] | 155 | while we're working on it. |
subrata_modak | f43b380 | 2009-08-28 05:33:40 +0000 | [diff] [blame] | 156 | Note that the full path to this location must be accessible for |
| 157 | unprivileged users, as some tests are run as a different user than root. |
| 158 | Hence /root is not a good choice on several distributions. |
nstraz | 0312c25 | 2000-09-26 20:59:21 +0000 | [diff] [blame] | 159 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 160 | 3. Build and install everything, as described above. Note the minimum software |
| 161 | requirements above before doing so. |
nstraz | 0312c25 | 2000-09-26 20:59:21 +0000 | [diff] [blame] | 162 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 163 | 4. You can run all of the tests sequentially using the example test script |
| 164 | runalltests.sh. The script is provided to get you started. |
subrata_modak | dddeb90 | 2009-05-29 10:06:08 +0000 | [diff] [blame] | 165 | See ltp-pan(1) for more information on the test driver we have provided. |
robbiew | 0eea352 | 2004-02-05 17:33:10 +0000 | [diff] [blame] | 166 | It is simple, but it can do a lot of stuff. |
robbiew | b6c5fe7 | 2001-09-18 20:44:30 +0000 | [diff] [blame] | 167 | |
Garrett Cooper | c41bb21 | 2010-02-24 13:24:15 -0800 | [diff] [blame] | 168 | NOTE: The diskio and network tests will NOT be run by the runltp script; |
| 169 | they are separate from the other tests because of additional required setup |
| 170 | overhead. |
nstraz | 0312c25 | 2000-09-26 20:59:21 +0000 | [diff] [blame] | 171 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 172 | 5. The disk I/O tests can be run by executing the diskio.sh script. In order |
robbiew | ba42204 | 2001-09-19 15:25:43 +0000 | [diff] [blame] | 173 | for these tests to successfully operate a writable high-density 3.5" floppy |
| 174 | must be in the disk drive and a CD-ROM with more than 100Mb of data must be |
| 175 | in the CD-ROM drive. The corresponding tests will fail if either disk is |
| 176 | missing. |
nstraz | 0312c25 | 2000-09-26 20:59:21 +0000 | [diff] [blame] | 177 | |
robbiew | ba42204 | 2001-09-19 15:25:43 +0000 | [diff] [blame] | 178 | 6. The network tests are executed by running the networktests.sh script. The |
| 179 | network tests require some configuration for them to work correctly: |
| 180 | |
| 181 | i) First, there MUST be another test machine setup to act as the server |
| 182 | to these client side tests. This machine MUST have the LTP installed |
| 183 | in the same exact location, i.e. if the client has /root/ltp, then the |
| 184 | server must have /root/ltp. This is required because certain tests |
| 185 | expect to find server files in certain locations. Make sure to compile |
| 186 | the LTP on this server machine also. |
| 187 | |
robbiew | 0eea352 | 2004-02-05 17:33:10 +0000 | [diff] [blame] | 188 | ii) Second, the server must be setup to allow the client to connect using |
subrata_modak | 08978d2 | 2008-12-18 04:58:57 +0000 | [diff] [blame] | 189 | the "r" commands, such as rsh. This is done by simply creating/editing |
| 190 | the ".rhosts" file under /root. Place the hostname of the client |
| 191 | machine in this file to allow root to remotely connect without the use |
| 192 | of a password. If server has the PAM system security tool, you need |
| 193 | to add the following lines to /etc/securetty: |
| 194 | rlogin |
| 195 | rsh |
| 196 | rexec |
| 197 | pts/0 |
| 198 | pts/1 |
| 199 | : |
| 200 | pts/9 |
robbiew | ba42204 | 2001-09-19 15:25:43 +0000 | [diff] [blame] | 201 | |
robbiew | 0eea352 | 2004-02-05 17:33:10 +0000 | [diff] [blame] | 202 | iii) Next, certain services must be activated in order for certain tests to |
robbiew | ba42204 | 2001-09-19 15:25:43 +0000 | [diff] [blame] | 203 | execute. The following services are activated via inetd/xinetd: |
| 204 | rlogind |
| 205 | ftpd |
| 206 | telnetd |
| 207 | echo (stream) |
| 208 | fingerd |
| 209 | rshd |
subrata_modak | 08978d2 | 2008-12-18 04:58:57 +0000 | [diff] [blame] | 210 | Also, because certain RPC programs are tested, the "portmapper" daemon |
| 211 | MUST be started, as well as NFS server AND lock services. |
robbiew | ba42204 | 2001-09-19 15:25:43 +0000 | [diff] [blame] | 212 | |
robbiew | 0eea352 | 2004-02-05 17:33:10 +0000 | [diff] [blame] | 213 | iv) Finally, before running the networktests.sh script, two variables must |
subrata_modak | 08978d2 | 2008-12-18 04:58:57 +0000 | [diff] [blame] | 214 | be set within the script file. The "RHOST" variable should be set to |
| 215 | the hostname of the server. The "PASSWD" variable should be set to |
| 216 | root's password on the server machine. This is necessary for tests |
| 217 | such as telnet01 and ftp01. |
robbiew | ba42204 | 2001-09-19 15:25:43 +0000 | [diff] [blame] | 218 | |
| 219 | You can now successfully execute the networktests.sh script. |
subrata_modak | 08978d2 | 2008-12-18 04:58:57 +0000 | [diff] [blame] | 220 | When you would like to run the whole network tests, specify -w option: |
| 221 | # ./networktests.sh -w |
| 222 | |
| 223 | When you would like to run the same tests which networktests.sh ran till |
| 224 | 2008, specify no option or -d option: |
| 225 | # ./networktests.sh |
| 226 | |
| 227 | You can run the test category which you are interested in, -h option shows |
| 228 | the list of the test category: |
| 229 | # ./netwoktests.sh -h |
vapier | 36ab22f | 2009-01-19 03:37:35 +0000 | [diff] [blame] | 230 | |
| 231 | |
| 232 | Cross compiling |
| 233 | --------------- |
| 234 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 235 | To cross compile, you must specify the correct variables: |
vapier | 36ab22f | 2009-01-19 03:37:35 +0000 | [diff] [blame] | 236 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 237 | 1. When running configure (CC, CXX, CXXFLAGS, LDLIBS, etc). |
| 238 | 2. Manually edit include/mk/config.mk, as described in Configuration. |
vapier | 36ab22f | 2009-01-19 03:37:35 +0000 | [diff] [blame] | 239 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 240 | Note: Do not specify variables on the command-line. Use config.mk instead. |
vapier | 36ab22f | 2009-01-19 03:37:35 +0000 | [diff] [blame] | 241 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 242 | uClinux Users |
| 243 | -------------- |
| 244 | Specify UCLINUX=1 when calling make; -DUCLINUX=1 use is deprecated and highly |
| 245 | discouraged. |
vapier | 36ab22f | 2009-01-19 03:37:35 +0000 | [diff] [blame] | 246 | |
| 247 | Variables in Makefile |
| 248 | ---------------------- |
| 249 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 250 | The conventions enforced are standard ones. Here's a quick summary: |
vapier | 36ab22f | 2009-01-19 03:37:35 +0000 | [diff] [blame] | 251 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 252 | CFLAGS - used when compiling/linking C code, e.g. -D_GNU_SOURCE (no CPPFLAGS!) |
vapier | 36ab22f | 2009-01-19 03:37:35 +0000 | [diff] [blame] | 253 | |
| 254 | CXXFLAGS - used when compiling/linking C++ code (no CPPFLAGS!) |
| 255 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 256 | CPPFLAGS - used when preprocessor is run (so C/C++ compiling with $(CPP) |
| 257 | functions, e.g. -I$SYSROOT/usr/include -I$SYSROOT/include -I$SYSROOT |
vapier | 36ab22f | 2009-01-19 03:37:35 +0000 | [diff] [blame] | 258 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 259 | LDFLAGS - linker flags, e.g. "-L$SYSROOT/usr/lib" "-L$SYSROOT/lib". DO NOT |
| 260 | PUT LIBRARIES IN THIS LIST (see LDLIBS for that). |
vapier | 36ab22f | 2009-01-19 03:37:35 +0000 | [diff] [blame] | 261 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 262 | LDLIBS - libraries listed after objects during link, e.g. -lc, -lpthread, |
| 263 | -lltp. |
vapier | 36ab22f | 2009-01-19 03:37:35 +0000 | [diff] [blame] | 264 | |
yaberauneya | 2d8710f | 2009-10-25 06:35:08 +0000 | [diff] [blame] | 265 | See README.mk-devel for a more terse description of what's available. |
yaberauneya | 9079a9f | 2009-11-05 08:38:40 +0000 | [diff] [blame] | 266 | |
| 267 | Common Issues |
| 268 | ---------------------- |
| 269 | |
yaberauneya | cef7962 | 2009-11-12 11:57:37 +0000 | [diff] [blame] | 270 | Issue: When executing configure it says: |
| 271 | |
| 272 | checking for a BSD-compatible install... /usr/bin/install -c |
| 273 | checking whether build environment is sane... yes |
| 274 | checking for gawk... gawk |
| 275 | checking whether make sets $(MAKE)... yes |
| 276 | configure: error: cannot run /bin/sh ./config.sub |
| 277 | |
yaberauneya | 44cac8e | 2009-11-12 12:08:09 +0000 | [diff] [blame] | 278 | Solution: You must upgrade autoconf to 0.10.2+ and m4 to 1.4.7+; config.guess and config.sub aren't necessarily generated with older revisions of the Gnu autotools chain. |
yaberauneya | cef7962 | 2009-11-12 11:57:37 +0000 | [diff] [blame] | 279 | |
yaberauneya | 9079a9f | 2009-11-05 08:38:40 +0000 | [diff] [blame] | 280 | Issue: When executing make [all] it says: |
| 281 | |
| 282 | " *** No rule to make target `/$*', needed by `pan-all'. Stop." |
| 283 | |
| 284 | Solution: You must upgrade to make 3.81. Please see the Requirements section above. |
| 285 | |
| 286 | Issue: When executing make [all] it says something like: |
| 287 | |
| 288 | # ... |
| 289 | install -m 00644 "/scratch/ltp-dev2/ltp/include/test.h" "/scratch/ltp-install12/include/test.h" |
| 290 | install -m 00644 "/scratch/ltp-dev2/ltp/include/tlibio.h" "/scratch/ltp-install12/include/tlibio.h" |
| 291 | install -m 00644 "/scratch/ltp-dev2/ltp/include/usctest.h" "/scratch/ltp-install12/include/usctest.h" |
| 292 | install -m 00644 "/scratch/ltp-dev2/ltp/include/write_log.h" "/scratch/ltp-install12/include/write_log.h" |
| 293 | make[1]: Leaving directory `/scratch/ltp-dev2/ltp/include' |
| 294 | make -C lib -f "/scratch/ltp-dev2/ltp/lib/Makefile" all |
| 295 | make[1]: Entering directory `/scratch/ltp-dev2/ltp/lib' |
| 296 | " *** No rule to make target `dataascii.o', needed by `libltp.a'. Stop." # <-- the error |
| 297 | |
| 298 | Solution: You cannot build LTP with -r / --no-builtin-rules and/or |
| 299 | -R / --no-builtin-variables specified. LTP relies heavily on built-in |
| 300 | implicit rules and variables to function properly. |
yaberauneya | 340292d | 2010-01-18 23:46:09 +0000 | [diff] [blame] | 301 | |
| 302 | Issue: When executing make (no target, 3.80), it does the following, and doesn't execute all: |
| 303 | |
| 304 | # |
| 305 | make -C testcases/realtime autotools |
| 306 | make[1]: Entering directory `/scratch/ltp/testcases/realtime' |
| 307 | autoheader |
| 308 | make[1]: Leaving directory `/scratch/ltp/testcases/realtime' |