Coder Social home page Coder Social logo

Mac OS X support [phab:T3] about kythe HOT 4 CLOSED

kythe avatar kythe commented on September 26, 2024
Mac OS X support [phab:T3]

from kythe.

Comments (4)

kythebot avatar kythebot commented on September 26, 2024

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.

kythebot avatar kythebot commented on September 26, 2024

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.

kythebot avatar kythebot commented on September 26, 2024

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.

kythebot avatar kythebot commented on September 26, 2024

revision #478
#474
#472
#512
#473
#475

from kythe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.