Comments (4)
cbrewbaker wrote at 2015-01-31 17:47:04:
The third party binaries seem to be incompatible with OS X. I symlinked in my own node and ninja. I gave up for the morning with the yak shave of compiling rapdjson from source.
from kythe.
cbrewbaker wrote at 2015-01-31 18:15:44:
The lein build of the client worked fine. The next step not so much:
Chads-MacBook-Pro:kythe cbrewbaker$ ./campfire run //kythe/go/serving/xrefs/tools:xrefs_server --listen localhost:8080 --graphstore .kythe_graphstore
[10/60] protoc_go //kythe/proto:storage_proto
FAILED: rm -rf campfire-out/gen/go/src/kythe/proto/storage_proto && mkdir -p campfire-out/gen/go/src/kythe/proto/storage_proto && third_party/protobuf/bin/protoc --plugin=third_party/protobuf/bin/protoc-gen-go --go_out=import_path=kythe/proto/storage_proto,Mkythe/proto/storage.proto=kythe/proto/storage_proto:campfire-out/gen/go/src/kythe/proto/storage_proto kythe/proto/storage.proto && find campfire-out/gen/go/src/kythe/proto/storage_proto -type f -name '.go' -exec mv -f {} campfire-out/gen/go/src/kythe/proto/storage_proto ';' && go tool 6g -p kythe/proto/storage_proto -complete -pack -o campfire-out/go/pkg/linux_amd64/kythe/proto/storage_proto.a -I campfire-out/gen/go/src/kythe/proto/storage_proto -I campfire-out/go/pkg/linux_amd64/ $(ls -1 campfire-out/gen/go/src/kythe/proto/storage_proto/.go)
/bin/sh: third_party/protobuf/bin/protoc: cannot execute binary file
[10/60] protoc_go //kythe/proto:xref_proto
FAILED: rm -rf campfire-out/gen/go/src/kythe/proto/xref_proto && mkdir -p campfire-out/gen/go/src/kythe/proto/xref_proto && third_party/protobuf/bin/protoc --plugin=third_party/protobuf/bin/protoc-gen-go --go_out=import_path=kythe/proto/xref_proto,Mkythe/proto/xref.proto=kythe/proto/xref_proto:campfire-out/gen/go/src/kythe/proto/xref_proto kythe/proto/xref.proto && find campfire-out/gen/go/src/kythe/proto/xref_proto -type f -name '.go' -exec mv -f {} campfire-out/gen/go/src/kythe/proto/xref_proto ';' && go tool 6g -p kythe/proto/xref_proto -complete -pack -o campfire-out/go/pkg/linux_amd64/kythe/proto/xref_proto.a -I campfire-out/gen/go/src/kythe/proto/xref_proto -I campfire-out/go/pkg/linux_amd64/ $(ls -1 campfire-out/gen/go/src/kythe/proto/xref_proto/.go)
/bin/sh: third_party/protobuf/bin/protoc: cannot execute binary file
[10/60] cpp_compile third_party/leveldb/port/port_posix.cc
FAILED: clang++ -c third_party/leveldb/port/port_posix.cc -o campfire-out/gen/third_party/leveldb/leveldb/third_party/leveldb/port/port_posix.o -Ithird_party/leveldb -Ithird_party/leveldb/include -DLEVELDB_PLATFORM_POSIX -Wno-unused-function -O2 -DSNAPPY -DNDEBUG -I third_party/snappy -I.
In file included from third_party/leveldb/port/port_posix.cc:5:
third_party/leveldb/port/port_posix.h:41:12: fatal error: 'endian.h' file not found
#include <endian.h>
^
1 error generated.
[10/60] cpp_compile third_party/leveldb/db/dbformat.cc
FAILED: clang++ -c third_party/leveldb/db/dbformat.cc -o campfire-out/gen/third_party/leveldb/leveldb/third_party/leveldb/db/dbformat.o -Ithird_party/leveldb -Ithird_party/leveldb/include -DLEVELDB_PLATFORM_POSIX -Wno-unused-function -O2 -DSNAPPY -DNDEBUG -I third_party/snappy -I.
In file included from third_party/leveldb/db/dbformat.cc:6:
In file included from third_party/leveldb/db/dbformat.h:14:
In file included from third_party/leveldb/util/coding.h:17:
In file included from third_party/leveldb/port/port.h:14:
third_party/leveldb/port/port_posix.h:41:12: fatal error: 'endian.h' file not found
#include <endian.h>
^
1 error generated.
[10/60] cpp_compile third_party/leveldb/db/log_reader.cc
FAILED: clang++ -c third_party/leveldb/db/log_reader.cc -o campfire-out/gen/third_party/leveldb/leveldb/third_party/leveldb/db/log_reader.o -Ithird_party/leveldb -Ithird_party/leveldb/include -DLEVELDB_PLATFORM_POSIX -Wno-unused-function -O2 -DSNAPPY -DNDEBUG -I third_party/snappy -I.
In file included from third_party/leveldb/db/log_reader.cc:9:
In file included from third_party/leveldb/util/coding.h:17:
In file included from third_party/leveldb/port/port.h:14:
third_party/leveldb/port/port_posix.h:41:12: fatal error: 'endian.h' file not found
#include <endian.h>
^
1 error generated.
[10/60] cpp_compile third_party/leveldb/db/memtable.cc
FAILED: clang++ -c third_party/leveldb/db/memtable.cc -o campfire-out/gen/third_party/leveldb/leveldb/third_party/leveldb/db/memtable.o -Ithird_party/leveldb -Ithird_party/leveldb/include -DLEVELDB_PLATFORM_POSIX -Wno-unused-function -O2 -DSNAPPY -DNDEBUG -I third_party/snappy -I.
In file included from third_party/leveldb/db/memtable.cc:5:
In file included from third_party/leveldb/db/memtable.h:10:
In file included from third_party/leveldb/db/dbformat.h:14:
In file included from third_party/leveldb/util/coding.h:17:
In file included from third_party/leveldb/port/port.h:14:
third_party/leveldb/port/port_posix.h:41:12: fatal error: 'endian.h' file not found
#include <endian.h>
^
1 error generated.
[10/60] cpp_compile third_party/leveldb/db/builder.cc
FAILED: clang++ -c third_party/leveldb/db/builder.cc -o campfire-out/gen/third_party/leveldb/leveldb/third_party/leveldb/db/builder.o -Ithird_party/leveldb -Ithird_party/leveldb/include -DLEVELDB_PLATFORM_POSIX -Wno-unused-function -O2 -DSNAPPY -DNDEBUG -I third_party/snappy -I.
In file included from third_party/leveldb/db/builder.cc:7:
In file included from third_party/leveldb/db/filename.h:14:
In file included from third_party/leveldb/port/port.h:14:
third_party/leveldb/port/port_posix.h:41:12: fatal error: 'endian.h' file not found
#include <endian.h>
^
1 error generated.
[10/60] cpp_compile third_party/leveldb/db/leveldb_main.cc
FAILED: clang++ -c third_party/leveldb/db/leveldb_main.cc -o campfire-out/gen/third_party/leveldb/leveldb/third_party/leveldb/db/leveldb_main.o -Ithird_party/leveldb -Ithird_party/leveldb/include -DLEVELDB_PLATFORM_POSIX -Wno-unused-function -O2 -DSNAPPY -DNDEBUG -I third_party/snappy -I.
In file included from third_party/leveldb/db/leveldb_main.cc:6:
In file included from third_party/leveldb/db/dbformat.h:14:
In file included from third_party/leveldb/util/coding.h:17:
In file included from third_party/leveldb/port/port.h:14:
third_party/leveldb/port/port_posix.h:41:12: fatal error: 'endian.h' file not found
#include <endian.h>
^
1 error generated.
[10/60] cpp_compile third_party/leveldb/db/db_bench.cc
FAILED: clang++ -c third_party/leveldb/db/db_bench.cc -o campfire-out/gen/third_party/leveldb/leveldb/third_party/leveldb/db/db_bench.o -Ithird_party/leveldb -Ithird_party/leveldb/include -DLEVELDB_PLATFORM_POSIX -Wno-unused-function -O2 -DSNAPPY -DNDEBUG -I third_party/snappy -I.
In file included from third_party/leveldb/db/db_bench.cc:8:
In file included from third_party/leveldb/db/db_impl.h:10:
In file included from third_party/leveldb/db/dbformat.h:14:
In file included from third_party/leveldb/util/coding.h:17:
In file included from third_party/leveldb/port/port.h:14:
third_party/leveldb/port/port_posix.h:41:12: fatal error: 'endian.h' file not found
#include <endian.h>
^
1 error generated.
[10/60] cpp_compile third_party/leveldb/db/db_impl.cc
FAILED: clang++ -c third_party/leveldb/db/db_impl.cc -o campfire-out/gen/third_party/leveldb/leveldb/third_party/leveldb/db/db_impl.o -Ithird_party/leveldb -Ithird_party/leveldb/include -DLEVELDB_PLATFORM_POSIX -Wno-unused-function -O2 -DSNAPPY -DNDEBUG -I third_party/snappy -I.
In file included from third_party/leveldb/db/db_impl.cc:5:
In file included from third_party/leveldb/db/db_impl.h:10:
In file included from third_party/leveldb/db/dbformat.h:14:
In file included from third_party/leveldb/util/coding.h:17:
In file included from third_party/leveldb/port/port.h:14:
third_party/leveldb/port/port_posix.h:41:12: fatal error: 'endian.h' file not found
#include <endian.h>
^
1 error generated.
ninja: build stopped: subcommand failed.
from kythe.
tsl0922 wrote at 2015-01-31 19:39:43:
I also tried building it on MAC, not success yet, there are a lot of problems.
leveldb can be built by adding -DOS_MACOSX
to the cc_opt
of its CAMPFIRE file.
from kythe.
revision #478
#474
#472
#512
#473
#475
from kythe.
Related Issues (20)
- ref/call spans should cover identifiers only
- Clean up experimental_ flags in the C++ indexer
- Segmentation fault when indexing chromium compilation HOT 16
- java indexer tests fail with --config=java20 HOT 2
- Re-enable protobuf semantics when they're upstreamed
- Use PARAMETER_LOOKUP_BY_PARAM for C++ functions.
- Remove use of genrule.exec_tools
- Errors encountered resolving select() keys for //:node_modules/jasmine-core at BAZEL@HEAD HOT 2
- Add thunk writes and calls
- Errors encountered resolving select() keys for //:node_modules/typescript with BAZEL@HEAD HOT 1
- Error occurred during the fetch of repository 'souffle' with BAZEL@HEAD HOT 8
- Error : no such package '@io_kythe//kythe/data': The repository '@io_kythe' could not be resolved: Repository '@io_kythe' is not defined HOT 6
- Bloating memory with write_tables in beam mode
- ERROR: no such package '@io_kythe//kythe/data': The repository '@io_kythe' could not be resolved: Repository '@io_kythe' is not defined HOT 1
- CloudDataflowSDK example project: now archived and empty HOT 2
- Catch obvious type errors during elaboration
- Error recovery can lead to ungrounded variables HOT 1
- `using` template names with aliasing on does not work as expected
- C++ indexer tests should not use empty corpus values
- Add allowlist for goals from file nodes HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kythe.