Comment #3 on issue 2351 by bks2...@gmail.com: need help with "error: Setup script exited with error: src/config.h: No such file or directory"
http://code.google.com/p/reviewboard/issues/detail?id=2351

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.

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to