> Try editing /sw/bin/mkoctfile-3.6.4 as a superuser and change all of the
> instances of oct-cc to /sw/var/lib/fink/path-prefix-clang/cc and those
> of oct-cxx to /sw/var/lib/fink/path-prefix-clang/c++ .

Thanks for the tip. I had to edit /sw64/bin/mkoctfile also and
/sw64/var/lib/fink/path-prefix-clang did not exist (I copied the one
from 10.8. I am now stuck with the following failures

ans = 
/sw64/src/fink.build/miscellaneous-oct364-1.2.0-3/bld/share/octave/3.6.4/packages
mkdir (/var/tmp/oct-Eeuiaz)
untar (./miscellaneous-1.2.0.tar, /var/tmp/oct-Eeuiaz)
Undefined symbols for architecture x86_64:
  "check_version(std::string const&, std::string const&)", referenced from:
      _Gcell2cell in cell2cell.o
  "octave_dld_function::create(octave_value_list (*)(octave_value_list const&, 
int), octave_shlib const&, std::string const&, std::string const&)", referenced 
from:
      _Gcell2cell in cell2cell.o
  "std::string::_Rep::_M_destroy(std::allocator<char> const&)", referenced from:
      _Gcell2cell in cell2cell.o
      Fcell2cell(octave_value_list const&, int) in cell2cell.o
      Array<std::string>::ArrayRep::~ArrayRep() in cell2cell.o
  "std::string::_Rep::_M_dispose(std::allocator<char> const&)", referenced from:
      _Gcell2cell in cell2cell.o
      Fcell2cell(octave_value_list const&, int) in cell2cell.o
  "std::string::_Rep::_S_empty_rep_storage", referenced from:
      _Gcell2cell in cell2cell.o
      Fcell2cell(octave_value_list const&, int) in cell2cell.o
      Array<std::string>::ArrayRep::~ArrayRep() in cell2cell.o
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> 
>::basic_string(char const*, std::allocator<char> const&)", referenced from:
      _Gcell2cell in cell2cell.o
      Fcell2cell(octave_value_list const&, int) in cell2cell.o
  "std::ios_base::Init::Init()", referenced from:
      __GLOBAL__sub_I_cell2cell.cc in cell2cell.o
  "std::ios_base::Init::~Init()", referenced from:
      __GLOBAL__sub_I_cell2cell.cc in cell2cell.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [cell2cell.oct] Error 1
'make' returned the following error: mkoctfile -Wall cell2cell.cc
error: called from 'pkg>configure_make' in file 
/sw64/share/octave/3.6.4/m/pkg/pkg.m near line 1385, column 9
error: called from:
error:   /sw64/share/octave/3.6.4/m/pkg/pkg.m at line 827, column 5
error:   /sw64/share/octave/3.6.4/m/pkg/pkg.m at line 383, column 9
error:   
/sw64/src/fink.build/miscellaneous-oct364-1.2.0-3/bld/octave-forge-comp at line 
4, column 1
### execution of /tmp/fink.0wN0_ failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw64/bin/dpkg-lockwait -r fink-buildlock-miscellaneous-oct364-1.2.0-3
(Reading database ... 186574 files and directories currently installed.)
Removing fink-buildlock-miscellaneous-oct364-1.2.0-3 ...
Failed: phase compiling: miscellaneous-oct364-1.2.0-3 failed

and

ans = 
/sw64/src/fink.build/odepkg-atlas-oct364-0.8.4-2/bld/share/octave/3.6.4/packages
mkdir (/var/tmp/oct-yjNzF3)
untar (./odepkg.tar, /var/tmp/oct-yjNzF3)
checking for gcc... /sw64/var/lib/fink/path-prefix-clang/cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /sw64/var/lib/fink/path-prefix-clang/cc accepts -g... yes
checking for /sw64/var/lib/fink/path-prefix-clang/cc option to accept ISO 
C89... none needed
checking for mkoctfile... /sw64/bin/mkoctfile-3.6.4
retrieving compile and link flags from /sw64/bin/mkoctfile-3.6.4
checking for F77_FUNC... yes
checking for octave... /sw64/bin/octave-3.6.4
checking for OCTAVE_VERSION in Octave... 3.6.4
checking for octave_config_info('canonical_host_type') in Octave... 
x86_64-apple-darwin
checking for octave_config_info('SHLEXT') in Octave... dylib
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for strip... strip
configure: creating ./config.status
config.status: creating Makeconf
 
  "$prefix" is 
/sw64/src/fink.build/odepkg-atlas-oct364-0.8.4-2/bld/share/octave/3.6.4/packages/odepkg-0.8.4
  "$exec_prefix" is ${prefix}

octave commands will install into the following directories:
   m-files:   /sw64/share/octave/3.6.4/site/m/octave-forge
   oct-files: /sw64/lib/octave/3.6.4/site/oct/x86_64-apple-darwin/octave-forge
   binaries:  /sw64/lib/octave/3.6.4/site/exec/x86_64-apple-darwin
alternatives:
   m-files:   /sw64/share/octave/3.6.4/site/octave-forge-alternatives/m
   oct-files: 
/sw64/lib/octave/3.6.4/site/octave-forge-alternatives/oct/x86_64-apple-darwin

shell commands will install into the following directories:
   binaries:  ${exec_prefix}/bin
   man pages: ${datarootdir}/man
   libraries: ${exec_prefix}/lib
   headers:   ${prefix}/include

octave-forge is configured with
   octave:      /sw64/bin/octave-3.6.4 (version 3.6.4)
   mkoctfile:   /sw64/bin/mkoctfile-3.6.4 for Octave 4

find . -name NOINSTALL -print    # shows which toolboxes won't be installed

tar: Child died with signal 11
tar: Error is not recoverable: exiting now
tar: Child died with signal 11
tar: Error is not recoverable: exiting now
tar: Child died with signal 11
tar: Error is not recoverable: exiting now
make: *** [hairer] Error 2
'make' returned the following error: Unpacking external packages: hairer.tgz
Unpacking external packages: cash.tgz
Unpacking external packages: daskr.tgz
error: called from 'pkg>configure_make' in file 
/sw64/share/octave/3.6.4/m/pkg/pkg.m near line 1385, column 9
error: called from:
error:   /sw64/share/octave/3.6.4/m/pkg/pkg.m at line 827, column 5
error:   /sw64/share/octave/3.6.4/m/pkg/pkg.m at line 383, column 9
error:   /sw64/src/fink.build/odepkg-atlas-oct364-0.8.4-2/bld/octave-forge-comp 
at line 4, column 1
### execution of /tmp/fink.0q1fC failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw64/bin/dpkg-lockwait -r fink-buildlock-odepkg-atlas-oct364-0.8.4-2
(Reading database ... 186574 files and directories currently installed.)
Removing fink-buildlock-odepkg-atlas-oct364-0.8.4-2 ...
Failed: phase compiling: odepkg-atlas-oct364-0.8.4-2 failed

Dominique

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to