Git Product home page Git Product logo

Comments (7)

n3mo avatar n3mo commented on August 30, 2024

Apologies for the delayed response--I was traveling this past week.

I'm excited to see someone trying to build massmine on a Pi, as this has been on my own personal todo list for some time. The build script deploy.sh (despite being included in the repo) wasn't really intended for mainstream consumption. I use it to generate the pre-built binaries that are available at massmine.org, and some aspects of it (particularly the code for compiling on OS X) assume additional features unique to my machine.

If you just want to build an executable for your own Raspberry Pi, it should be much easier. From within the root folder of the cloned repo you can run:

csc massmine.scm

That will create a single executable called massmine. Put that executable on your path and you should be ready to go.

If you haven't already done so, you'll need to install the necessary Chicken packages prior to compiling massmine. That can be done with:

chicken-install clucker args openssl medea srfi-19 pathname-expand html-parser

However, if I've misunderstood and you do want to build a distributable binary bundle using (something like) the deploy.sh script, let me know and I'll be happy to help out.

Also, please share your experience (success or failure). I'm interested in your experience with both Ubuntu 16.04 and Raspberry Pi.

Cheers

from massmine.

n3mo avatar n3mo commented on August 30, 2024

Any luck? I'm hoping to close this issue but I'd prefer to get things working for you.

from massmine.

jeffehobbs avatar jeffehobbs commented on August 30, 2024

I still get a pile of cryptic errors, to be honest, while installing the Chicken packages. I've tried as the regular user and the superuser and still no.

openssl.c:33:25: fatal error: openssl/err.h: No such file or directory
compilation terminated.

Error: shell command terminated with non-zero exit status 256: 'gcc' 'openssl.c' -o 'openssl.o' -c  -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -DPIC -DC_SHARED -I"/usr/include/chicken"

Error: shell command failed with nonzero exit status 256:

  '/usr/bin/csc' -feature compiling-extension -setup-mode    -O2 -d0 -s -j openssl openssl.scm -lssl -lcrypto


Error: shell command terminated with nonzero exit code
17920
"'/usr/bin/csi' -bnq -setup-mode -e \"(require-library setup-api)\" -e \"(import...
jeff@raspberry1:~/massmine$ 

from massmine.

n3mo avatar n3mo commented on August 30, 2024

I believe this error is triggered during the installation of the openssl egg. I believe to build successfully, you'll need to install the openssl development libraries (Ubuntu package libssl-dev) in your system beforehand. It should be available for your version of Ubuntu:

sudo apt-get install libssl-dev

Assuming that works, try building massmine again. It should resolve at least the current error you're getting...

from massmine.

jeffehobbs avatar jeffehobbs commented on August 30, 2024

Hey! THAT WORKED. Tested and verified with Google Trends API call. With libssl-dev and the above chicken-install packages, Massmine compiles fine on the Raspberry Pi/Ubuntu 16.04.

from massmine.

jeffehobbs avatar jeffehobbs commented on August 30, 2024

(Thanks, man!)

from massmine.

n3mo avatar n3mo commented on August 30, 2024

Excellent news! I'm glad to hear that we got it working, and that it seems to be running on your setup. I have some new data sources for massmine in the works for the near future, and I'm working on a tool (tentatively called mmtool) that provides both command line AND and a web-app-style graphical interface for both collecting data with massmine, and exploring/analyzing the results.

I'll update the build instructions to include libssl-dev. Thanks for the feedback-- I hope the tool proves to be useful for you :)

from massmine.

Related Issues (15)

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.