Per Persson wrote: > Mike Graham wrote: > > In the process of installing octave, I am repeatedly getting errors > > of this type: > > > > making mx-s-dm.d from mx-s-dm.cc > > In file included from dMatrix.h:36, > > from mx-s-dm.cc:29: > > data-conv.h:41: #error "No 2 byte integer type found!" > > data-conv.h:49: #error "No 4 byte integer type found!" > > > > What am I missing? > > -- > > Seems like you haven't got the latest (Dec 2001) dev tools.
This may actually be a little trickier: The same error came up 4 weeks ago (on the same list). At that time, it was found that the solution was to do "fink remove hdf5"; "fink rebuild hdf5"; "fink install hdf5". Then octave built without problem (IIRC, "fink rebuild hdf5" was not enough). Another solution might have been to install openssl. The explanation was somewhat tricky: Openssl was not installed, but the version of hdf5 that was installed and used by octave had come from the binary distribution and depended on the non-existing /sw/lib/libssl.0.9.6.dylib and /sw/lib/libcrypto.0.9.6.dylib from the openssl package, as witnessed by "otool -L /sw/lib/libhdf5.dylib". Now octave's configure script tries to determine the size of different data types like this: configure:4478: checking size of short configure:4498: gcc -o conftest -no-cpp-precomp -I/sw/include -L/sw/lib -g -Xlinker -m -L/sw/lib conftest.c -lhdf5 -lz -lm 1>&5 The key is "-lhdf5" which led to failure with an error message /usr/bin/ld: warning can't open dynamic library: /sw/lib/libssl.0.9.6.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/bin/ld: warning can't open dynamic library: /sw/lib/libcrypto.0.9.6.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) configure: failed program was: #line 4566 "configure" Therefore the configure script concluded that the size of short (and similarly for all other types) is zero bytes, and afterwards it is found that no type of length 2 or 4 exists. -- Martin _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners
