Coder Social home page Coder Social logo

problem installing.... about brenda HOT 3 OPEN

jamesyonan avatar jamesyonan commented on July 30, 2024
problem installing....

from brenda.

Comments (3)

baden03 avatar baden03 commented on July 30, 2024 2

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.

from brenda.

diramazioni avatar diramazioni commented on July 30, 2024

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/

from brenda.

rajeshbk042 avatar rajeshbk042 commented on July 30, 2024

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....**

from brenda.

Related Issues (20)

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.