mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-23 03:19:40 +00:00
[ROSBE]
Check for zlib presence before trying to install RosBE Also update README to reflect that need. ROSBE-42 #resolve #comment Fixed in r2089 svn path=/trunk/RosBE/; revision=2089
This commit is contained in:
parent
054213d8dc
commit
44232f0cc8
@ -55,6 +55,16 @@ automatically checks for them:
|
||||
package called "texinfo".
|
||||
|
||||
|
||||
Needed Libraries
|
||||
--------------------
|
||||
Make sure that the following libraries are installed on your system.
|
||||
They are needed to extract the compiler tools. The "RosBE-Builder.sh" script
|
||||
automatically checks for them:
|
||||
|
||||
* zlib
|
||||
The library file is generally called "libz.so".
|
||||
|
||||
|
||||
Preparing the installation
|
||||
---------------------------
|
||||
Under some operating systems, you need to perform additional steps before
|
||||
|
Binary file not shown.
@ -23,6 +23,7 @@ fi
|
||||
# RosBE Setup Variables
|
||||
rs_host_cflags="-pipe -O2 -Wl,-S -g0"
|
||||
rs_needed_tools="bison flex $CC $CXX grep makeinfo" # GNU Make has a special check
|
||||
rs_needed_libs="libz.so"
|
||||
rs_target="i686-w64-mingw32"
|
||||
rs_target_cflags="-pipe -O2 -Wl,-S -g0 -march=pentium -mtune=i686"
|
||||
|
||||
|
@ -90,6 +90,17 @@ rs_check_requirements()
|
||||
toolmissing=true
|
||||
fi
|
||||
|
||||
# Check for libs
|
||||
for lib in $rs_needed_libs; do
|
||||
echo -n "Checking for $lib... "
|
||||
|
||||
if ldconfig -p | grep $lib >& /dev/null; then
|
||||
rs_greenmsg "OK"
|
||||
else
|
||||
rs_redmsg "MISSING"
|
||||
toolmissing=true
|
||||
fi
|
||||
done
|
||||
|
||||
if $toolmissing; then
|
||||
echo "At least one needed tool is missing, aborted!"
|
||||
|
Loading…
Reference in New Issue
Block a user