[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help compiling CVS 2.9.3
From: |
Andy Adler |
Subject: |
Re: Help compiling CVS 2.9.3 |
Date: |
Fri, 28 Oct 2005 16:22:05 -0400 (EDT) |
On Fri, 28 Oct 2005, Quentin Spencer wrote:
> Andy Adler wrote:
>
> >I'm trying to get the CVS to compile with all the sparse matrix
> >features on a Xandros (debian) box. I'm having trouble with
> >cholmod and metis.
> OK, I tried configuring current CVS on my Fedora box with ufsparse
> installed and no metis, and it passed all of the ufsparse-related tests,
> including this one. It's not obvious to me what the source of your
> problem here is, but I did notice something I hadn't thought of before.
> The Fedora Extras development RPMS are build on gcc 4 (and a
> particularly bleeding-edge version of it), and it appears you're using
> 3.3.5. That could probably cause plenty of other problems even if it
> isn't causing this one. I'd suggest building ufsparse locally and then
> see what results you get.
Thanks,
I've ditched METIS, and I've followed the script in your ufsparse.spec
file to install UFSparse into /usr/local/lib and /usr/local/include/ufsparse
I've needed to make the following patches to octave
address@hidden:~/octave$ cvs diff
Index: configure.in
===================================================================
RCS file: /cvs/octave/configure.in,v
retrieving revision 1.491
diff -r1.491 configure.in
839c839
< AMD_LIBS $COLAMD_LIBS $CCOLAMD_LIBS $BLAS_LIBS $FLIBS -lmetis)],
---
> $AMD_LIBS $COLAMD_LIBS $CCOLAMD_LIBS $BLAS_LIBS $FLIBS -lmetis)],
Index: liboctave/oct-sparse.h
===================================================================
RCS file: /cvs/octave/liboctave/oct-sparse.h,v
retrieving revision 1.1
diff -r1.1 oct-sparse.h
35c35
< #if defined (HAVE_UFSPARSE_UMFPACK_h)
---
> #if defined (HAVE_UFSPARSE_UMFPACK_H)
Now, I'm seeing this error during linking.
address@hidden:~/octave/liboctave$ make liboctave.so
pic/CSparse.o(.bss+0x0):/home/andy/octave/liboctave/CSparse.cc:106: multiple
definition of `ccolamd_printf'
pic/sparse-base-chol.o(.bss+0x0):/home/andy/octave/liboctave/str-vec.h:37:
first defined here
...
Any more ideas?
--
Andy Adler <address@hidden> 1(613)562-5800x6218
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- Help compiling CVS 2.9.3, Andy Adler, 2005/10/28
- Re: Help compiling CVS 2.9.3, Quentin Spencer, 2005/10/28
- Re: Help compiling CVS 2.9.3, Quentin Spencer, 2005/10/28
- Re: Help compiling CVS 2.9.3,
Andy Adler <=
- Re: Help compiling CVS 2.9.3, Quentin Spencer, 2005/10/28
- Re: Help compiling CVS 2.9.3, John W. Eaton, 2005/10/28
- Re: Help compiling CVS 2.9.3, John W. Eaton, 2005/10/28
- Re: Help compiling CVS 2.9.3, Andy Adler, 2005/10/29
- Re: Help compiling CVS 2.9.3, David Bateman, 2005/10/31