From help-request at octave dot org Mon Mar 27 09:56:01 2006 Subject: Re: Install 2.1.73 on Mac OS X 10.4? From: Vic Norton To: Miquel dot Cabanas at uab dot es cc: Octave Help , Thane Norton Date: Mon, 27 Mar 2006 10:52:24 -0500 On 3/27/06, at 9:16 AM +0200, Miquel Cabanas wrote: > configure creates a config.log file containing more information. Could > you find the relevant part of the file and post it? > > Miquel > > On Mon, 2006-03-27 at 08:55 -0500, Vic Norton wrote: > > I'm running the Octave 2.1.71 on my Mac now, the High Performance > > Computing version . I'd like to install > > version 2.1.73, but "./configure" concludes with > > checking size of short... configure: error: cannot compute > > sizeof (short), 77 > > > > Does anyone know how to correct this problem? As far as I know the > > latest versions of gcc4 and g77 are installed in my computer. This seems to be the relevant part, Miquel. I hesitate to post it to the list since it is so long, but, what the hell, that's what the delete key is for. Thanks for an ideas you may have. - Vic ### part of config.log follows ### configure:12668: checking size of short configure:13028: gcc -o conftest -g -O2 conftest.c -lmpi -lhdf5 -lz -lm >&5 /usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used symbol _create_scalable_zone used from dynamic library /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libm.dylib( scalable_malloc.So) not from earlier dynamic library /usr/local/lib/libmpi.0.dylib(scalable_malloc.o) symbol _malloc_freezedry used from dynamic library /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libm.dylib( scalable_malloc.So) not from earlier dynamic library /usr/local/lib/libmpi.0.dylib(scalable_malloc.o) symbol _malloc_jumpstart used from dynamic library /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libm.dylib( scalable_malloc.So) not from earlier dynamic library /usr/local/lib/libmpi.0.dylib(scalable_malloc.o) symbol _scalable_zone_info used from dynamic library /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libm.dylib( scalable_malloc.So) not from earlier dynamic library /usr/local/lib/libmpi.0.dylib(scalable_malloc.o) symbol _scalable_zone_statistics used from dynamic library /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libm.dylib( scalable_malloc.So) not from earlier dynamic library /usr/local/lib/libmpi.0.dylib(scalable_malloc.o) symbol _szone_check_counter used from dynamic library /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libm.dylib( scalable_malloc.So) not from earlier dynamic library /usr/local/lib/libmpi.0.dylib(scalable_malloc.o) symbol _szone_check_modulo used from dynamic library /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libm.dylib( scalable_malloc.So) not from earlier dynamic library /usr/local/lib/libmpi.0.dylib(scalable_malloc.o) symbol _szone_check_start used from dynamic library /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libm.dylib( scalable_malloc.So) not from earlier dynamic library /usr/local/lib/libmpi.0.dylib(scalable_malloc.o) configure:13031: $? = 0 configure:13033: ./conftest dyld: Symbol not found: __kio Referenced from: /usr/local/lib/libmpi.0.dylib Expected in: flat namespace ./configure: line 1: 2674 Trace/BPT trap ./conftest$ac_exeext configure:13036: $? = 133 configure: program exited with status 133 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define OCTAVE_SOURCE 1 | #define _GNU_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SEPCHAR 1 | #define SEPCHAR_STR ":" | #define __NO_MATH_INLINES 1 | #ifdef __cplusplus | extern "C" void std::exit (int); using std::exit; | #endif | #define CXX_NEW_FRIEND_TEMPLATE_DECL 1 | #define CXX_ISO_COMPLIANT_LIBRARY 1 | #define CXX_ABI gnu_v3 | #define CXX_PREPENDS_UNDERSCORE 1 | #define HAVE_LIBM 1 | #define HAVE_HDF5_H 1 | #define HAVE_HDF5 1 | #define HAVE_H5GGET_NUM_OBJS 1 | #define HAVE_FFTW3 1 | #define HAVE_MPI_H 1 | #define HAVE_MPI 1 | #define F77_FUNC(name,NAME) name ## _ | #define F77_FUNC_(name,NAME) name ## __ | #define HAVE_BLAS 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPWNAM 1 | #define HAVE_DEV_T 1 | #define HAVE_INO_T 1 | #define HAVE_NLINK_T 1 | #define HAVE_NLINK_T 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_SIGSET_T 1 | #define HAVE_SIG_ATOMIC_T 1 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | long longval () { return (long) (sizeof (short)); } | unsigned long ulongval () { return (long) (sizeof (short)); } | #include | #include | #ifdef F77_DUMMY_MAIN | | # ifdef __cplusplus | extern "C" | # endif | int F77_DUMMY_MAIN() { return 1; } | | #endif | int | main () | { | | FILE *f = fopen ("conftest.val", "w"); | if (! f) | exit (1); | if (((long) (sizeof (short))) < 0) | { | long i = longval (); | if (i != ((long) (sizeof (short)))) | exit (1); | fprintf (f, "%ld\n", i); | } | else | { | unsigned long i = ulongval (); | if (i != ((long) (sizeof (short)))) | exit (1); | fprintf (f, "%lu\n", i); | } | exit (ferror (f) || fclose (f) != 0); | | ; | return 0; | } configure:13046: error: cannot compute sizeof (short), 77 See `config.log' for more details. ------------------------------------------------------------- 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 -------------------------------------------------------------