StarCluster - Mailing List Archive

Re: RuntimeError: autoconf error on install

From: <(no>
Date: Sat, 16 Jun 2012 15:52:45 +0100

Thanks Garrison. That step, plus installing some necessary libraries
did the trick.

I thought anyone else who is completely unfamiliar with Linux/EC2 etc.
may wish to know the steps I took at the command prompt (very basic
stuff.. but took me a while to figure it out as a newbie):

sudo su //puts linux into root
environment mode
yum groupinstall "Development Tools" //installs gcc/g++ and some
other stuff
yum groupinstall "Development Libraries" //installs some libraries you need
easy_install StarCluster //installs StarCluster

job done!

cheers,
adam

Quoting "Vaughan, Garrison" <grvaughan_at_email.radford.edu>:

> Hello Adam,
>
> Here's your issue:
> configure: error: no acceptable C compiler
>
> Just install a C compiler (like gcc), and run the install again.
>
> Cheers,
> Garrison
>
> On Jun 16, 2012, at 9:29 AM, "aseraf01_at_dcs.bbk.ac.uk"
> <aseraf01_at_dcs.bbk.ac.uk> wrote:
>
>> Hello all, I am very new to python, EC2, MPI and Linux (so..
>> everything then!).
>>
>> I'm trying to install StarCluster on a t1.micro EC2 instance booted
>> with the standard Amazon Linux AMI (64-bit). I execute the
>> easy_install utility, but installation fails, the full error message
>> is below.
>>
>> Would anyone know where I'm going wrong? Could this be because I have
>> not setup the EC2 instance correctly? I think this is going to be
>> something really fundamental that I just haven't grasped about EC2.
>>
>> kind regards,
>> adam
>>
>> error messages:
>> [ec2-user_at_ip-10-244-30-27 StarCluster-0.93.3]$ sudo easy_install StarCluster
>> Searching for StarCluster
>> Best match: StarCluster 0.93.3
>> Processing StarCluster-0.93.3-py2.6.egg
>> StarCluster 0.93.3 is already the active version in easy-install.pth
>> Installing starcluster script to /usr/bin
>> Installing starcluster script to /usr/bin
>>
>> Using /usr/lib/python2.6/site-packages/StarCluster-0.93.3-py2.6.egg
>> Processing dependencies for StarCluster
>> Searching for pycrypto>=2.1,!=2.4
>> Reading http://pypi.python.org/simple/pycrypto/
>> Reading http://pycrypto.sourceforge.net
>> Reading http://www.amk.ca/python/code/crypto
>> Reading http://www.pycrypto.org/
>> Best match: pycrypto 2.6
>> Downloading
>> http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.6.tar.gz
>> Processing pycrypto-2.6.tar.gz
>> Running pycrypto-2.6/setup.py -q bdist_egg --dist-dir
>> /tmp/easy_install-ODZRs7/pycrypto-2.6/egg-dist-tmp-XfuN77
>> configure: error: in `/tmp/easy_install-ODZRs7/pycrypto-2.6':
>> configure: error: no acceptable C compiler found in $PATH
>> See `config.log' for more details
>> Traceback (most recent call last):
>> File "/usr/bin/easy_install", line 9, in <module>
>> load_entry_point('distribute==0.6.10', 'console_scripts',
>> 'easy_install')()
>> File
>> "/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 1715, in main
>> with_ei_usage(lambda:
>> File
>> "/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 1696, in with_ei_usage
>> return f()
>> File
>> "/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 1719, in <lambda>
>> distclass=DistributionWithoutHelpCommands, **kw
>> File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup
>> dist.run_commands()
>> File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands
>> self.run_command(cmd)
>> File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
>> cmd_obj.run()
>> File
>> "/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 236, in run
>> self.easy_install(spec, not self.no_deps)
>> File
>> "/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 472, in easy_install
>> return self.install_item(spec, dist.location, tmpdir, deps)
>> File
>> "/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 507, in install_item
>> self.process_distribution(spec, dists[0], deps, "Using")
>> File
>> "/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 545, in process_distribution
>> [requirement], self.local_index, self.easy_install
>> File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 538,
>> in resolve
>> dist = best[req.key] = env.best_match(req, self, installer)
>> File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 780,
>> in best_match
>> return self.obtain(req, installer) # try and download/install
>> File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 792,
>> in obtain
>> return installer(requirement)
>> File
>> "/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 472, in easy_install
>> return self.install_item(spec, dist.location, tmpdir, deps)
>> File
>> "/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 502, in install_item
>> dists = self.install_eggs(spec, download, tmpdir)
>> File
>> "/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 681, in install_eggs
>> return self.build_and_install(setup_script, setup_base)
>> File
>> "/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 958, in build_and_install
>> self.run_setup(setup_script, setup_base, args)
>> File
>> "/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py",
>> line 947, in run_setup
>> run_setup(setup_script, args)
>> File "/usr/lib/python2.6/site-packages/setuptools/sandbox.py", line
>> 29, in run_setup
>> lambda: execfile(
>> File "/usr/lib/python2.6/site-packages/setuptools/sandbox.py", line
>> 70, in run
>> return func()
>> File "/usr/lib/python2.6/site-packages/setuptools/sandbox.py", line
>> 31, in <lambda>
>> {'__file__':setup_script, '__name__':'__main__'}
>> File "setup.py", line 456, in <module>
>>
>> File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup
>> dist.run_commands()
>> File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands
>> self.run_command(cmd)
>> File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
>> cmd_obj.run()
>> File
>> "/usr/lib/python2.6/site-packages/setuptools/command/bdist_egg.py",
>> line 174, in run
>> cmd = self.call_command('install_lib', warn_dir=0)
>> File
>> "/usr/lib/python2.6/site-packages/setuptools/command/bdist_egg.py",
>> line 161, in call_command
>> self.run_command(cmdname)
>> File "/usr/lib64/python2.6/distutils/cmd.py", line 333, in run_command
>> self.distribution.run_command(command)
>> File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
>> cmd_obj.run()
>> File
>> "/usr/lib/python2.6/site-packages/setuptools/command/install_lib.py",
>> line 20, in run
>> self.build()
>> File "/usr/lib64/python2.6/distutils/command/install_lib.py", line
>> 119, in build
>> self.run_command('build_ext')
>> File "/usr/lib64/python2.6/distutils/cmd.py", line 333, in run_command
>> self.distribution.run_command(command)
>> File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
>> cmd_obj.run()
>> File "setup.py", line 251, in run
>>
>> File "/usr/lib64/python2.6/distutils/cmd.py", line 333, in run_command
>> self.distribution.run_command(command)
>> File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
>> cmd_obj.run()
>> File "setup.py", line 278, in run
>>
>> RuntimeError: autoconf error
>>
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>>
>>
>> _______________________________________________
>> StarCluster mailing list
>> StarCluster_at_mit.edu
>> http://mailman.mit.edu/mailman/listinfo/starcluster
>>
>
>
>
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Received on Sat Jun 16 2012 - 10:49:06 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject