On 8/1/12 11:12 AM, Gary K Olson wrote: > Gary Olson wrote on Aug 1, 2012 at 11:52 MDT: > > I was attempting to build combinatorics-oct362 when I got the following > errors: > >> Here is build script w the errors: >> >> executing commands from /sw/share/octave/site/m/startup/octaverc ... done. >> executing commands from /sw/share/octave/3.6.2/m/startup/octaverc ... done. >> >> ans = >> /sw/src/fink.build/combinatorics-oct362-1.0.9-3/bld/share/octave/3.6.2/packages >> mkdir (/var/tmp/oct-fFbjnc) >> untar (./combinatorics-1.0.9.tar, /var/tmp/oct-fFbjnc) >> mkoctfile: stripping disabled on this platform >> /sw/bin/mkoctfile: line 509: oct-cxx: command not found >> make: *** [partint.oct] Error 127 >> 'make' returned the following error: make: Entering directory >> `/private/var/tmp/oct-fFbjnc/combinatorics-1.0.9/src' >> mkoctfile -s partint.cc >> make: Leaving directory `/private/var/tmp/oct-fFbjnc/combinatorics-1.0.9/src' >> error: called from `pkg>configure_make' in file >> /sw/share/octave/3.6.2/m/pkg/pkg.m near line 1385, column 9 >> error: called from: >> error: /sw/share/octave/3.6.2/m/pkg/pkg.m at line 827, column 5 >> error: /sw/share/octave/3.6.2/m/pkg/pkg.m at line 383, column 9 >> error: >> /sw/src/fink.build/combinatorics-oct362-1.0.9-3/bld/octave-forge-comp at >> line 4, column 1 >> ### execution of /tmp/fink.OerWP failed, exit code 1 >> Removing runtime build-lock... >> Removing build-lock package... >> /sw/bin/dpkg-lockwait -r fink-buildlock-combinatorics-oct362-1.0.9-3 >> (Reading database ... 347796 files and directories currently installed.) >> Removing fink-buildlock-combinatorics-oct362-1.0.9-3 ... >> Failed: phase compiling: combinatorics-oct362-1.0.9-3 failed > > Am I missing some file, or is there a mistake at at line 509? Hope this > script helps. > > My kit is: > Package manager version: 0.34.1 > Distribution version: selfupdate-rsync Wed Aug 1 11:50:32 2012, 10.8, x86_64 > Trees: local/main stable/main local/injected > Xcode.app: 4.4 > Xcode command-line tools: 4.4.0.0.1.1249367152 > > Gary K Olson >
Actually, the problem isn't in combinatorics, per se. You've just reminded me that I haven't set up the handy-dandy oct-cxx and oct-cc scripts, which are part of octaveN-dev for Mountain Lion. I use these script so that, in theory, people who upgrade in place aren't trying to use a nonexistent compiler. That only works when the compiler to use is actually spelled out. :-) There are a couple of workarounds: (1) You can edit /sw/bin/mkoctfile-3.6.2 and change all instances of "oct-cc" to "clang" and "oct-cxx" to "clang++". (2) you can create those scripts yourself. oct-cc contains: #!/bin/sh exec /sw/var/lib/fink/path-prefix-clang/cc "$@" and oct-cxx contains: #!/bin/sh exec /sw/var/lib/fink/path-prefix-clang/c++ "$@" -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
