Changeset f7a6c6f
- Timestamp:
- Dec 17, 2012, 5:12:52 AM (12 years ago)
- Branches:
- clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 2bd7b2c
- Parents:
- 69f9f3f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/prologue/common/hostreqs.xml
r69f9f3f rf7a6c6f 139 139 xz --version | head -n1 140 140 echo 'main(){}' | gcc -v -o /dev/null -x c - > dummy.log 2>&1 141 if grep -q ' error' dummy.log; then141 if ! grep -q ' error' dummy.log; then 142 142 echo "Compilation successful" && rm dummy.log 143 143 else 144 echo "Compilation FAILED - more development packages may need to be \145 144 echo 1>&2 "Compilation FAILED - more development packages may need to be \ 145 installed. If you like, you can also view dummy.log for more details." 146 146 fi</literal> 147 147 EOF 148 148 149 bash version-check.sh</userinput></screen> 149 bash version-check.sh 2>errors.log && 150 [ -s errors.log ] && echo -e "\nThe following packages could not be found:\n$(cat errors.log)"</userinput></screen> 150 151 151 152 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.