Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make.py script does not work on Ubuntu with gcc #1

Open
chvandorp opened this issue Jan 19, 2018 · 0 comments
Open

make.py script does not work on Ubuntu with gcc #1

chvandorp opened this issue Jan 19, 2018 · 0 comments

Comments

@chvandorp
Copy link

The make.py script did not work for me on two places:

  1. in the download_boost function, the tar.bz2 file is unpacked with
    'tar xzf {0}'.format(boost_filename)
    On my system, that should be tar xjf, because the z is for gzip and j is for bzip2.

  2. the compiler (gcc in my case) could not find any sqlite3 symbols, and that is because the flag -lsqlite3 is placed before the source files. gcc needs it after the source files. Hence the string {0} -O3 -lcrypto -lsqlite3 {1} {2} bin/libjson.o {3} -o bin/{4} should be replaced by {0} -O3 {1} {2} bin/libjson.o {3} -lcrypto -lsqlite3 -o bin/{4}

With these changes, everything worked fine! -- regards, Chris

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant