154 |
|
|
155 |
* Remove automake and autoconf from your path, or turn off their |
* Remove automake and autoconf from your path, or turn off their |
156 |
execute bits, or something. (Users must be able to build from the |
execute bits, or something. (Users must be able to build from the |
157 |
tarfile without installing those tools.) |
tarfile without installing those tools.) As an example, you could |
158 |
|
disable the tools during the test like so: |
159 |
|
|
160 |
|
mkdir /tmp/stub |
161 |
|
cat > /tmp/stub/do-nothing <<EOF |
162 |
|
#!/bin/sh |
163 |
|
echo warning: $0 called |
164 |
|
sleep 10 |
165 |
|
exit 0 |
166 |
|
EOF |
167 |
|
chmod +x /tmp/stub/do-nothing |
168 |
|
ln /tmp/stub/do-nothing /tmp/stub/automake |
169 |
|
ln /tmp/stub/do-nothing /tmp/stub/autoconf # etc |
170 |
|
PATH=/tmp/stub:$PATH |
171 |
|
|
172 |
* Configure, "make", "make check", and "make install". Make sure to |
* Configure, "make", "make check", and "make install". Make sure to |
173 |
remove your previous install tree before the "make install". |
remove your previous install tree before the "make install". |
175 |
* Make sure LD_LIBRARY_PATH doesn't include anything unnecessary. |
* Make sure LD_LIBRARY_PATH doesn't include anything unnecessary. |
176 |
|
|
177 |
* Run the test suite on the installed version. |
* Run the test suite on the installed version. |
178 |
|
./check-guile -i [INSTALL_PATH]/bin/guile |
179 |
|
|
180 |
* Look at the install tree (with "find | sort" or similar) and make |
* Look at the install tree (with "find | sort" or similar) and make |
181 |
sure nothing seems obviously amiss. |
sure nothing seems obviously amiss. |