mytonctrl icon indicating copy to clipboard operation
mytonctrl copied to clipboard

Ubuntu 22.04 support

Open ingria opened this issue 2 years ago • 4 comments

Currently ton installer fails with this error:

[ 55%] Linking CXX static library librocksdb.a
[ 55%] Built target rocksdb
make[1]: *** [CMakeFiles/Makefile2:7077: crypto/CMakeFiles/fift.dir/rule] Error 2
make: *** [Makefile:1882: fift] Error 2

Ubuntu 22.04 LTS

ingria avatar Apr 29 '22 15:04 ingria

Indeed. Please fix.

bviktor avatar May 02 '22 09:05 bviktor

The problem with rocksdb should have been solved What needs to be fixed now is third-party/abseil-cpp/ I have passed the test.

# Install dependent packages
apt-get update
apt-get install git build-essential git make cmake clang libgflags-dev zlib1g-dev libssl-dev libreadline-dev libmicrohttpd-dev pkg-config libgsl-dev python3 python3-dev python3-pip -y

# generate env folder / clone ton source code
mkdir ~/ton-env
cd ~/ton-env
git clone --recursive https://github.com/ton-blockchain/ton.git

cd ~/ton-env/ton/third-party/abseil-cpp/
git checkout 20211102.0

# compile
cd ~/ton-env/
mkdir ton-bin
cd ~/ton-env/ton-bin
export CC=$(which clang)
export CXX=$(which clang++)
export CCACHE_DISABLE=1
cmake ~/ton-env/ton -DCMAKE_BUILD_TYPE=Release -Wno-dev

make -j 4

https://github.com/ton-blockchain/ton/pull/392

awesome-doge avatar Jun 06 '22 11:06 awesome-doge

  • I think the issue with compilation has been resolved.
  • The next problem will be that mytonctrl doesn't work properly on ubuntu 22.04.
    • It looks like the main problem is on OS ubuntu 22.04 and python 3.10.x.

The current error code is as follows

Error: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
截圖 2022-10-08 21 43 36

awesome-doge avatar Oct 08 '22 13:10 awesome-doge

  • I think the issue with compilation has been resolved.

  • The next problem will be that mytonctrl doesn't work properly on ubuntu 22.04.

    • It looks like the main problem is on OS ubuntu 22.04 and python 3.10.x.

The current error code is as follows

Error: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
截圖 2022-10-08 21 43 36

Update CRC16

Suhar777777 avatar Nov 01 '22 14:11 Suhar777777

CRC

Can you tell me what to do in more detail?

awesome-doge avatar Nov 27 '22 07:11 awesome-doge

@awesome-doge, here is the fix:

https://github.com/ton-blockchain/mytonctrl/pull/114

sonofmom avatar Dec 19 '22 02:12 sonofmom

this issue is fixed by commit: https://github.com/ton-blockchain/mytonctrl/pull/114

igroman787 avatar Jan 19 '23 12:01 igroman787