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<email address hidden> 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 <email address hidden> Sat, Jul 4, 2009 at 7:30 PM
> Reply-To: peter green <email address hidden>, <email address hidden>
> To: <email address hidden>
> 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
> nobody@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/
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<email address hidden> wrote: bindings/ linalg. so /bugs.launchpad .net/bugs/ 398937 nipy-0. 1.2+1741/ libfffpy/ wrapper/ fffpy.c: 13: undefined reference to `PyE gcc/x86_ 64-linux- gnu/4.3. 3/libgfortranbe gin.a(fmain. o): In function `ma nipy-0. 1.2+1741/ ./build/ temp.lin 64-2.5/ nipy/neurospin/ bindings/ linalg. o -L/usr/lib -L/usr/lib -L/nobody/n 2+1741/ ./build/ temp.linux- x86_64- 2.5 -lfffpy -llapack -lf77blas -lcblas nipy-0. 1.2+1741 lib.linux- x86_64- 2.5/nipy/ neurospin/ bindings/ linalg. so" failed with exi python- module- stampdir/ python- nipy] Error 1 debian: /nobody/ nipy-0. 1.2+1741$
> 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/
> https:/
> 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 <email address hidden> Sat, Jul 4, 2009 at 7:30 PM
> Reply-To: peter green <email address hidden>, <email address hidden>
> To: <email address hidden>
> 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/
> rr_SetString'
> /usr/lib/
> in':
> (.text+0x28): undefined reference to `MAIN__'
> collect2: ld returned 1 exit status
> error: Command "/usr/bin/gfortran -Wall /nobody/
> ux-x86_
> ipy-0.1.
> -latlas -llapack -lf77blas -lcblas -latlas -lgfortran -o /nobody/
> /./build/
> t status 1
> make: *** [debian/
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> nobody@
>
> I have attatched a patch with the changes I have made but have no idea how to troubleshoot this link error.
>
-- cirl.berkeley. edu/
Christopher Burns
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
510-643-4053
http://