On 3/11/14, 4:37 AM, Howard A. Landman wrote:
> Hi, I'm a relative beginner with Fink but a relatively experienced
> software person otherwise.  I am mainly trying to install Octave so I can
> help someone run Matlab scripts for fMRI analysis.  I am on a MacBook Pro
> 5,1 running MacOS 10.6.8 (recently upgraded from 10.5).
>
> So, following online recommendations (e.g.
> http://wiki.octave.org/Octave_for_MacOS_X), I first signed up as an Apple
> developer, and downloaded and installed XCode 3.2.6 (which took about two
> days since it's 4+ GB and I have slow net here).  That all seemed to go
> OK, if slowly.
>
> Then I downloaded and installed Fink (fink-0.36.1.tar.gz), installed it,
> ran "fink selfupdate-rsync" and so on until Fink seemed satisfied that it
> was current.  That also seemed to go OK.
>
> Then I ran "fink install octave".  This goes on forever, and seems to be
> downloading and building a complete X11 distribution, a bunch of
> libraries, and many apps.  This eventually died after many many hours with
> messages:
>
>
> g++ -c  -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC   -fno-exceptions
> -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings
> -Wcast-qual    -DHAVE_CONFIG_H -I. -Ic-family -I../../gcc-4.8.2/gcc
> -I../../gcc-4.8.2/gcc/c-family -I../../gcc-4.8.2/gcc/../include
> -I../../gcc-4.8.2/gcc/../libcpp/include -I/sw/include -I/sw/include
> -I../../gcc-4.8.2/gcc/../libdecnumber
> -I../../gcc-4.8.2/gcc/../libdecnumber/dpd -I../libdecnumber
> -I../../gcc-4.8.2/gcc/../libbacktrace -DCLOOG_INT_GMP -I/sw/include
> -I/sw/include -I/sw/include ../../gcc-4.8.2/gcc/c-family/c-gimplify.c -o
> c-family/c-gimplify.o
> /var/tmp//ccUlnlvQ.s:27731:Unknown pseudo-op: .lOng
> /var/tmp//ccUlnlvQ.s:27731:Rest of line ignored. 1st junk character valued
> 48 (0).
> /var/tmp//ccUlnlvQ.s:28152:no such instruction: `package body Opt23_Pkg is'
> /var/tmp//ccUlnlvQ.s:28154:no such instruction: `function Get (R: Rec'
> /var/tmp//ccUlnlvQ.s:28154:no such instruction: `Positive'
> /var/tmp//ccUlnlvQ.s:28154:invalid character ')' in mnemonic
> /var/tmp//ccUlnlvQ.s:28155:no such instruction: `begin'
> /var/tmp//ccUlnlvQ.s:28156:no such instruction: `return R.Val (I)(M)'
> /var/tmp//ccUlnlvQ.s:28157:no such instruction: `end'
> /var/tmp//ccUlnlvQ.s:28159:no such instruction: `end Opt23_Pkg'
> /var/tmp//ccUlnlvQ.s:28160:Junk character 45 (-).
> /var/tmp//ccUlnlvQ.s:28160:Rest of line ignored. 1st junk character valued
> 45 (-).
> /var/tmp//ccUlnlvQ.s:28161:Junk character 45 (-).
> /var/tmp//ccUlnlvQ.s:28161:Rest of line ignored. 1st junk character valued
> 45 (-).
> /var/tmp//ccUlnlvQ.s:28163:no such instruction: `with System'
> /var/tmp//ccUlnlvQ.s:28163:no such instruction: `use System'
> /var/tmp//ccUlnlvQ.s:28165:no such instruction: `procedure Trampoline1 is'
> /var/tmp//ccUlnlvQ.s:28167:no such instruction: `Integer'
> /var/tmp//ccUlnlvQ.s:28169:no such instruction: `function F (I: Integer)
> return Integer is'
> /var/tmp//ccUlnlvQ.s:28170:no such instruction: `begin'
> /var/tmp//ccUlnlvQ.s:28171:no such instruction: `return A +I'
> /var/tmp//ccUlnlvQ.s:28172:no such instruction: `end F'
> /var/tmp//ccUlnlvQ.s:28174:Junk character 61 (=).
> /var/tmp//ccUlnlvQ.s:28174:Rest of line ignored. 1st junk character valued
> 32 ( ).
> /var/tmp//ccUlnlvQ.s:28176:no such instruction: `begin'
> /var/tmp//ccUlnlvQ.s:28177:no such instruction: `if CA
> =System.Null_Address then'
> /var/tmp//ccUlnlvQ.s:28178:no such instruction: `raise Program_Error'
> /var/tmp//ccUlnlvQ.s:28179:no such instruction: `end if'
> /var/tmp//ccUlnlvQ.s:28180:no such instruction: `end'
> /var/tmp//ccUlnlvQ.s:28182:Junk character 45 (-).
> /var/tmp//ccUlnlvQ.s:28182:Rest of line ignored. 1st junk character valued
> 45 (-).
> 'var/tmp//ccUlnlvQ.s:28183:no such instruction: `package
> Loop_Optimization15 is
> ).ar/tmp//ccUlnlvQ.s:28184:Junk character 13 (
> /var/tmp//ccUlnlvQ.s:28185:no such instruction: `type B16_T is mod 2**16'
> ).ar/tmp//ccUlnlvQ.s:28185:Junk character 13 (
> /var/tmp//ccUlnlvQ.s:28186:no such instruction: `for B16_T(83)ize use 16'
> ).ar/tmp//ccUlnlvQ.s:28186:Junk character 13 (
> /var/tmp//ccUlnlvQ.s:28187:no such instruction: `for B16_T(65)lignment use 1'
> ).ar/tmp//ccUlnlvQ.s:28187:Junk character 13 (
> ).ar/tmp//ccUlnlvQ.s:28188:Junk character 13 (
> /var/tmp//ccUlnlvQ.s:28189:no such instruction: `procedure Proc (L: B16_T)'
> ).ar/tmp//ccUlnlvQ.s:28189:Junk character 13 (
> ).ar/tmp//ccUlnlvQ.s:28190:Junk character 13 (
> /var/tmp//ccUlnlvQ.s:28191:no such instruction: `end Loop_Optimization15'
> ).ar/tmp//ccUlnlvQ.s:28191:Junk character 13 (
> /var/tmp//ccUlnlvQ.s:28192:Junk character 45 (-).
> /var/tmp//ccUlnlvQ.s:28192:Rest of line ignored. 1st junk character valued
> 45 (-).
> /var/tmp//ccUlnlvQ.s:28194:no such instruction: `with generic_dispatch_p'
> /var/tmp//ccUlnlvQ.s:28194:no such instruction: `use generic_dispatch_p'
> /var/tmp//ccUlnlvQ.s:28195:no such instruction: `procedure
> generic_dispatch is'
> /var/tmp//ccUlnlvQ.s:28196:FATAL:Symbol I already defined.
> make[3]: *** [c-family/c-gimplify.o] Error 1
> make[2]: *** [all-stage1-gcc] Error 2
> make[1]: *** [stage1-bubble] Error 2
> make: *** [bootstrap-lean] Error 2
> ### execution of /tmp/fink.rxZ6E failed, exit code 2
> ### execution of /tmp/fink.HFT8T failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-gcc48-4.8.2-1001
> (Reading database ... 21702 files and directories currently installed.)
> Removing fink-buildlock-gcc48-4.8.2-1001 ...
> Failed: phase compiling: gcc48-4.8.2-1001 failed
>
>
> Is there an easy way to fix this and continue, or have I just wasted 4
> days of my life?  When I took Machine Learning on coursera.org, they just
> had an Octave binary for Mac that I could download.  Sadly, that was
> version 3.4.0, and I need at least 3.6 for what I want to do now.
>
> Should I perhaps have tried to install "octave-atlas" instead?  (I guess
> I'll try that next.)  Any insight would be greatly appreciated.
>
> It's also not at all clear to me why building one app requires downloading
> or creating 50,000 new files and building a couple hundred other apps and
> libraries.  (And no, I am not making that 50K number up.)  In particular,
> I already have at least one gcc (/usr/bin/gcc -> gcc-4.2).  Is it not good
> enough?
>
>      Howard A. Landman
>
>

Don't bother trying a different Octave variant until you get gcc48 
straightened out -- they all need it.  The reason we require our own gcc 
package here is is that Apple doesn't provide a Fortran compiler, and 
that is is needed actually to build Octave.  Octave also requires a fair 
number of additional libraries and supporting executables.

I haven't seen this error myself on my own 10.6 setups.  It looks to me 
like cross-contamination from somewhere else, perhaps?  What do you get 
from the output of "fink dumpinfo -fenv gcc48" in a terminal window?

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to