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

syntax error ? #14

Open
clyquan opened this issue Jan 8, 2016 · 2 comments
Open

syntax error ? #14

clyquan opened this issue Jan 8, 2016 · 2 comments

Comments

@clyquan
Copy link

clyquan commented Jan 8, 2016

I used 1.0.22 version, whether build rpm package or build directly, there are some errors as follow:

(bruce_env)[root@host02 bruce]# source bash_defs
(bruce_env)[root@host02 bruce]# cd src/bruce/client/
(bruce_env)[root@host02 client]# build --release libbruce_client.so
scons: Entering directory `/home/cquan/bruce'
File "/home/cquan/bruce/SConstruct", line 135

prog_libs = {'pthread', 'dl', 'rt'}

                      ^

SyntaxError: invalid syntax

what happened? BTW, I use centos 6.5, also follow your suggestion steps.

@dspeterson
Copy link
Contributor

Hi clyquan, thanks for the problem report. I'll take a look this weekend and see what's going on.

@dspeterson
Copy link
Contributor

I just successfully built Bruce version 1.0.22 on CentOS 6. However, if I omit doing the build from within a Python 2.7 virtualenv environment I get an error similar to yours. Did you forget to do the build from within the virtualenv environment? See https://github.com/ifwe/bruce/blob/master/doc/centos_6_5_env.md#using-python-27-inside-a-virtualenv-environment

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

2 participants