{"action":"created","issue":{"url":"https://api.github.com/repos/dmansfield/parsey-mcparseface-api/issues/1","repository_url":"https://api.github.com/repos/dmansfield/parsey-mcparseface-api","labels_url":"https://api.github.com/repos/dmansfield/parsey-mcparseface-api/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dmansfield/parsey-mcparseface-api/issues/1/comments","events_url":"https://api.github.com/repos/dmansfield/parsey-mcparseface-api/issues/1/events","html_url":"https://github.com/dmansfield/parsey-mcparseface-api/issues/1","id":167698731,"number":1,"title":"Having trouble compiling...","user":{"login":"xtknight","id":350525,"avatar_url":"https://avatars.githubusercontent.com/u/350525?v=3","gravatar_id":"","url":"https://api.github.com/users/xtknight","html_url":"https://github.com/xtknight","followers_url":"https://api.github.com/users/xtknight/followers","following_url":"https://api.github.com/users/xtknight/following{/other_user}","gists_url":"https://api.github.com/users/xtknight/gists{/gist_id}","starred_url":"https://api.github.com/users/xtknight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtknight/subscriptions","organizations_url":"https://api.github.com/users/xtknight/orgs","repos_url":"https://api.github.com/users/xtknight/repos","events_url":"https://api.github.com/users/xtknight/events{/privacy}","received_events_url":"https://api.github.com/users/xtknight/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-26T20:05:59Z","updated_at":"2016-07-26T20:23:02Z","closed_at":null,"body":"I've been struggling with trying to get this to compile for days. (Well there are so many errors I've gotten it probably wouldn't be useful to list them all.) But it seems like tensorflow_serving uses a different version of tensorflow than syntaxnet, and when it gets to the linking stage I get a bunch of linking errors on tensorflow .so files.\r\n\r\nAdditionally, the tensorflow that syntaxnet uses seems to widely vary from the one tensorflow_serving uses. For one, protobuf is completely missing.\r\n\r\nhttp://stackoverflow.com/questions/37799563/how-do-i-register-custom-op-actually-from-syntaxnet-with-tensorflow-serving\r\n\r\nSo the next thing I tried was isolating parsey_api and trying to get it to compile in the tensorflow_examples tree and used the advice above to try to pull in syntaxnet to the serving WORKSPACE. I had some success but I'm stuck with this error:\r\n\r\n    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin \\\r\n      /usr/bin/gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -Wl,-z,-relro,-z,now -B/usr/bin -B/usr/bin -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' '-frandom-seed=bazel-out/local-opt/bin/tensorflow_serving/servables/tensorflow/_objs/session_bundle_factory/tensorflow_serving/servables/tensorflow/session_bundle_factory.o' -DHAVE_CONFIG_H -iquote . -iquote bazel-out/local-opt/genfiles -iquote external/protobuf -iquote bazel-out/local-opt/genfiles/external/protobuf -iquote external/bazel_tools -iquote bazel-out/local-opt/genfiles/external/bazel_tools -iquote external/org_tensorflow -iquote bazel-out/local-opt/genfiles/external/org_tensorflow -iquote external/farmhash_archive -iquote bazel-out/local-opt/genfiles/external/farmhash_archive -iquote external/jpeg_archive -iquote bazel-out/local-opt/genfiles/external/jpeg_archive -iquote external/png_archive -iquote bazel-out/local-opt/genfiles/external/png_archive -iquote external/gif_archive -iquote bazel-out/local-opt/genfiles/external/gif_archive -iquote external/highwayhash -iquote bazel-out/local-opt/genfiles/external/highwayhash -iquote external/re2 -iquote bazel-out/local-opt/genfiles/external/re2 -iquote external/eigen_archive -iquote bazel-out/local-opt/genfiles/external/eigen_archive -iquote external/zlib_archive -iquote bazel-out/local-opt/genfiles/external/zlib_archive -isystem tensorflow_serving/servables/tensorflow -isystem bazel-out/local-opt/genfiles/tensorflow_serving/servables/tensorflow -isystem external/protobuf/src -isystem bazel-out/local-opt/genfiles/external/protobuf/src -isystem external/bazel_tools/tools/cpp/gcc3 -isystem external/farmhash_archive/farmhash-34c13ddfab0e35422f4c3979f360635a8c050260 -isystem bazel-out/local-opt/genfiles/external/farmhash_archive/farmhash-34c13ddfab0e35422f4c3979f360635a8c050260 -isystem external/jpeg_archive/jpeg-9a -isystem bazel-out/local-opt/genfiles/external/jpeg_archive/jpeg-9a -isystem external/png_archive/libpng-1.2.53 -isystem bazel-out/local-opt/genfiles/external/png_archive/libpng-1.2.53 -isystem external/gif_archive/giflib-5.1.4/lib -isystem bazel-out/local-opt/genfiles/external/gif_archive/giflib-5.1.4/lib -isystem external/highwayhash -isystem bazel-out/local-opt/genfiles/external/highwayhash -isystem external/re2 -isystem bazel-out/local-opt/genfiles/external/re2 -isystem external/eigen_archive -isystem bazel-out/local-opt/genfiles/external/eigen_archive -isystem external/zlib_archive/zlib-1.2.8 -isystem bazel-out/local-opt/genfiles/external/zlib_archive/zlib-1.2.8 -isystem external/org_tensorflow/third_party/gpus/cuda -isystem bazel-out/local-opt/genfiles/external/org_tensorflow/third_party/gpus/cuda -isystem external/org_tensorflow/third_party/gpus/cuda/include -isystem bazel-out/local-opt/genfiles/external/org_tensorflow/third_party/gpus/cuda/include -isystem tensorflow_serving/resources -isystem bazel-out/local-opt/genfiles/tensorflow_serving/resources -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE__=\"redacted\"' '-D__TIMESTAMP__=\"redacted\"' '-D__TIME__=\"redacted\"' -MD -MF bazel-out/local-opt/bin/tensorflow_serving/servables/tensorflow/_objs/session_bundle_factory/tensorflow_serving/servables/tensorflow/session_bundle_factory.d -c tensorflow_serving/servables/tensorflow/session_bundle_factory.cc -o bazel-out/local-opt/bin/tensorflow_serving/servables/tensorflow/_objs/session_bundle_factory/tensorflow_serving/servables/tensorflow/session_bundle_factory.o)\r\n    ERROR: /home/andy/Downloads/syntaxnet/serving/tensorflow_serving/example/BUILD:166:1: undeclared inclusion(s) in rule '//tensorflow_serving/example:parsey_api_proto':\r\n    this rule is missing dependency declarations for the following files included by 'tensorflow_serving/example/parsey_api.pb.cc':\r\n      'bazel-out/local-opt/genfiles/tensorflow_serving/example/syntaxnet/sentence.pb.h'.\r\n    Target //tensorflow_serving/example:parsey_api failed to build\r\n\r\n\r\nDo you have instructions on exactly what versions of all the components I need? Or is there any way you can come up with a script that pulls the proper revisions from git? All I want is to have something that just works and it doesn't need to be the latest versions of everything.\r\n\r\nI'm not sure if there is an error in your link but I got confused from this step.\r\n\r\n    Now checkout (in a parallel directory) tensorflow models from my fork (https://github.com/tensorflow/models, master as of today is 2a7f1c36d0e390ed289e0eeec14e1b46d11f0511).\r\n\r\nIt would be nice to have an overview tree diagram of a working configuration from all directory roots and working revisions of  each submodule specifically. Because there's nested tensorflow and syntaxnet folders everywhere I'm getting dyslexic..\r\n\r\nThanks for your hard work!"},"comment":{"url":"https://api.github.com/repos/dmansfield/parsey-mcparseface-api/issues/comments/235392983","html_url":"https://github.com/dmansfield/parsey-mcparseface-api/issues/1#issuecomment-235392983","issue_url":"https://api.github.com/repos/dmansfield/parsey-mcparseface-api/issues/1","id":235392983,"user":{"login":"dmansfield","id":662307,"avatar_url":"https://avatars.githubusercontent.com/u/662307?v=3","gravatar_id":"","url":"https://api.github.com/users/dmansfield","html_url":"https://github.com/dmansfield","followers_url":"https://api.github.com/users/dmansfield/followers","following_url":"https://api.github.com/users/dmansfield/following{/other_user}","gists_url":"https://api.github.com/users/dmansfield/gists{/gist_id}","starred_url":"https://api.github.com/users/dmansfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmansfield/subscriptions","organizations_url":"https://api.github.com/users/dmansfield/orgs","repos_url":"https://api.github.com/users/dmansfield/repos","events_url":"https://api.github.com/users/dmansfield/events{/privacy}","received_events_url":"https://api.github.com/users/dmansfield/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T20:23:02Z","updated_at":"2016-07-26T20:23:02Z","body":"Yes.  I'll try to make a build script for it.  The un-matched versions of tensorflow included by syntaxnet, serving etc. make it very difficult to use this code.  Plus the fact that each time you build it takes 40 minutes.  Let me see what I can cook up.\r\n"}}
{"actor":{"display_login":"dmansfield"}}