Hi all,
I've come across an error when attempting to update octave on Tiger - pretty much everything else is working. I've followed the suggestions (selfupdate, etc), with no luck. I've included the output below. The obvious error (to me) is:
checking size of short... configure: error: cannot compute sizeof (short), 77
Any thoughts on this one?
Thanks, Mike
------------------------------------------------------------------------
% fink update-all
Password:
Information about 4576 packages read in 2 seconds.
The following package will be installed or updated:
octave
dpkg-deb -b /sw/src/root-fink-buildlock-octave-2.1.64-3 /sw/src
dpkg-deb: building package `fink-buildlock-octave-2.1.64-3' in `/sw/ src/fink-buildlock-octave-2.1.64-3_2005.05.19-12.08.23_darwin- powerpc.deb'.
Setting build lock...
dpkg -i /sw/src/fink-buildlock- octave-2.1.64-3_2005.05.19-12.08.23_darwin-powerpc.deb
Selecting previously deselected package fink-buildlock-octave-2.1.64-3.
(Reading database ... 94145 files and directories currently installed.)
Unpacking fink-buildlock-octave-2.1.64-3 (from .../fink-buildlock- octave-2.1.64-3_2005.05.19-12.08.23_darwin-powerpc.deb) ...
Setting up fink-buildlock-octave-2.1.64-3 (2005.05.19-12.08.23) ...
gzip -dc /sw/src/octave-2.1.64.tar.gz | /sw/bin/tar -xf - --no-same- owner --no-same-permissions
patch -p1 </sw/fink/dists/unstable/main/finkinfo/sci/octave.patch
patching file configure
/var/tmp/tmp.1.ESWAIe
checking build system type... powerpc-apple-darwin
checking host system type... powerpc-apple-darwin
checking for gcc... gcc-3.3
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-3.3 accepts -g... yes
checking for gcc-3.3 option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc-3.3 -E
checking for egrep... grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for library containing strerror... none required
defining man1dir to be $(mandir)/man1
defining man1ext to be .1
defining infofile to be $(infodir)/octave.info
defining octincludedir to be $(includedir)/octave-$(version)
defining fcnfiledir to be $(datadir)/octave/$(version)/m
defining localfcnfiledir to be $(datadir)/octave/site/m
defining localapifcnfiledir to be $(datadir)/octave/site/$(apiversion)/m
defining localverfcnfiledir to be $(datadir)/octave/$(version)/site/m
defining localfcnfilepath to be $(localverfcnfiledir)//:$ (localapifcnfiledir)//:$(localfcnfiledir)//
defining octlibdir to be $(libdir)/octave-$(version)
defining archlibdir to be $(libexecdir)/octave/$(version)/exec/$ (canonical_host_type)
defining localarchlibdir to be $(libexecdir)/octave/site/exec/$ (canonical_host_type)
defining localverarchlibdir to be $(libexecdir)/octave/$(version)/ site/exec/$(canonical_host_type)
defining octfiledir to be $(libexecdir)/octave/$(version)/oct/$ (canonical_host_type)
defining localoctfiledir to be $(libexecdir)/octave/site/oct/$ (canonical_host_type)
defining localapioctfiledir to be $(libexecdir)/octave/site/oct/$ (apiversion)/$(canonical_host_type)
defining localveroctfiledir to be $(libexecdir)/octave/$(version)/ site/oct/$(canonical_host_type)
defining localoctfilepath to be $(localveroctfiledir)//:$ (localapioctfiledir)//:$(localoctfiledir)//
defining fcnfilepath to be .:$(localoctfilepath):$(localfcnfilepath):$ (octfiledir)//:$(fcnfiledir)//
defining imagedir to be $(datadir)/octave/$(version)/imagelib
defining imagepath to be .:$(imagedir)//
defining __NO_MATH_INLINES avoids buggy GNU libc exp function
checking whether we are using the GNU C++ compiler... yes
checking whether g++-3.3 accepts -g... yes
checking how to run the C++ preprocessor... g++-3.3 -E
checking for C++ support for new friend template declaration... yes
checking if C++ library is ISO compliant... yes
checking for nm... nm
checking C++ ABI version used by g++-3.3... gnu_v3
checking for gcc... (cached) gcc-3.3
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc-3.3 accepts -g... (cached) yes
checking for gcc-3.3 option to accept ANSI C... (cached) none needed
checking how to run the C preprocessor... gcc-3.3 -E
checking whether gcc-3.3 needs -traditional... no
checking whether g++-3.3 prepends an underscore to external names... yes
checking for sin in -lm... yes
checking for H5Pcreate in -lhdf5... yes
checking for deflate in -lz... yes
checking hdf5.h usability... yes
checking hdf5.h presence... yes
checking for hdf5.h... yes
checking for H5Gget_num_objs in -lhdf5... yes
checking fftw3.h usability... yes
checking fftw3.h presence... yes
checking for fftw3.h... yes
checking for fftw_plan_dft_1d in -lfftw3... yes
checking for MPI_Init in -lmpi... yes
checking mpi.h usability... yes
checking mpi.h presence... yes
checking for mpi.h... yes
checking for IEEE 754 data format... no
checking for ranlib... ranlib
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking how to get verbose linking output from g77... -v
checking for Fortran libraries of g77... -L/sw/lib -lg2c
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, extra underscore
defining FFLAGS to be -O
checking for sgemm_... no
checking for sgemm_ in -framework vecLib... yes
checking for cheev_... yes
defining FPICFLAG to be
defining CPICFLAG to be
defining CXXPICFLAG to be
defining SHLEXT to be dylib
defining SHLLIB to be $(SHLEXT)
defining SHLBIN to be
defining SHLEXT_VER to be $(version).$(SHLEXT)
defining SHLLIB_VER to be $(version).$(SHLLIB)
defining SHLBIN_VER to be $(SHLBIN).$(version)
defining SHLLINKEXT to be
defining DLFCN_DIR to be
defining SH_LD to be $(CXX)
defining SH_LDFLAGS to be -dynamiclib -single_module $(LDFLAGS)
defining DL_LD to be $(SH_LD)
defining DL_LDFLAGS to be -bundle -bundle_loader $(TOPDIR)/src/octave $(LDFLAGS)
defining MKOCTFILE_DL_LDFLAGS to be -bundle -bundle_loader $(bindir)/ octave-$(version)$(EXEEXT)
defining SONAME_FLAGS to be -install_name $(octlibdir)/$@
defining NO_OCT_FILE_STRIP to be true
defining RLD_FLAG to be
defining TEMPLATE_AR to be $(AR)
defining TEMPLATE_ARFLAGS to be rc
defining library_path_var to be DYLD_LIBRARY_PATH
checking for gethostname... yes
checking for getpwnam... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for dev_t... yes
checking for ino_t... yes
checking for nlink_t... yes
checking for nlink_t... (cached) yes
checking for long long int... yes
checking for unsigned long long int... yes
checking for sigset_t... yes
checking for sig_atomic_t... yes
checking for short... yes
checking size of short... configure: error: cannot compute sizeof (short), 77
See `config.log' for more details.
*********************************************************** * * To compile Octave, you will need a recent versions of * the following software: * * g++ (3.2.x or a more recent version) * * flex (2.5.4 or a more recent version) -- required if * you need to recreate lex.cc from lex.l * * bison (1.31 or a more recent version) -- required if * you need to recreate parse.cc from parse.y * * gperf (2.7.1 or a more recent version) -- required if * you need to recreate oct-gperf.h from octave.gperf * * Now would be a good time to read INSTALL.OCTAVE if * you have not done so already. * ***********************************************************
*** You must run configure before running make. *** *** Please read the INSTALL and INSTALL.OCTAVE files *** for more information about how to configure and *** compile Octave.
make: *** [config-check] Error 1 ### execution of /var/tmp/tmp.1.ESWAIe failed, exit code 2 Removing build lock... dpkg -r fink-buildlock-octave-2.1.64-3 (Reading database ... 94146 files and directories currently installed.) Removing fink-buildlock-octave-2.1.64-3 ... Failed: phase compiling: octave-2.1.64-3 failed
Before reporting any errors, please run "fink selfupdate" and
try again. If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem. If not, ask on the fink-users
or fink-beginners mailing lists. As a last resort, you can try e- mailing
the maintainer directly:
Jeffrey Whitaker <[EMAIL PROTECTED]> ------------------------------------------------------------------------
-- Mike Zulauf (2) [EMAIL PROTECTED]
------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
