2351: need help with "error: Setup script exited with error: src/config.h: No such file or directory"
- Duplicate
- Review Board
bks****@gmai***** (Google Code) (Is this you? Claim this profile.) | |
Oct. 26, 2011 | |
[root@test ~]# easy_install ReviewBoard Searching for ReviewBoard Best match: ReviewBoard 1.6.1 Processing ReviewBoard-1.6.1-py2.4.egg ReviewBoard 1.6.1 is already the active version in easy-install.pth Installing rb-site script to /usr/bin Installing rbssh script to /usr/bin Using /usr/lib/python2.4/site-packages/ReviewBoard-1.6.1-py2.4.egg Processing dependencies for ReviewBoard Searching for pycrypto>=2.1 Reading http://downloads.reviewboard.org/mirror/ Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.6/ Reading http://pypi.python.org/simple/pycrypto/ Reading http://www.pycrypto.org/ Reading http://pycrypto.sourceforge.net Reading http://www.amk.ca/python/code/crypto Best match: pycrypto 2.4 Downloading http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.4.tar.gz Processing pycrypto-2.4.tar.gz Running pycrypto-2.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-M6LDaI/pycrypto-2.4/egg-dist-tmp-CGaf2R error: Setup script exited with error: src/config.h: No such file or directory Can you please provide me the solution for above error. Thanks in advanced
This is a bug with the latest PyCrypto release. You can download an older version manually and install that if this is blocking you.
hi, thank you for your quick response. i installed pycrypto-2.1.0 with following steps:
Hi, Thank you for your quick response. i am installing reviewboard in centos 5.5 following the steps in link http://www.reviewboard.org/docs/manual/dev/admin/installation/linux/ I get error while install reviewboard due to pycrypto. so i installed lower version of pycrypto instead of latest version i installed pycrypto-2.1.0 with following steps: # tar xzvf pycrypto-2.1.0.tar.gz # cd pycrypto-2.1.0 # python setup.py install after this process i install reviewboard with following command: # easy_install reviewboard i get following information with error: Searching for reviewboard Best match: ReviewBoard 1.6.1 Processing ReviewBoard-1.6.1-py2.4.egg ReviewBoard 1.6.1 is already the active version in easy-install.pth Installing rb-site script to /usr/bin Installing rbssh script to /usr/bin Using /usr/lib/python2.4/site-packages/ReviewBoard-1.6.1-py2.4.egg Processing dependencies for reviewboard Searching for pycrypto>=2.1 Reading http://downloads.reviewboard.org/mirror/ Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.6/ Reading http://pypi.python.org/simple/pycrypto/ Reading http://www.pycrypto.org/ Reading http://pycrypto.sourceforge.net Reading http://www.amk.ca/python/code/crypto Best match: pycrypto 2.4 Downloading http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.4.tar.gz Processing pycrypto-2.4.tar.gz Running pycrypto-2.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-qqC87M/pycrypto-2.4/egg-dist-tmp-mksUIY error: Setup script exited with error: src/config.h: No such file or directory which steps i am missing/error while install reviewboard. also i tried to install MYSQL-python with following command # easy_install MYSQL-python i get following information with error: Searching for MYSQL-python Reading http://pypi.python.org/simple/MYSQL-python/ Reading http://sourceforge.net/projects/mysql-python Best match: MySQL-python 1.2.3 Downloading http://download.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3.tar.gz Processing MySQL-python-1.2.3.tar.gz Running MySQL-python-1.2.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-si6T7J/MySQL-python-1.2.3/egg-dist-tmp-qUMonU warning: no files found matching 'MANIFEST' warning: no files found matching 'ChangeLog' warning: no files found matching 'GPL' /usr/bin/ld: cannot find -lssl collect2: ld returned 1 exit status error: Setup script exited with error: command 'gcc' failed with exit status 1 for your information i installed gcc package with following command: # yum install gcc* can you please help me to trace out error and i can successfully install reviewboard without any error. Thank you for your kind support and cooperation.
This is infact blocking our installation process. Primarily if we do a setup.py from the Reviewboard package, it fails at the pycrypto. I am not sure what next to install, What are the other dependencies thats installed etc. Can you please help us out here. If we want to remove the pycrypto installations alone from the normal setup.py on the Reviewboard, can we do that, because it hinders the normal flow.
Same issues. For what it's worth: easy_install pip pip install ReviewBoard=1.5.6
On Debian: apt-get install python-crypto Installer seems to detect that crypto is happy, and skips it. :) Heh.
hi all, i install reviewboard with following steps: # easy_install pip # pip install ReviewBoard it install successfully reviewboard. but it give error when i install site with following command #rb-site install /var/www/reviewboard Error: Traceback (most recent call last): File "/usr/bin/rb-site", line 7, in ? sys.exit( File "/usr/lib/python2.4/site-packages/reviewboard/cmdline/rbsite.py", line 1747, in main command.run() File "/usr/lib/python2.4/site-packages/reviewboard/cmdline/rbsite.py", line 1274, in run self.print_introduction() File "/usr/lib/python2.4/site-packages/reviewboard/cmdline/rbsite.py", line 1341, in print_introduction page = ui.page("Welcome to the Review Board site installation wizard") File "/usr/lib/python2.4/site-packages/reviewboard/cmdline/rbsite.py", line 950, in page image = gtk.image_new_from_file(logo_file) AttributeError: 'module' object has no attribute 'image_new_from_file' can you please help me with above error.
it is not installed and not mentioned in site of reviewboard to install pygtk, due to absence of this package i am getting error while installing site? can you suggest me which version do i need to install and how can i install it. thanks.
You have some package identifying itself as gtk, which is causing the problem. You don't need it, though. If it weren't installed, it would fall back to the console mode, which you can invoke directly by passing --console to rb-site.
sorry to say, i didnt get any idea as u mentioned, when i run rb-site --console remotely, it says failed to execute Xmanager; when i run rb-site --console locally in GUI mode it give options for help, but didnt get any idea about it to resolve the problem regarding site to create. which extra package or module do i need to install so i can build site, as i installed reviewboard successfully with "pip install ReviewBoard" (pycrypto-2.4 and ReviewBoard-1.6.1)
You need to provide --console along with whatever other rb-site options you're using (such as install). For example: rb-site install --console. You don't need to install anything else. It's trying to use gtk because that's installed, but it's not a compatible version. You either need to remove the pygtk module, or use --console.
thank you for your kind support and quick response. now i installed site with "rb-site install /var/www/reviewboard --console" above command execute in GUI mode but in remotely, it show failed to execute Xmanager. cannot install site remotely? if i have another issue, i will again knock your door. thanks a lot!