[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
building development version on OSX 10.5
From: |
Carlo de Falco |
Subject: |
building development version on OSX 10.5 |
Date: |
Sun, 12 Sep 2010 12:34:14 +0200 |
Hi all,
As I understand the 3.4 release is getting closer I resumed trying to
build the development sources
on my system which is OSX 10.5 with gcc-4.2 and gfortran.
The build process fails with the following error:
------------------------------------------------------------
../../run-octave -f -q -H -p . --eval "geometryimages ('voronoi',
'eps');"
error: invalid assignment to cs-list outside multiple assignment.
error: matrix cannot be indexed with {
error: evaluating argument list element number 3
error: called from:
error: /Users/carlo/Desktop/OF/octave/octave/scripts/plot/print.m at
line 411, column 9
error: /Users/carlo/Desktop/OF/octave/octave/doc/interpreter/
geometryimages.m at line 54, column 5
make[3]: *** [voronoi.eps] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
------------------------------------------------------------
which seems to be due to the following strange behaviour in assigning
to empty fields in struct arrays:
------------------------------------------------------------
$ ./run-octave -q
>> a(2).b = 1
a =
{
1x2 struct array containing the fields:
b
}
>> a(1).b
ans = []
>> a(1).b = 1
error: invalid assignment to cs-list outside multiple assignment.
>>
------------------------------------------------------------
which does not seem to occur with previous versions:
------------------------------------------------------------
>> a(2).b = 1
a =
{
1x2 struct array containing the fields:
b
}
>> a(1).b
ans = []
>> a(1).b = 1
a =
{
1x2 struct array containing the fields:
b
}
>> version
ans = 3.2.3
>>
------------------------------------------------------------
has anyone experienced anything similar? any suggestions about where
to start for debugging this?
Thanks in advance,
Carlo
P.s. below is my configuration script:
PATH="/opt/graphicsmagick/current/bin/:\
/usr/bin:/bin:/usr/sbin:/sbin:\
/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/local/bin:\
/usr/local/gwTeX/bin/i386-apple-darwin-current:\
/usr/X11R6/bin:/sw/lib/flex/bin:/sw/bin:/sw/sbin:\
/Applications/Gnuplot.app/Contents/Resources/bin"
OPTFLAGS="-O3 -fforce-addr -march=i686 -mfpmath=sse,387 -mieee-fp \
-msse3 -msse2 -msse -mmmx -ggdb"
PKG_CONFIG_PATH="/opt/graphicsmagick/current/lib/pkgconfig/:\
${PKG_CONFIG_PATH}"
DYLD_LIBRARY_PATH="/opt/graphicsmagick/current/lib/:$
{DYLD_LIBRARY_PATH}"
LDFLAGS="-L/opt/qhull/2002/lib \
-L/opt/suitesparse/current/lib \
-L/opt/graphicsmagick/current/lib \
-L/sw/lib/flex/lib -L/sw/lib $LDFLAGS -framework Accelerate \
"
./configure \
PATH="${PATH}" \
OPTFLAGS="${OPTFLAGS}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH}" \
DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}" \
LDFLAGS="${LDFLAGS}" \
CPP=cpp-4.2 CC=gcc-4.2 CXX=g++-4.2 F77=gfortran-4.2 FFLAGS="$
{OPTFLAGS} -funroll-loops -ff2c $FFLAGS" \
CPPFLAGS="\
-I/opt/suitesparse/current/include \
-I/opt/graphicsmagick/current/include/GraphicsMagick \
-I/sw/lib/flex/include \
-I/sw/include \
$CPPFLAGS" \
CFLAGS="${OPTFLAGS} ${CFLAGS}" CXXFLAGS="${CFLAGS} ${CXXFLAGS}" \
--prefix=/opt/octave/3.3 --without-fftw3 --without-fftw3f --without-
glpk \
--without-arpack --without-qrupdate --with-arpack=no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- building development version on OSX 10.5,
Carlo de Falco <=