ubuntu ImportError: cannot import name MAXREPEAT


Question Upgrade to 13.04 has totally messed my system up . I am having this issue when running ./manage.py runserver Traceback (most recent call last): File “./manage.py”, line 8, in <module> from django.core.management import execute_from_command_line File “/home/rats/rats/local/lib/python2.7/site-packages/django/core/management /init.py”, line 4, in <module> from optparse import OptionParser, NO_DEFAULT File “/usr/lib/python2.7/optparse.py”, line 77, in <module> import textwrap File “/usr/lib/python2.7/textwrap.py”, line 10, in <module> import string, re File “/usr/lib/python2.7/string.py”, line 83, in <module> import re as _re File “/home/rats/rats/lib/python2.…
Read more ⟶

gcc /usr/bin/ld: error: cannot find -lncurses


Question I am running Ubuntu 12.04 and I'm currently working on a project involving C, OpenGL, a teapot and input methods. The problem started when I decided to have arrow keys as input. I checked to see the key codes for arrow keys but all of the arrows return 0. I looked up how to get this to work and I found conio.h. Unfortunately, it is an old DOS header that is not available for Linux.…
Read more ⟶

When gcc-11 will appear in Ubuntu repositories? [closed]


Question Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. </div> This question does not appear to be about programming within the scope defined in the help center. Closed 1 year ago. The community reviewed whether to reopen this question last year and left it closed: Original close reason(s) were not resolved Improve this question GCC 11.1 was finally released yesterday. However, now it can only be built from source, so I'm wondering when we can get it with apt?…
Read more ⟶

To enable extensions, verify that they are enabled in those .ini files - Vagrant/Ubuntu/Magento 2.0.2


Question When installing Magento 2.0.2 via composer getting this error: Problem 1 - Installation request for magento/product-enterprise-edition 2.0.2 -> satisfiable by magento/product-enterprise-edition[2.0.2]. - magento/product-enterprise-edition 2.0.2 requires ext-gd * -> the requested PHP extension gd is missing from your system. To enable extensions, verify that they are enabled in those .ini files: /etc/php5/cli/php.ini /etc/php5/cli/conf.d/05-opcache.ini /etc/php5/cli/conf.d/10-pdo.ini /etc/php5/cli/conf.d/20-curl.ini /etc/php5/cli/conf.d/20-imap.ini /etc/php5/cli/conf.d/20-json.ini /etc/php5/cli/conf.d/20-mcrypt.ini /etc/php5/cli/conf.d/20-pdo_pgsql.ini /etc/php5/cli/conf.d/20-pgsql.ini /etc/php5/cli/conf.d/20-pspell.ini /etc/php5/cli/conf.d/20-readline.ini You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.…
Read more ⟶

openssl command line to verify the signature


Question Hi I have generated a key pair and used the private key to generate a signature. openssl rsautl -sign -in helloworld.txt -inkey aa.pem -out sig However I am unable to verify the signature with my public key: openssl rsautl -verify -in helloworld.txt -inkey aa.pub -sigfile sig I know there -sigfile is deprecated. and some of the online doc from openssl.org is wrong. Whats the command I should use to verify the sig with my public key?…
Read more ⟶

What package I should install for 'pcre-devel'?


Question Closed. This question is off-topic. It is not currently accepting answers. </div> Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 11 years ago. Improve this question </a> I need to install the pcre-devel package to compile lighttpd on Ubuntu: configure: error: pcre-config not found, install the pcre-devel package or build with --without-pcre Can you please tell me how to do that? Answer Try using apt-cache search, e.…
Read more ⟶

Linux headers are consuming a lot of disk space on the EC2 machine. Is it safe to manually delete the headers with rm command?


Question EC2 machine on aws is filled with multiple linux headers and currently / is 100% full on disk space. I ran commands like apt-get autoremove but it is throwing an error saying No apport report written because the error message indicates a disk full error dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Can I remove the old headers by the rm command? Is it safe? and if I remove with rm command, should I do any clean up after that?…
Read more ⟶