Hey Alexis, I've Cc'd Peter Green on this email. He posted the bug on the debian build.
Chris On Mon, Jul 13, 2009 at 2:52 PM, Alexis Roche<alexis.ro...@gmail.com> wrote: > Were the lapack and f77blas libraries built with gfortran? Are you using > a site.cfg file? Which python version are you running? Did you try to > build scipy on the same environnement? > > -- > [Debian] link error with neurospin/bindings/linalg.so > https://bugs.launchpad.net/bugs/398937 > You received this bug notification because you are a member of nipy- > developers, which is the registrant for NIPY. > > Status in Neuroimaging in Python: New > > Bug description: > peter green <plugw...@p10link.net> Sat, Jul 4, 2009 at 7:30 PM > Reply-To: peter green <plugw...@p10link.net>, 535...@bugs.debian.org > To: 535...@bugs.debian.org > I tested this issue in my sid amd64 chroot as user nobody with a nonexistant > homedir. > > The homedir issue was easy enough to fix but then the build failed with what > appeared to be problems caused by lack of a fortran compiler so I added > gfortran to the build-dependencies and installed it. > > however I then got a load of undefined reference errors (the last couple of > which are copied below) and a failure to link > > /nobody/nipy-0.1.2+1741/libfffpy/wrapper/fffpy.c:13: undefined reference to > `PyE > rr_SetString' > /usr/lib/gcc/x86_64-linux-gnu/4.3.3/libgfortranbegin.a(fmain.o): In function > `ma > in': > (.text+0x28): undefined reference to `MAIN__' > collect2: ld returned 1 exit status > error: Command "/usr/bin/gfortran -Wall > /nobody/nipy-0.1.2+1741/./build/temp.lin > ux-x86_64-2.5/nipy/neurospin/bindings/linalg.o -L/usr/lib -L/usr/lib > -L/nobody/n > ipy-0.1.2+1741/./build/temp.linux-x86_64-2.5 -lfffpy -llapack -lf77blas > -lcblas > -latlas -llapack -lf77blas -lcblas -latlas -lgfortran -o > /nobody/nipy-0.1.2+1741 > /./build/lib.linux-x86_64-2.5/nipy/neurospin/bindings/linalg.so" failed with > exi > t status 1 > make: *** [debian/python-module-stampdir/python-nipy] Error 1 > dpkg-buildpackage: error: debian/rules build gave error exit status 2 > nob...@debian:/nobody/nipy-0.1.2+1741$ > > I have attatched a patch with the changes I have made but have no idea how to > troubleshoot this link error. > -- Christopher Burns Computational Infrastructure for Research Labs 10 Giannini Hall, UC Berkeley 510-643-4053 http://cirl.berkeley.edu/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org