Hi Tom,

yes, we use c++11 features, so you need gcc-4.8.x (exactly that version)

Cheers, Mark

On Fri, Sep 4, 2015 at 9:31 AM, Tom Tan <[email protected]> wrote:

> Hi,
>
> To compile Nupic on Linux,  is a minimum compile version required?  I have
> gcc 4.4.7 that comes with OEL 6.5 distribution.
>
> cc1plus: error: unrecognized command line option "-std=c++11"
> *WARNING* no libcapnp detected. Will download and build it from source
> now. If you have C++ Cap'n Proto installed, it may be out of date or is not
> being detected. Downloading and building libcapnp may take a while.
> fetching https://capnproto.org/capnproto-c++-0.5.1.2.tar.gz into
> /tmp/easy_install-0n27Dd/pycapnp-0.5.5/bundled
> configure: error: *** A C++ library with support for C++11 features is
> required.
> Traceback (most recent call last):
>   File "setup.py", line 108, in <module>
>     "Numenta Platform for Intelligent Computing: a machine intelligence "
>   File "/usr/local/lib/python2.7/distutils/core.py", line 151, in setup
>     dist.run_commands()
>   File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in
> run_commands
>     self.run_command(cmd)
>   File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in
> run_command
>     cmd_obj.run()
>
>
> I also tried to install binary by running “pip2.7 install nupic”, but got
> following error.
>
>     cc1plus: error: unrecognized command line option "-std=c++11"
>     *WARNING* no libcapnp detected. Will download and build it from source
> now. If you have C++ Cap'n Proto installed, it may be out of date or is not
> being detected. Downloading and building libcapnp may take a while.
>     already have /tmp/pip-build-4M8cOe/pycapnp/bundled/capnproto-c++
>     configure: error: *** A C++ library with support for C++11 features is
> required.
>     Traceback (most recent call last):
>       File "<string>", line 1, in <module>
>       File "/tmp/pip-build-4M8cOe/pycapnp/setup.py", line 168, in <module>
>         'Topic :: Communications'],
>       File "/usr/local/lib/python2.7/distutils/core.py", line 151, in setup
>         dist.run_commands()
>       File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in
> run_commands
>         self.run_command(cmd)
>       File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in
> run_command
>         cmd_obj.run()
>       File "build/bdist.linux-x86_64/egg/setuptools/command/install.py",
> line 53, in run
>       File "/usr/local/lib/python2.7/distutils/command/install.py", line
> 563, in run
>         self.run_command('build')
>       File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in
> run_command
>         self.distribution.run_command(command)
>       File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in
> run_command
>         cmd_obj.run()
>       File "/usr/local/lib/python2.7/distutils/command/build.py", line
> 127, in run
>         self.run_command(cmd_name)
>       File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in
> run_command
>         self.distribution.run_command(command)
>       File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in
> run_command
>         cmd_obj.run()
>       File "/tmp/pip-build-4M8cOe/pycapnp/setup.py", line 112, in run
>         build_libcapnp(bundle_dir, build_dir)
>       File "buildutils/build.py", line 21, in build_libcapnp
>         raise RuntimeError('Configure failed')
>     RuntimeError: Configure failed
>
>
>     ----------------------------------------
> Command "/usr/local/bin/python2.7 -c "import setuptools,
> tokenize;__file__='/tmp/pip-build-4M8cOe/pycapnp/setup.py';exec(compile(getattr(tokenize,
> 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
> install --record /tmp/pip-djOFuD-record/install-record.
>



-- 
Marek Otahal :o)

Reply via email to