flomesh-io / pipy

Pipy is a programmable proxy for the cloud, edge and IoT.
https://flomesh.io/pipy
Other
743 stars 70 forks source link

build.sh failing on Fedora 37 #146

Closed DaveO-Home closed 1 year ago

DaveO-Home commented 1 year ago

Similar to #136

....
[ 36%] Built target brotlicommon-static
[ 37%] Building CXX object deps/leveldb-1.23/CMakeFiles/leveldb.dir/util/env_posix.cc.o
[ 37%] Building CXX object deps/leveldb-1.23/CMakeFiles/leveldb.dir/util/status.cc.o
[ 37%] Building CXX object deps/leveldb-1.23/CMakeFiles/leveldb.dir/helpers/memenv/memenv.cc.o
[ 37%] Built target zlibstatic
[ 37%] Linking CXX static library libleveldb.a
[ 37%] Built target yajl_s
[ 37%] Built target brotlicommon
[ 37%] Built target yajl
[ 37%] Built target zlib
[ 37%] Built target leveldb
make: *** [Makefile:136: all] Error 2

Versions:

clang version 15.0.7 (Fedora 15.0.7-2.fc37)
cmake version 3.26.1
node v16.14.0
openssl.x86_64     1:3.0.8-1.fc37
keveinliu commented 1 year ago

Hi,

The build error should be upper than that your pasted. Could you please upload or paste a full build log?

Thanks, Kevein

keveinliu commented 1 year ago

BTW, I've tried on Fedora37, it seems lack of these two packages:

perl-File-Compare
perl-FindBin

Please try yum install perl-File-Compare perl-FindBin first and build again. Those modules are provided by perl-modules on Ubuntu, so we'd missed them.

DaveO-Home commented 1 year ago

Yep, did the job - thx