mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-19 21:13:45 +00:00
next try
This commit is contained in:
@ -106,28 +106,20 @@ for i in $PYTHONBIN automake autoconf git $MAKECMD $TARCMD; do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
done
|
done
|
||||||
set -x
|
|
||||||
ls -lRa /opt/pyenv
|
|
||||||
ls -lRa ~/.local
|
|
||||||
# some python version should be available now
|
# some python version should be available now
|
||||||
PYTHONS="`command -v python3` `command -v python` `command -v python2`"
|
PYTHONS="`command -v python3` `command -v python` `command -v python2`"
|
||||||
EASY_INSTALL_FOUND=0
|
EASY_INSTALL_FOUND=0
|
||||||
for PYTHON in $PYTHONS ; do
|
for PYTHON in $PYTHONS ; do
|
||||||
|
|
||||||
# work around for installs with executable easy_install
|
# slow, but should work
|
||||||
MYPYTHONPATH=`${PYTHON} -v </dev/null 2>&1 >/dev/null | sed -n -e '/^# \/.*\/os.py/{ s/.*matches //; s/os.py$//; p;}'`
|
if $PYTHON -c "help('modules');" 2>/dev/null | grep -q easy_install ; then
|
||||||
for PATHCANDIDATE in \
|
|
||||||
"dist-packages/" \
|
|
||||||
"site-packages/"
|
|
||||||
do
|
|
||||||
if [ -e "${MYPYTHONPATH}/${PATHCANDIDATE}/easy_install.py" ] ; then
|
|
||||||
|
|
||||||
EASY_INSTALL_FOUND=1
|
EASY_INSTALL_FOUND=1
|
||||||
PYTHONBIN=$PYTHON
|
PYTHONBIN=$PYTHON
|
||||||
break
|
break
|
||||||
|
|
||||||
fi
|
fi
|
||||||
done
|
|
||||||
|
|
||||||
done
|
done
|
||||||
if [ "0" = $EASY_INSTALL_FOUND ]; then
|
if [ "0" = $EASY_INSTALL_FOUND ]; then
|
||||||
@ -136,7 +128,7 @@ if [ "0" = $EASY_INSTALL_FOUND ]; then
|
|||||||
PREREQ_NOTFOUND=1
|
PREREQ_NOTFOUND=1
|
||||||
|
|
||||||
fi
|
fi
|
||||||
set +x
|
|
||||||
if echo "$CC" | grep -qF /afl-; then
|
if echo "$CC" | grep -qF /afl-; then
|
||||||
|
|
||||||
echo "[-] Error: do not use afl-gcc or afl-clang to compile this tool."
|
echo "[-] Error: do not use afl-gcc or afl-clang to compile this tool."
|
||||||
|
Reference in New Issue
Block a user