|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Problems in installing Octave General packageHi,
this is my first post to this mailing list. I am a PhD student in Cosmology and I often use Octave. I really appreciate it as a convenient alternative to Matlab. I am performing some intensive number crunching hence I would like to use both CPUs of my MacBook Pro, which runs Mac Os X 10.6, aka Snow Leopard. I therefore downloaded the Octave General package from Octave Forge to make use of the parcellfun function for parallel computing (http://octave.sourceforge.net/general/index.html ) . I tried to install the package with the usual command: pkg install general-1.1.3.tar.gz but I got a lot of errors, mainly complains about dynamical libraries not being of the required architecture (please see the output below). As a side note, I installed Octave from the Octave.app project (http://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary ), hence I did not compile it on my machine. Thank you for any help! Cheers, Guido Walter Pettinari P.S. Can I attach text files or PDFs to my email while sending it to the mailing list? octave-3.2.3:1> pkg install /Users/coccoinomane/Downloads/ octave_packages/general-1.1.3.tar.gz ld: warning: in /Applications/Octave/Octave.app/Contents/Resources/bin/ octave-3.2.3, file is not of required architecture ld: warning: in /Applications/Octave/Octave.app/Contents/Resources/lib/ octave-3.2.3/liboctinterp.dylib, file is not of required architecture ld: warning: in /Applications/Octave/Octave.app/Contents/Resources/lib/ octave-3.2.3/liboctave.dylib, file is not of required architecture ld: warning: in /Applications/Octave/Octave.app/Contents/Resources/lib/ octave-3.2.3/libcruft.dylib, file is not of required architecture ld: warning: in /Applications/Octave/Octave.app/Contents/Resources/lib/ libfftw3.dylib, file is not of required architecture ld: warning: in /Applications/Octave/Octave.app/Contents/Resources/lib/ libfftw3f.dylib, file is not of required architecture ld: warning: in /Applications/Octave/Octave.app/Contents/Resources/lib/ libreadline.dylib, file is not of required architecture ld: warning: in /Applications/Octave/Octave.app/Contents/Resources/lib/ libhdf5.dylib, file is not of required architecture ld: warning: in /Applications/Octave/Octave.app/Contents/Resources/lib/ libz.dylib, file is not of required architecture ld: warning: in /Applications/Octave/Octave.app/Contents/Resources/lib/ gcc-lib/i386-apple-darwin8.11.1/4.0.3/libf95.a, file is not of required architecture ld: warning: in /Applications/Octave/Octave.app/Contents/Resources/lib/ gcc-lib/i386-apple-darwin8.11.1/4.0.3/libgcc.a, file is not of required architecture Undefined symbols: "Array<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::~Array()", referenced from: string_vector::~string_vector()in SHA1.o string_vector::~string_vector()in SHA1.o "Array<double>::~Array()", referenced from: FSHA1(octave_value_list const&, int)in SHA1.o FSHA1(octave_value_list const&, int)in SHA1.o FSHA1(octave_value_list const&, int)in SHA1.o FSHA1(octave_value_list const&, int)in SHA1.o vtable for Array<double>in SHA1.o "_error_state", referenced from: _GSHA1 in SHA1.o "usage(char const*, ...)", referenced from: FSHA1(octave_value_list const&, int)in SHA1.o "Array<double>::~Array()", referenced from: MArray<double>::~MArray()in SHA1.o MArray<double>::~MArray()in SHA1.o MArray<double>::~MArray()in SHA1.o "Array<octave_value>::make_unique()", referenced from: Array<octave_value>::elem(int) in SHA1.o "Array<double>::make_unique()", referenced from: Array<double>::elem(int)in SHA1.o "Array<octave_value>::resize_fill(int, octave_value const&)", referenced from: Array<octave_value>::resize(int) in SHA1.o "octave_value::octave_value(RowVector const&)", referenced from: FSHA1(octave_value_list const&, int)in SHA1.o "octave_dld_function::create(octave_value_list (*)(octave_value_list const&, int), octave_shlib const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from: _GSHA1 in SHA1.o "check_version(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from: _GSHA1 in SHA1.o "Array<octave_value>::~Array()", referenced from: vtable for Array<octave_value>in SHA1.o "Array<octave_value>::resize_fill_value()", referenced from: Array<octave_value>::resize(int) in SHA1.o "octave_value::vector_value(bool, bool) const", referenced from: FSHA1(octave_value_list const&, int)in SHA1.o FSHA1(octave_value_list const&, int)in SHA1.o "vtable for octave_base_value", referenced from: octave_base_value::octave_base_value()in SHA1.o octave_base_value::~octave_base_value()in SHA1.o "Array<octave_value>::~Array()", referenced from: octave_value_list::octave_value_list()in SHA1.o octave_value_list::~octave_value_list()in SHA1.o octave_value_list::~octave_value_list()in SHA1.o vtable for Array<octave_value>in SHA1.o "Array<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::~Array()", referenced from: vtable for Array<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >in SHA1.o "error(char const*, ...)", referenced from: FSHA1(octave_value_list const&, int)in SHA1.o "Array<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::~Array()", referenced from: vtable for Array<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >in SHA1.o "Array<double>::~Array()", referenced from: vtable for Array<double>in SHA1.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [SHA1.oct] Error 1 'make' returned the following error: mkoctfile SHA1.cc error: called from `pkg>configure_make' in file /Applications/Octave/ Octave.app/Contents/Resources/share/octave/3.2.3/m/pkg/pkg.m near line 1253, column 2 error: called from: error: /Applications/Octave/Octave.app/Contents/Resources/share/ octave/3.2.3/m/pkg/pkg.m at line 714, column 5 error: /Applications/Octave/Octave.app/Contents/Resources/share/ octave/3.2.3/m/pkg/pkg.m at line 287, column 7 _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: Problems in installing Octave General packageOn 14 Oct 2009, at 18:32, Guido Walter Pettinari wrote: > Hi, > > this is my first post to this mailing list. I am a PhD student in > Cosmology and I often use Octave. I really appreciate it as a > convenient alternative to Matlab. > > I am performing some intensive number crunching hence I would like to > use both CPUs of my MacBook Pro, which runs Mac Os X 10.6, aka Snow > Leopard. I therefore downloaded the Octave General package from Octave > Forge to make use of the parcellfun function for parallel computing (http://octave.sourceforge.net/general/index.html > ) . > > I tried to install the package with the usual command: > pkg install general-1.1.3.tar.gz > but I got a lot of errors, mainly complains about dynamical libraries > not being of the required architecture (please see the output below). > > As a side note, I installed Octave from the Octave.app project (http://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary > ), hence I did not compile it on my machine. > > Thank you for any help! > > Cheers, > > Guido Walter Pettinari > > P.S. Can I attach text files or PDFs to my email while sending it to > the mailing list? Guido, Another user posted recently a link to a procedure that apparently makes mkoctfile work on Snow Leopard, see: http://www.nabble.com/Octave.app-3.2.3-for-Mac-OS-X-10.4.x-and-10.5.x-td25727982.html#a25798474 I only have Os X 10.5 on my machines so I cannot check myself whether it helps, if it does work for you please report back to the list c. _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: Problems in installing Octave General packageHi Carlo,
thank you for your help. I managed to install the package by following the indications found in http://www.supermegaultragroovy.com/blog/2009/09/17/installing-octave-packages-in-snow-leopard/ . The solution is to add the following snippet CFLAGS="-m32 ${CFLAGS}" FFLAGS="-m32 ${FFLAGS}" CPPFLAGS="-m32 ${CPPFLAGS}" CXXFLAGS="-m32 ${CXXFLAGS}" LDFLAGS="-m32 ${LDFLAGS}" in the file Octave.app/Contents/Resources/bin/mkoctfile-3.2.3 just after the "set -e" line. The problem was that in Snow Leopard compilers try always to build in 64bit, while libraries shipped with Octave are 32 bit. The -m32 flag forces the compiler to build 32bit programs. Cheers, Guido On Oct 14, 2009, at 20:17 , Carlo de Falco wrote: > > On 14 Oct 2009, at 18:32, Guido Walter Pettinari wrote: > >> Hi, >> >> this is my first post to this mailing list. I am a PhD student in >> Cosmology and I often use Octave. I really appreciate it as a >> convenient alternative to Matlab. >> >> I am performing some intensive number crunching hence I would like to >> use both CPUs of my MacBook Pro, which runs Mac Os X 10.6, aka Snow >> Leopard. I therefore downloaded the Octave General package from >> Octave >> Forge to make use of the parcellfun function for parallel computing >> (http://octave.sourceforge.net/general/index.html >> ) . >> >> I tried to install the package with the usual command: >> pkg install general-1.1.3.tar.gz >> but I got a lot of errors, mainly complains about dynamical libraries >> not being of the required architecture (please see the output below). >> >> As a side note, I installed Octave from the Octave.app project (http://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary >> ), hence I did not compile it on my machine. >> >> Thank you for any help! >> >> Cheers, >> >> Guido Walter Pettinari >> >> P.S. Can I attach text files or PDFs to my email while sending it to >> the mailing list? > > Guido, > Another user posted recently a link to a procedure that apparently > makes > mkoctfile work on Snow Leopard, see: > > http://www.nabble.com/Octave.app-3.2.3-for-Mac-OS-X-10.4.x-and-10.5.x-td25727982.html#a25798474 > > I only have Os X 10.5 on my machines so I cannot check myself whether > it helps, > if it does work for you please report back to the list > > c. > > _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
| Free embeddable forum powered by Nabble | Forum Help |