help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Latest hg source on OSX leopard


From: c.
Subject: Latest hg source on OSX leopard
Date: Tue, 17 Jun 2008 13:45:31 +0100

Hi,

I am trying to compile the latest sources from hg on
my new OSX leopard machine.

I used fink to get all dependencies (I am trying to link to fltk-aqua)
except I am trying to use the Apple supplied implementation of OpenGL.

1) at first I got stuck on compilation of gl-renderer.h as it has
#include GL/gl.h
which on leopard should be OpenGL/gl.h instead.
As I'm not really sure how to have configure check which headers to include
I just changed the #include clause in gl-renderer.h for the time being

2) after the above change, the libraries and executable seem to have been built but make died again with the following error while trying to build documentation:

---------------8<---------------8<---------------8<---------------
make -C interpreter all
../../run-octave -f -q -H -p . --eval "sparseimages ('gplot', 'txt');"
error: invalid character `' (ASCII 0) near line 61, column 2
parse error near line 61 of file /Users/carlo/Desktop/OF/new/octave/ scripts/sparse/speye.m

syntax error



error: parse error while reading function file /Users/carlo/Desktop/OF/ new/octave/scripts/sparse/speye.m
error: evaluating binary operator `*' near line 60, column 9
error: evaluating binary operator `+' near line 60, column 19
error: evaluating binary operator `+' near line 60, column 53
error: evaluating assignment expression near line 60, column 5
error: called from `txtimages' in file `/Users/carlo/Desktop/OF/new/ octave/doc/interpreter/sparseimages.m'
error: evaluating if command near line 27, column 5
error: evaluating if command near line 24, column 3
error: called from `sparseimages' in file `/Users/carlo/Desktop/OF/new/ octave/doc/interpreter/sparseimages.m'
make[3]: *** [gplot.txt] Error 1
make[2]: *** [interpreter] Error 2
make[1]: *** [doc] Error 2
make: *** [all] Error 2
---------------8<---------------8<---------------8<---------------

it seems that adding some whitespace at the end of scripts/sparse/ speye.m fixes this so that I can proceed further but I get stuck again with the same
error on rem.m

anyone has an idea about what might be going on?

Thanks,
c.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]