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

problem installing.... #5

Open
capture10 opened this issue Jan 27, 2014 · 3 comments
Open

problem installing.... #5

capture10 opened this issue Jan 27, 2014 · 3 comments

Comments

@capture10
Copy link

hi

I'm getting this error message when I run brenda/setup.py (maxosx10.9). I don't think I have gcc4.0?

gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch ppc -arch x86_64 -g -O2 -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c paracurl/paracurl.c -o build/temp.macosx-10.5-fat3-2.7/paracurl/paracurl.o
unable to execute gcc-4.0: No such file or directory
error: command 'gcc-4.0' failed with exit status 1

It seems it can create the work queue etc. but nothing will actually render! Any help would be appreciated!
thx

@diramazioni
Copy link

There is nothing specific to brenda.
I'm on linux so don't know on macos, but ensure you have the build tools installed.
Look here https://github.com/kennethreitz/osx-gcc-installer/

@baden03
Copy link

baden03 commented May 9, 2014

I also had the following trouble getting Brenda to install on OS X 10.9.2 (Mavericks).

python setup.py install

returns with the following errors:

clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
error: command 'cc' failed with exit status 1

I then tried on Ubuntu. After installing:
boto

sudo apt-get install python-boto

build essentials

sudo apt-get install build-essential

and downloading and trying to install the brenda python setup.py install i get the following errors on Ubuntu:

paracurl/paracurl.c:35:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1

Update 1:
I solved the Python.h: No such file or directory by installing python-dev

sudo apt-get install python-dev

Sadly, now the setup.py is returning the following error:

paracurl/paracurl.c:36:23: fatal error: curl/curl.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1

...the adventure continues.

Update 2: HUZZAH
it seems another unlisted requirement is that the the OpenSSL variant of curl be installed:

sudo apt-get install libcurl4-openssl-dev

and finally... the install script needs to be run with sudo:

sudo python setup.py install

This resolved the install issues on Ubuntu... Will try on an older version of Mac OSX in a few weeks.

@rajeshbk042
Copy link

Hi,

**1.**I am new to Brenda, I have cloned the brenda project and activated virtual with boto, after that I ran this command,
brenda$ python setup.py install
running install
running build
running build_py
running build_ext
building 'paracurl' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c paracurl/paracurl.c -o build/temp.linux-x86_64-2.7/paracurl/paracurl.o
paracurl/paracurl.c:36:23: fatal error: curl/curl.h: No such file or directory
#include <curl/curl.h>
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

2. To resolve issue that raised above , I used this command,

sudo apt-get install libcurl4-openssl-dev

and again getting some dependency error also

**" sudo apt-get install libcurl3-openssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libcurl4-openssl-dev' instead of 'libcurl3-openssl-dev'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libcurl4-openssl-dev : Depends: libcurl3 (= 7.22.0-3ubuntu4.15) but 7.35.0-1ubuntu2.5 is to be installed
Depends: libidn11-dev but it is not installable
Depends: libkrb5-dev but it is not going to be installed
Depends: libldap2-dev but it is not going to be installed
Depends: librtmp-dev but it is not installable
E: Unable to correct problems, you have held broken packages."**

3. After followed this http://packages.ubuntu.com/trusty/i386/libcurl4-openssl-dev/download, but no use
**
Please help me to fix these things....**

gwhobbs pushed a commit to gwhobbs/brenda that referenced this issue Aug 23, 2020
* Set up CI with Azure Pipelines

[skip ci]

* Update pipeline to install brenda. Update README
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

4 participants