You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building from main e19df49a on an M1 macOS 15.1.1 with llvm/clang-19. (I have the same problem on 7.3.6.) I don't have any CMAKE environment variables set.
I receive the following error:
The source directory ...fdbserver/rocksdb-prefix/src/rocksdb" does not appear to contain CMakeLists.txt
CMake Error: The source directory "/Users/jayed/work/fdb-build/fdbserver/rocksdb-prefix/src/rocksdb" does not appear to contain CMakeLists.txt.
Cmake finds rocksdb; however, it says it's finding the library in an empty directory in the build tree and not the local /opt/homebrew/lib/librocksdb.a location.
-- Found RocksDB version: 9.8.4
-- Found RocksDB: /opt/homebrew/include (found suitable version "9.8.4", minimum required is "9.7.3")
-- Found RocksDB library: /Users/jayed/work/fdb-build/fdbserver/rocksdb-prefix/src/rocksdb-build/librocksdb.a
-- Found RocksDB includes: /opt/homebrew/include
This directory--/Users/jayed/work/fdb-build/fdbserver/rocksdb-prefix/src/rocksdb-build--is empty.
[jayed@merlot] ls -al /Users/jayed/work/fdb-build/fdbserver/rocksdb-prefix/src/rocksdb-build/
drwxr-xr-x - jayed 11 Dec 14:52 ./
drwxr-xr-x - jayed 11 Dec 14:52 ../
The only cmake references to librocksdb.a are here:
-- =========================================
-- Components Build Overview
-- =========================================
-- Build Bindings (depends on Python): ON
-- Build C Bindings: ON
-- Build Python Bindings: ON
-- Build Java Bindings: OFF
-- Build Go bindings: ON
-- Build Ruby bindings: ON
-- Build Swift (depends on Swift): OFF
-- Build Documentation (make html): ON
-- Build Python sdist (make package): ON
-- Configure CTest (depends on Python): ON
-- Build with RocksDB: ON
-- Build with AWS SDK: OFF
-- =========================================
The cmake command includes -E touch /Users/jayed/work/fdb-build/fdbserver/rocksdb-prefix/src/rocksdb-stamp/rocksdb-configure. That file does not exist; the parent directory does. The directory has to correct permissions.
[jayed@merlot] ls Users/jayed/work/fdb-build/fdbserver/rocksdb-prefix/src/rocksdb-stamp/rocksdb-configure
"Users/jayed/work/fdb-build/fdbserver/rocksdb-prefix/src/rocksdb-stamp/rocksdb-configure": No such file or directory (os error 2)
The text was updated successfully, but these errors were encountered:
meangrape
changed the title
Unable to build RocksDB on main finds wrong library
Unable to build RocksDB on main; finds non-existent library
Dec 12, 2024
I'm building from main
e19df49a
on an M1 macOS 15.1.1 with llvm/clang-19. (I have the same problem on 7.3.6.) I don't have any CMAKE environment variables set.I receive the following error:
The source directory ...fdbserver/rocksdb-prefix/src/rocksdb" does not appear to contain CMakeLists.txt
Cmake finds rocksdb; however, it says it's finding the library in an empty directory in the build tree and not the local
/opt/homebrew/lib/librocksdb.a
location.This directory--
/Users/jayed/work/fdb-build/fdbserver/rocksdb-prefix/src/rocksdb-build
--is empty.The only cmake references to
librocksdb.a
are here:cmake -G Ninja -DBUILD_JAVA_BINDING=off -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk ~/repos/foundationdb
Here's the full rocksdb directory tree
Here are the local rocksdb libraries
The cmake command includes
-E touch /Users/jayed/work/fdb-build/fdbserver/rocksdb-prefix/src/rocksdb-stamp/rocksdb-configure
. That file does not exist; the parent directory does. The directory has to correct permissions.The text was updated successfully, but these errors were encountered: