GithubHelp home page GithubHelp logo

Install error on Debian about pysubnettree HOT 2 CLOSED

zeek avatar zeek commented on September 14, 2024
Install error on Debian

from pysubnettree.

Comments (2)

jsiwek avatar jsiwek commented on September 14, 2024

A guess is that some mismatch in your environment is causing that flag to be added (I don't find "-fstack-protector-strong" anywhere in the pysubnettree sources). Is it set in CFLAGS or CXXFLAGS in your environment (check output of env command) ?

Or do you happen to use or have custom compiler or python versions on your system? E.g. if python was built with a newer compiler version that did support -fstack-protector-strong, but it's now using an older compiler here, that might be a reason.

Trying this might be a way to override compile flags:

BASECFLAGS="" OPT="" CFLAGS="" CXXFLAGS="" python2.7 setup.py install

Another idea would be to check the output of:

python2.7 -c "import sysconfig; print sysconfig.get_config_vars()"

and see if -fstack-protector-strong shows up anywhere, then try manually overriding it by putting your own code in setup.py.

from pysubnettree.

zzxzshiyf avatar zzxzshiyf commented on September 14, 2024

Thanks,i just upgraded my gcc version to 4.8 and then solved this problem.Thanks again for your reply.

from pysubnettree.

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.