Opened at 2009-08-16T23:22:55Z
Last modified at 2009-08-17T02:59:43Z
#27 new defect
Pycryptopp Gives Cryptic (pun intended) error message when it can't find g++
Reported by: | arch_o_median | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Version: | 0.5.1 | Keywords: | |
Cc: | Launchpad Bug: |
Description (last modified by zooko)
The following was generated by: python setup.py install:
Running pycryptopp-0.5.15/setup.py -q bdist_egg --dist-dir /tmp/easy_install-p2hE68/pycryptopp-0.5.15/egg-dist-tmp-8gF_HB darcs failed: Not a repository: . (./_darcs/inventory: openBinaryFile: does not exist (No such file or directory)) setup.py darcsver: Failure from attempt to find version tags with 'darcs changes', and pycryptopp/_version.py already exists, so leaving it alone. gcc: error trying to exec 'cc1plus': execvp: No such file or directory error: Setup script exited with error: command 'gcc' failed with exit status 1
Change History (2)
comment:1 Changed at 2009-08-17T02:56:43Z by zooko
- Description modified (diff)
comment:2 Changed at 2009-08-17T02:59:43Z by zooko
http://allmydata.org/pipermail/tahoe-dev/2009-August/002630.html
This means you have no C++ compiler. On Debian/Ubuntu?, sudo apt-get install g++. We can close this ticket if we can extend pycryptopp's setup.py to catch this error and emit a clearer error message like "Error: no C++ compiler found".
Another improvement would be to generate binary eggs of pycryptopp for more platforms, including Linux. Then it would not attempt to build it from source, and therefore it would not require a C++ compiler.
edited the initial comment to escape from wiki formatting