[EMAIL PROTECTED] wrote:
>
> Thank you for your help Rincho...but it didn't solve my trouble..I still
> get this compiling error:
>
> In file included from dMatrix.h:36,
> from CollocWt.h:32,
> from CollocWt.cc:33:
> data-conv.h:41: #error "No 2 byte integer type found!"
> data-conv.h:49: #error "No 4 byte integer type found!"
> make[2]: *** [CollocWt.o] Error 1
> make[1]: *** [liboctave] Error 2
> make: *** [all] Error 2
> ### make failed, exit code 2
> Failed: compiling octave-2.1.35-6 failed
What is clear is that something went wrong when the configure script
looked at your system. To find out what went wrong you would have to
give more information. Place yourself into
/sw/src/octave-2.1.35-6/octave-2.1.35 and do the following:
1. Look at the file config.log with the command
grep "size of" -A1 config.log
It gives me
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
configure:4518: checking size of int
configure:4538: 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
configure:4558: checking size of long
configure:4578: 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
configure:4598: checking size of long long
configure:4618: 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
2. Look at config.cache:
grep size config.cache
ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
ac_cv_sizeof_long=${ac_cv_sizeof_long=4}
ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8}
ac_cv_sizeof_short=${ac_cv_sizeof_short=2}
ac_cv_struct_st_blksize=${ac_cv_struct_st_blksize=yes}
ac_cv_type_size_t=${ac_cv_type_size_t=yes}
3. Look at config.h
grep SIZEOF config.h
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_SHORT 2
Is any of this giving a different output for you?
--
Martin
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users