octave-maintainers
[Top][All Lists]
Advanced

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

Re: error: invalid character `' (ASCII 0) near line 164, column 2 (prob


From: Joel LeBlanc
Subject: Re: error: invalid character `' (ASCII 0) near line 164, column 2 (problem avoided)
Date: Thu, 31 Dec 2009 15:16:20 -0500

It is definitely the OSX flex...  I am using the fink version without issue.  My build script (which points to the fink version) is below:

--- Start Script ---
#! /bin/sh -ev

hg pull
hg update -C default
hg import lo-specfun.patch

# Apple's vecLib:
export blas='--with-lapack=-Wl,-framework,Accelerate,-dylib_file,/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib:/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib --with-blas=-Wl,-framework,Accelerate,-dylib_file,/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib:/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib'

# Use newer glibtool from fink
export LIBTOOL='glibtool'

# Autogen
./autogen.sh

# Similar to Fink's configure
./configure --prefix=/sw FLIBS=/sw/lib/gcc4.4/lib/libgfortran.dylib F77=/sw/bin/gfortran CC=gcc-4 CPP=cpp-4 CXX=g++-4 --infodir='${prefix}/share/info' --mandir='${prefix}/share/man' --libexecdir='${prefix}/lib' -enable-shared -enable-dl --disable-static --without-mpi --with-hdf5 --with-fftw --without-framework-carbon --without-framework-opengl CPPFLAGS="-I/sw/include -I/sw/include/freetype2 -I/sw/lib/flex/include" FFLAGS="-ff2c" LDFLAGS="-L/sw/lib/fltk-aqua/lib -L/sw/lib/flex/lib -L/sw/lib/gcc4.4/lib/ -L/sw/lib -lgfortran -lGraphicsMagick -lfltk_gl -lfltk -lpthread" $blas

make clean
make all
make check

# NOTE: Octave requires graphicsMagick as well as imagemagick1-dev

# Using the newer glibtool from fink

# Bootstrap file requires git
--- End Script ---

~Joel

On Thu, Dec 31, 2009 at 1:04 PM, Michael D Godfrey <address@hidden> wrote:
Ben,

I just looked on my Linux Fedora 12 system. It uses
flex 2.3.5.  So, it appears that the Mac version must be broken
in some way that is not just the wrong version.  So, you
might try compiling the 2.3.5 version from sourceforge.
They also have earlier versions available in case 2.3.5
fails.

Michael



reply via email to

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