Tag Info

Hot answers tagged

1

To solve the issue, install the python-dev package which include the Python.h header file needed for compilation of pycrypto.: apt-get install python-dev But, you can also easily install the python-crypto package directly: apt-get install python-crypto


1

Start by reading about Debian packaging in general: https://wiki.debian.org/HowToPackageForDebian


1

Resolved the issue the package I was using for PyX was only for python3


1

The problem started when I installed Homebrew's version of python rather than the Apple version. The error was resolved by running brew uninstall python I discovered this was the solution by reading about a similar error produced by another Python program on OS X.


1

I had the same error, but found it doesn't happen reliably, sometimes it fails immediately with: IndexError: Layer [ARP] not found and sometimes it runs forever. Hint: Set count=0 in the print sniff line to have it run forever, count appears to be timeout. I had initially installed scapy from the website, but ended up doing: apt-get update apt-get ...


1

You seem to be having a number of issues, summarised below. You almost certainly should be using a port for python as noted by @mjturner, which will use the native FreeBSD OpenSSL. in csh the syntax set CC clang sets two variables named CC and clang to the empty string, you want set CC=clang, but even that won't work (see next point) simply setting a ...


1

Yaegashi's approach will work, but it won't be easy to give it on-the-fly values. The 'export' command is evaluated while the Makefile is being parsed, and sets a shell environment variable to the recipe. Then the environment variable is evaluated during execution of the 'docs' recipe. If your snippet needs to have any target-dependent variables filled in, ...


1

Related: http://stackoverflow.com/q/649246/4937930 You cannot recall a multi-line variable as is in a single recipe, it rather gets expanded to multiple recipes and causes syntax error. A possible workaround would be: export BROWSER_PYSCRIPT BROWSER := python -c "$$BROWSER_PYSCRIPT" docs: #.. compile docs $(BROWSER) docs/index.html


1

What you want can be done with chroot or maybe even lxc in debian. EDIT: You may want to use overlayfs or squashfs to make what you're doing faster(instantaneous). For that you need debootstrap and squashfs-tools. With these tools you'll able to give your users different runtime versions or archituctures to choose from. For that You need ...


1

As stated in the comment by @steven-lu , patch is missing in the os, so his solution works perfectly: yum -y install patch



Only top voted, non community-wiki answers of a minimum length are eligible