Javier,
I had a look into it, nor running on Mac, but on Linux here, yet the tools
and versions I use are similar to yours.

$ python -V
Python 2.7.5
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/gcc/src/gcc-4.8.1/configure --prefix=/usr
--libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man
--infodir=/usr/share/info
--with-bugurl=https://bugs.archlinux.org/--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++
--enable-shared
--enable-threads=posix --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch
--enable-gnu-unique-object --enable-linker-build-id
--enable-cloog-backend=isl --disable-cloog-version-check --enable-lto
--enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold
--with-linker-hash-style=gnu --disable-install-libiberty --disable-multilib
--disable-libssp --disable-werror --enable-checking=release
Thread model: posix
gcc version 4.8.1 (GCC)

$ make -v
GNU Make 3.82
Built for x86_64-unknown-linux-gnu


and everything compiles fine.

Steps to try:
1/ pythonSetup must be run, any progress without it is pointless.
2/ make sure to run ./cleanbuild.sh instead of build.sh to ensure no old
files mess with the build.
3/ maybe your system's python env is messed up, try running in virtualenv -
there's wiki for that:
https://github.com/numenta/nupic/wiki/Installing-modules,-dependencies,-in-Python
---- see last paragraph
4/ if problems persist, please post versions of tools you use and errors
you getting

Thanks, M.


On Thu, Jul 25, 2013 at 3:02 PM, Archie, Kevin <[email protected]>wrote:

>  Hi, Javier,
>
>  I've had success building NuPIC on Mac OS X 10.7.5, gcc 4.2, python
> 2.6.7; and then running with python 2.7.1. There is one message at program
> start complaining about the version switch, but everything seems to run
> okay -- though I haven't pushed it hard or tested extensively.
>
>  Unfortunately my system is so idiosyncratic and so loaded with cruft
> that I've been reluctant to write detailed build instructions for fear that
> there's some unique quirk about my machine that allows all this to work. I
> am planning to do a clean 10.8 install in August and will try again then
> and write up the result.
>
>  In any case, you might try building with an older gcc (probably less
> important) and python 2.6 (probably unavoidable for now) and running with
> python 2.7.
>
>  Good luck!
>
>    - Kevin
>
>
>
>  On Jul 24, 2013, at 10:28 PM, Javier Luraschi wrote:
>
>  Hi, I'm trying to get NuPIC compiling from the GitHub repo and I've hit
> a couple problems that I wonder if someone else has already figured out:
>
> 1) *Python 2.7 (not 2.6) installed* (Commented "pythonSetup" from
> build.sh)
> 2) *GCC (4.8) does not support the **-Wnewline-eof parameter* (Removed 
> -Wnewline-eof
> from configure.ac)
> 3) *swig error : Unrecognized option -noproxyimport*
>
>  It looks like I'm past (1) and (2) with the fixes I made; however, does
> (3) sound familiar to anyone? Any hints on compiling NuPIC from Mac OSX (or
> Windows)?
>
>  I'll try to investigate (3) a bit more as time permits and share my
> findings.
>
>  Best - Javier Luraschi
>  _______________________________________________
> nupic mailing list
> [email protected]
> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>
>
>
> ------------------------------
>
> The material in this message is private and may contain Protected
> Healthcare Information (PHI). If you are not the intended recipient, be
> advised that any unauthorized use, disclosure, copying or the taking of any
> action in reliance on the contents of this information is strictly
> prohibited. If you have received this email in error, please immediately
> notify the sender via telephone or return mail.
>
> _______________________________________________
> nupic mailing list
> [email protected]
> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>
>


-- 
Marek Otahal :o)
_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

Reply via email to