TurboParser
TurboParser copied to clipboard
make problem of TurboParser
i just installed deps by ./install_deps and then ./configure && make && make install i got this:
g++ -g -O2 -o TurboTagger SequenceFeatures.o SequenceInstanceNumeric.o SequenceWriter.o SequenceDecoder.o SequencePipe.o SequenceOptions.o TokenDictionary.o SequenceDictionary.o SequenceInstance.o SequenceReader.o SequencePart.o TurboTagger.o Alphabet.o Dictionary.o Reader.o Parameters.o Pipe.o Writer.o Options.o AlgUtils.o SerializationUtils.o StringUtils.o TimeUtils.o -L../../deps/local/lib -lad3 -lgflags -lglog
TokenDictionary.o: In function DependencyInstance::Copy()': TurboParser-2.2.0/src/tagger/../parser/DependencyInstance.h:34: undefined reference to
DependencyInstance::Initialize(std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::vector<std::string, std::allocatorstd::string >, std::allocator<std::vector<std::string, std::allocatorstd::string > > > const&, std::vector<std::string, std::allocatorstd::string > const&, std::vector<int, std::allocator
Anybody can help in this?
Is this a fresh install? If so, can you please provide more details about the OS and compiler version?
2015-11-04 11:09 GMT+00:00 Abdullah [email protected]:
i just installed deps by ./install_deps and then ./configure && make && make install i got this:
g++ -g -O2 -o TurboTagger SequenceFeatures.o SequenceInstanceNumeric.o SequenceWriter.o SequenceDecoder.o SequencePipe.o SequenceOptions.o TokenDictionary.o SequenceDictionary.o SequenceInstance.o SequenceReader.o SequencePart.o TurboTagger.o Alphabet.o Dictionary.o Reader.o Parameters.o Pipe.o Writer.o Options.o AlgUtils.o SerializationUtils.o StringUtils.o TimeUtils.o -L../../deps/local/lib -lad3 -lgflags -lglog TokenDictionary.o: In function DependencyInstance::Copy()': TurboParser-2.2.0/src/tagger/../parser/DependencyInstance.h:34: undefined reference toDependencyInstance::Initialize(std::vector > const&, std::vector > const&, std::vector > const&, std::vector > const&, std::vector >, std::allocator > > > const&, std::vector > const&, std::vector > const&)' collect2: error: ld returned 1 exit status Makefile:271: recipe for target 'TurboTagger' failed make[2]: *** [TurboTagger] Error 1 make[2]: Leaving directory 'TurboParser-2.2.0/src/tagger' Makefile:314: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory 'TurboParser-2.2.0' Makefile:254: recipe for target 'all' failed make: *** [all] Error 2
Anybody can help in this?
— Reply to this email directly or view it on GitHub https://github.com/andre-martins/TurboParser/issues/18.
Linux version 3.19.5-200.fc21.x86_64 ([email protected]) (gcc version 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC) ) #1 SMP Mon Apr 20 19:51:56 UTC 2015 it's fedora 21
g++ --version g++ (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6) Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
And was this a fresh install? I.e. the folder where you installed TurboParser was empty by the time you installed it? Or was this a reinstallation of a previous version?
Andre'
2015-11-05 10:04 GMT+00:00 Abdullah [email protected]:
Linux version 3.19.5-200.fc21.x86_64 ( [email protected]) (gcc version 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC) ) #1 https://github.com/andre-martins/TurboParser/pull/1 SMP Mon Apr 20 19:51:56 UTC 2015 it's fedora 21
g++ --version g++ (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6) Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
— Reply to this email directly or view it on GitHub https://github.com/andre-martins/TurboParser/issues/18#issuecomment-154014050 .
i tried fresh install and reinstallation of a previous version
Hi Abdullah,
Unfortunately I could not reproduce your problem :-(
In any case, we just released a new version of TurboParser (2.3.0), maybe you can try with these newer version?
Thanks,
André
2015-11-05 10:34 GMT+00:00 Abdullah [email protected]:
i tried fresh install and reinstallation of a previous version
— Reply to this email directly or view it on GitHub https://github.com/andre-martins/TurboParser/issues/18#issuecomment-154022911 .
Hi, i have downloaded the latest zip from master, ./configure give me: configure: creating ./config.status config.status: creating Makefile config.status: creating src/tagger/Makefile config.status: creating src/parser/Makefile config.status: creating src/semantic_parser/Makefile config.status: error: cannot find input file: `src/entity_recognizer/Makefile.in'
config.status: creating Makefile config.status: creating src/tagger/Makefile config.status: creating src/parser/Makefile config.status: creating src/semantic_parser/Makefile config.status: creating src/entity_recognizer/Makefile config.status: error: cannot find input file: `src/coreference_resolver/Makefile.in'
i have touched empty files and start configure and build
g++ -g -O2 -std=c++0x -o TurboTagger TaggerFeatures.o TaggerOptions.o TaggerDictionary.o TaggerPipe.o SequenceInstanceNumeric.o SequenceWriter.o SequenceDecoder.o SequencePipe.o SequenceOptions.o TokenDictionary.o SequenceDictionary.o SequenceInstance.o SequenceReader.o SequencePart.o Alphabet.o Dictionary.o Reader.o Parameters.o Pipe.o Writer.o Options.o AlgUtils.o SerializationUtils.o StringUtils.o TimeUtils.o TurboTagger.o -L../../deps/local/lib -lad3 -lgflags -lglog
TokenDictionary.o: In function EntityInstance::Copy()': /turboparser/TurboParser-master/src/tagger/../entity_recognizer/EntityInstance.h:32: undefined reference to
EntityInstance::Initialize(std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::string, std::allocatorstd::string > const&)'
TokenDictionary.o: In function DependencyInstance::Copy()': /turboparser/TurboParser-master/src/tagger/../parser/DependencyInstance.h:34: undefined reference to
DependencyInstance::Initialize(std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::vector<std::string, std::allocatorstd::string >, std::allocator<std::vector<std::string, std::allocatorstd::string > > > const&, std::vector<std::string, std::allocatorstd::string > const&, std::vector<int, std::allocator
what is your linux distribution? and g++ version?
Hi Abdullah,
I just committed a new version to the repo adding the missing Makefile.in files. Can you pull the new version and try again a fresh install?
Thanks,
André
2015-11-10 13:31 GMT+00:00 Abdullah [email protected]:
what is your linux distribution? and g++ version?
— Reply to this email directly or view it on GitHub https://github.com/andre-martins/TurboParser/issues/18#issuecomment-155419738 .
./configure: line 4287: syntax error near unexpected token -std=c++0x,' ./configure: line 4287:
AX_CHECK_COMPILE_FLAG(-std=c++0x, CXXFLAGS="$CXXFLAGS -std=c++0x")'
Makefile:407: recipe for target 'config.status' failed
make: *** [config.status] Error 2
Can you type
git diff configure
to see if your configure file differs from the repo? That error should not occur if you're using the configure in the repo.
André
2015-11-10 14:54 GMT+00:00 Abdullah [email protected]:
./configure: line 4287: syntax error near unexpected token -std=c++0x,' ./configure: line 4287:AX_CHECK_COMPILE_FLAG(-std=c++0x, CXXFLAGS="$CXXFLAGS -std=c++0x")' Makefile:407: recipe for target 'config.status' failed make: *** [config.status] Error 2
— Reply to this email directly or view it on GitHub https://github.com/andre-martins/TurboParser/issues/18#issuecomment-155440977 .
i have got this by fetching the latest TurboParser and build it as clean version
g++ -DHAVE_CONFIG_H -I. -I../.. -I../util -I../classifier -I../sequence -I../entity_recognizer -I../parser -I../../deps/local/include -I/ad3 -I../../deps/local/include -I/ad3 -g -O2 -std=c++0x -MT TurboTagger.o -MD -MP -MF .deps/TurboTagger.Tpo -c -o TurboTagger.o TurboTagger.cpp
mv -f .deps/TurboTagger.Tpo .deps/TurboTagger.Po
g++ -g -O2 -std=c++0x -o TurboTagger TaggerFeatures.o TaggerOptions.o TaggerDictionary.o TaggerPipe.o SequenceInstanceNumeric.o SequenceWriter.o SequenceDecoder.o SequencePipe.o SequenceOptions.o TokenDictionary.o SequenceDictionary.o SequenceInstance.o SequenceReader.o SequencePart.o Alphabet.o Dictionary.o Reader.o Parameters.o Pipe.o Writer.o Options.o AlgUtils.o SerializationUtils.o StringUtils.o TimeUtils.o TurboTagger.o -L../../deps/local/lib -lad3 -lgflags -lglog
TokenDictionary.o: In function EntityInstance::Copy()': turboparser/TurboParser/src/tagger/../entity_recognizer/EntityInstance.h:32: undefined reference to
EntityInstance::Initialize(std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::string, std::allocatorstd::string > const&)'
TokenDictionary.o: In function DependencyInstance::Copy()': turboparser/TurboParser/src/tagger/../parser/DependencyInstance.h:34: undefined reference to
DependencyInstance::Initialize(std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::vector<std::string, std::allocatorstd::string >, std::allocator<std::vector<std::string, std::allocatorstd::string > > > const&, std::vector<std::string, std::allocatorstd::string > const&, std::vector<int, std::allocator
I've also fetched the latest TurboParser and followed the compiling steps and it built successfully. Can you provide more information and share a link (e.g., pastebin) for your complete configure & make log ?
Hello. I am adding a patebin link http://pastebin.com/i5Te2aD1. Please help me
I get the same error as OP on Ubuntu 15.04, g++ version 4.9.2, both for TurboParser 2.2.0 and 2.3.0.
I didn't try in Ubuntu 15.10, but my last commit might have fixed that. Can you check again?
2016-04-20 3:52 GMT+01:00 Benjamin Hipple [email protected]:
I have identical errors as OP, with TurboParser 2.2.0 and the latest TurboParser from the master branch (08e81ea https://github.com/andre-martins/TurboParser/commit/08e81ea366eba25a16263896671b8ec49e8c019d )
Ubuntu 15.10 g++ version 5.2.1
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/andre-martins/TurboParser/issues/18#issuecomment-212225412
Just an FYI, I'm also a Ubuntu user running Ubuntu 15.10. I ran across the same problems using the tar.gz file from CMU's website. However, after cloning a clean copy of your repository, I was able to successfully install using the install-ubuntu.sh file.
Same, FYI, Ubuntu 16.10, same problem occurred on make, both in version 2.2 & 2.3, latest pull fixes it. If you want some logs, let me know.