After 3 days of pain, horror, sleep deprivation and other atrocities, I was able to install Neuron in my machine.
The story is more or less like this:
I had worked with python packaged installed by hand (pip install package), and I didn't want to waste time in installing every package that I needed, so I decided to give Anaconda a try. And because it was a fresh started machine with Linux Mint 18, the anaconda process was painless. Also, it was not the first time I installed Neuron in a Linux machine, so I assumed that this was going to be the same thing. A couple of console commands and rock n' roll.
However, things got uglier.
The first one was that making
Code: Select all
./configure --prefix=`pwd` --with-iv=$HOME/neuron/iv --with-blablabla
I started to update packages (the usual: gcc, libraries and stuff like that), nothing happened. In a moment of divine(?) inspiration(??), I decided to run all the commands using sudo.
That thing worked out quite well. I was able to pass the "cannont link InterViews" thing (YAY to me!), however I started to get weirder messages.
The main issue was that there was some conflict when some software in my machine tried to link the hines*libraries. After hours trying to catch the error, I arrived to the following
Code: Select all
GLIBCXX_3.4.20 not found
But, after some googling, I found in a forum that
Code: Select all
$conda install libgcc
Problem solved!! (yay to me, again).
So the question or success that I want to comment here is: Why having conda installed lead to that hard-catching error?
Is that really a bug or some misconfiguration in Linux mint?
Code: Select all
javier@neurolab ~ $ uname -a
Linux neurolab 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
javier@neurolab ~ $ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.2' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.2)
javier@neurolab ~ $ python
Python 2.7.12 |Anaconda custom (64-bit)| (default, Jul 2 2016, 17:42:40)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>>
javier@neurolab ~ $ which python
/home/javier/anaconda2/bin/python