./eosio_build.sh error
I run the command:
./eosio_build.sh
and i get the error
` ARCHITECTURE Linux
Unsupported Linux Distribution. Exiting now.`
I have linux mint.What can i do?
The build script didn't account for Mint being built on Ubuntu. You can apply the following diff till the builds scripts are fixed.
On Fri, Mar 2, 2018 at 2:49 PM, Npizza [email protected] wrote:
I run the command: ./eosio_build.sh and i get the error ` ARCHITECTURE Linux
Unsupported Linux Distribution. Exiting now.`
I have linux mint.What can i do?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EOSIO/eos/issues/1525, or mute the thread https://github.com/notifications/unsubscribe-auth/AJy1W8Lp1GlF7y8lARzN8jYy9QBUX0uMks5tabBpgaJpZM4Saes- .
diff --git a/eosio_build.sh b/eosio_build.sh index 8c62bba..1e28897 100755 --- a/eosio_build.sh +++ b/eosio_build.sh @@ -59,6 +59,11 @@ OS_NAME=$( cat /etc/os-release | grep ^NAME | cut -d'=' -f2 | sed 's/"//gI' )
case $OS_NAME in
-
"Linux Mint") -
FILE=${WORK_DIR}/scripts/eosio_build_ubuntu.sh -
CXX_COMPILER=clang++-4.0 -
C_COMPILER=clang-4.0 -
;; "Ubuntu") FILE=${WORK_DIR}/scripts/eosio_build_ubuntu.sh CXX_COMPILER=clang++-4.0
@@ -108,7 +113,7 @@ COMPILE_CONTRACTS=1
# Define default arguments.
- CMAKE_BUILD_TYPE=RelWithDebugInfo
-
CMAKE_BUILD_TYPE=Debug
Create the build dir
cd ${WORK_DIR} diff --git a/scripts/eosio_build_ubuntu.sh b/scripts/eosio_build_ubuntu.sh index 6c3926e..6fefaa6 100644 --- a/scripts/eosio_build_ubuntu.sh +++ b/scripts/eosio_build_ubuntu.sh @@ -24,11 +24,11 @@ exit 1 fi
-
if [ $OS_MIN -lt 4 ]; then
-
printf "\tYou must be running Ubuntu 16.04.x or higher to install EOSIO.\n" -
printf "\tExiting now.\n" -
exit 1 -
fi +# if [ $OS_MIN -lt 4 ]; then +# printf "\tYou must be running Ubuntu 16.04.x or higher to install EOSIO.\n" +# printf "\tExiting now.\n" +# exit 1 +# fi
if [ $DISK_AVAIL -lt 100 ]; then printf "\tYou must have at least 100GB of available storage to install EOSIO.\n" @@ -176,4 +176,4 @@ rm -rf ${TEMP_DIR}/llvm-compiler else printf "\tWASM found at ${HOME}/opt/wasm/bin\n"
-
fi \ No newline at end of file
- fi
Supported Operating Systems:
Amazon 2017.09 and higher. Fedora 25 and higher (Fedora 27 recommended). Ubuntu 16.04 and higher (Ubuntu 16.10 recommended). MacOS Darwin 10.12 and higher (MacOS 10.13.x recommended).
Maybe you could install an ubuntu virtual machine on your mint, and then install eos on the ubuntu.
This issue has been addressed and will install on Linux Mint.