I was using the command fink install octave -- does that install the
octave-x11 package?
On Sun, Aug 5, 2012 at 2:44 PM, Alexander Hansen <
alexanderk.han...@gmail.com> wrote:
> On 8/5/12 11:02 AM, Michael Pender wrote:
> > I'm trying to install octave on OS X 10.8. My fink version is 0.34.2 and
> > my OS is 10.8
> >
> > I think I'm running the Apple X11 since I installed xquartz, but I'm not
> > sure how to tell.
> >
> > When I try to install octave I get this error:
>
> No. You're getting this error when you install fltk-x11. You aren't
> doing anything Octave yet.
>
> > === installing FL ===
> > echo "Installing include files in
> > /sw/src/fink.build/root-fltk-x11-1.1.7-1004/sw/include..."
> > Installing include files in
> > /sw/src/fink.build/root-fltk-x11-1.1.7-1004/sw/include...
> > mkdir -p -p /sw/src/fink.build/root-fltk-x11-1.1.7-1004/sw/include
> > rm -rf /sw/src/fink.build/root-fltk-x11-1.1.7-1004/sw/include/FL
> > mkdir -p /sw/src/fink.build/root-fltk-x11-1.1.7-1004/sw/include/FL
> > chmod 755 /sw/src/fink.build/root-fltk-x11-1.1.7-1004/sw/include/FL
> > cp ../FL/*.[hHr]
> /sw/src/fink.build/root-fltk-x11-1.1.7-1004/sw/include/FL
> > chmod 644
> /sw/src/fink.build/root-fltk-x11-1.1.7-1004/sw/include/FL/*.[hHr]
> > === installing src ===
> > echo Compiling filename_list.cxx...
> > Compiling filename_list.cxx...
> > g++ -I.. -Os -Wall -Wunused -Wno-format-y2k -fPIC -fno-exceptions
> > -D_LARGEFILE_SOURCE -
> > D_LARGEFILE64_SOURCE -I/sw/include/freetype2 -I/sw/include -U__APPLE__ -
> > I/sw/lib/fontconfig2/include -I/sw/lib/xft2/include -MD -I/sw/include
> > -I/sw/include/freetype2 -
> > I/sw/include -I/usr/X11R6/include -c filename_list.cxx
> > filename_list.cxx:70:11: error: no matching function for call to
> 'scandir'
> > int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
> > ^~~~~~~
> > /usr/include/dirent.h:143:5: note: candidate function not viable: no
> known
> > conversion from 'int (*)(const void *, const void *)' to 'int
> > (*)(const
> > struct dirent **, const struct dirent **)' for 4th argument;
> > int scandir(const char *, struct dirent ***,
> > ^
> > 1 error generated.
> > make[1]: *** [filename_list.o] Error 1
> > === installing fluid ===
> > make[1]: *** No rule to make target `../src/libfltk.1.1.dylib', needed
> > by `fluid-shared'. Stop.
> >
> >
> > I googled for info and the brew installer was having a similar problem
> > someone traced it to a change in the
> > /usr/include/dirent.h file in Mountain Lion.
> > (https://github.com/mxcl/homebrew/issues/13649)
> >
> > I'm not sure how to make the same change for fltk in fink.
> >
> > Thanks for any help, I'm completely new to fink.
> >
> > - Mike
> >
> >
>
> That particular change wouldn't work with fltk-x11, anyway, since its
> src/filename_list.cxx is different due to being an older version.
>
> I've just implemented a version of the Homebrew change for fltk13-aqua,
> however, and that should be available shortly via selfupdate. You might
> try installing "octave" rather than "octave-x11" for the time being.
> --
> 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-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