Sergei Masis wrote:
> Thank you for the quick response,
> Sounds like a good solution for me.
> I've changed the installation dir to: C:\Octave\3.0.5_gcc-4.3.0
> However, I get new errors:
> 
>     octave-3.0.5.exe:6:C:\Octave\pkgs
>      > pkg install arpack-1.0.7.tar.gz
>     eigs.cc: In function 'octave_value_list Feigs(const
>     octave_value_list&, int)':
>     eigs.cc:422: warning: suggest explicit braces to avoid ambiguous 'else'
>     eigs.cc:444: warning: suggest explicit braces to avoid ambiguous 'else'
>     eigs.cc:466: warning: suggest explicit braces to avoid ambiguous 'else'
>     eigs.o:eigs.cc:(.text+0x201c): undefined reference to
>     `cholmod_free_sparse'
>     
> eigs.o:eigs.cc:(.text$_ZN10SparseCHOLD1Ev[SparseCHOL::~SparseCHOL()]+0x3d):
>     undefined reference to `cholmod_free_sparse'
> 
>     
> eigs.o:eigs.cc:(.text$_ZN17SparseComplexCHOLD1Ev[SparseComplexCHOL::~SparseComplexCHOL()]+0x3d):
>     undefined reference to
>     `cholmod_free_sparse'
>     
> eigs.o:eigs.cc:(.text$_Z29EigsComplexNonSymmetricMatrixI19SparseComplexMatrixEiRKT_SsiiRiR13ComplexMatrixR19ComplexColum
>     nVectorS3_R12ColumnVectorS8_RSodibii[int
>     EigsComplexNonSymmetricMatrix<SparseComplexMatrix>(SparseComplexMatrix
>     const&,
>     std::basic_string<char, std::char_traits<char>, std::allocator<char>
>      >, int, int, int&, ComplexMatrix&, ComplexColumnVec
>     tor&, SparseComplexMatrix const&, ColumnVector&,
>     ComplexColumnVector&, std::basic_ostream<char, std::char_traits<char> >
>     &, double, int, bool, int, int)]+0x1dc9): undefined reference to
>     `cholmod_free_sparse'
>     collect2: ld returned 1 exit status
>     make: *** [eigs.oct] Error 1
>     error: 'make' returned the following error: make: Entering directory
>     `/tmp/oct-2/arpack-1.0.7/src'
>     mkoctfile -DHAVE_OCTAVE_30 -v -DHAVE_CONFIG_H -DHAVE_ARPACK eigs.cc
>     -larpack
>     mingw32-g++-4.3.0-dw2 -c -march=i686 -mtune=generic -O2  
>     -Ic:\Octave\3.0.5_gcc-4.3.0\include\octave-3.0.5 -Ic:\Octave\3
>     .0.5_gcc-4.3.0\include\octave-3.0.5\octave
>     -Ic:\Octave\3.0.5_gcc-4.3.0\include -mieee-fp -D_DLL -Wall  
>      -DHAVE_OCTAVE_3
>     0 -DHAVE_CONFIG_H -DHAVE_ARPACK eigs.cc -o eigs.o
>     mingw32-g++-4.3.0-dw2 -shared -Wl,--export-all-symbols
>     -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -share
>     d-libgcc  -o eigs.oct  eigs.o   -larpack
>     -Lc:\Octave\3.0.5_gcc-4.3.0\lib\octave-3.0.5
>     -Lc:\Octave\3.0.5_gcc-4.3.0\lib -l
>     octinterp -loctave  -lcruft -shared-libgcc -llapack -lblas -lfftw3
>     -lreadline  -lncurses -lhdf5 -lz -lm  -lws2_32 -lkern
>     el32 -lgfortran -lstdc++_s
>     make: Leaving directory `/tmp/oct-2/arpack-1.0.7/src'
>     error: called from `pkg:configure_make' in file
>     C:\Octave\3.0.5_gcc-4.3.0\share\octave\3.0.5\m\pkg\pkg.m near line 1250,
>      column 2
>     octave-3.0.5.exe:6:C:\Octave\pkgs
> 
> 
> Do I have to install the original Fortran ARPACK package first? 
> Is there some simpler way of installation, by copying files from 3.0.1 
> installation?

No the arpack library is included in the installer.
It looks like the arpack code depends on the suitesparse libaray, but 
there is no suitesparse library specified at link stage.

This looks like a bug in the arpack package to me, but I'm not familiar 
with the code to tell which libraries it depends on.

benjamin

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to