bnosac / udpipe

R package for Tokenization, Parts of Speech Tagging, Lemmatization and Dependency Parsing Based on the UDPipe Natural Language Processing Toolkit
https://bnosac.github.io/udpipe/en
Mozilla Public License 2.0
209 stars 33 forks source link

Installation failing on Raspberry pi #71

Closed Shyamniper closed 4 years ago

Shyamniper commented 4 years ago

Installation is failing with following error: Error: package or namespace load failed for ‘udpipe’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/home/pi/R/arm-unknown-linux-gnueabihf-library/3.5/udpipe/libs/udpipe.so': /home/pi/R/arm-unknown-linux-gnueabihf-library/3.5/udpipe/libs/udpipe.so: undefined symbol: __atomic_compare_exchange_8 Error: loading failed Execution halted ERROR: loading failed

jwijffels commented 4 years ago

I have no experience with that operating system. Cran or rhub also does not have it. You will probably have more help by asking ln raspberry pi sites for undefined symbol: __atomic_compare_exchange_8 Related to c++ compilation of c++11 code and show them the compilation trace

Shyamniper commented 4 years ago

Modifying the Makevars file with PKG_LIBS = -pthread -latomic yielded successful installation may be this can help other users.

Many thanks for developing this wonderful package

jwijffels commented 4 years ago

Interesting! Thanks for the link to the configure script. I would also be interested to know what you plan to use udpipe for on that Raspberry Pi device given that it only has limited amount of RAM. Any particular use case you had in mind?

Shyamniper commented 4 years ago

I am just learning thing right now , I am working with pi cluster surprisingly cluster of those tiny 4GB pi's allow me to do many things!

jwijffels commented 4 years ago

Go for it!