octave-maintainers
[Top][All Lists]
Advanced

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

Re: Mac OS X 10.6 status


From: Michael D Godfrey
Subject: Re: Mac OS X 10.6 status
Date: Sun, 27 Dec 2009 00:17:13 -0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Thunderbird/3.0

On 12/26/2009 11:33 PM, Michael D Godfrey wrote:
At this point (with commenting out the sha1sum test) the
./autogen.sh ran to completion.  And,
./configure F77="gfortran -ff2c" --disable-readline g++="g++ -D_REENTRANT"
appeared to run OK.
However, make died due to failure of 2 of the BLAS interface tests. 
Correction:
At this point (with commenting out the sha1sum test) the
./autogen.sh ran to completion.  But,
./configure F77="gfortran -ff2c" --disable-readline g++="g++ -D_REENTRANT"
died due to failure of 2 of the BLAS interface tests. 

This problem had 2 causes:
1. The definition of lgammaf_r and lgamma_r  in the Xcode
    include files is dependent on _REENTRANT being
    defined.

2. The LSAME test failed due to unexpected use of _ prefix.

The first of these was fixed by including -D_REENTRANT in
the argument list for gcc.  The second was fixed by reverting
the gfortran in use to the Apple version 4.2.1.  I had tried various
gnu gfortrans up to 4.5.

This permitted compiling up to
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. -I/
usr/local/include -g -O2 -D_THREAD_SAFE -D_REENTRANT -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wformat -g -O2 -D_THREAD_SAFE -D_REENTRANT
-D_THREAD_SAFE -D_REENTRANT -g -O2 -D_THREAD_SAFE -D_REENTRANT -MT liboctinterp_la-gl2ps.lo -MD -MP -MF .deps/liboctinterp_la-gl2ps.Tpo -c gl
2ps.c  -fno-common -DPIC -o .libs/liboctinterp_la-gl2ps.o
In file included from gl2ps.c:39:
../libgnu/string.h:135: error: expected ';', ',' or ')' before '__dest'
gl2ps.c: In function 'gl2psListPointer':
=================================================
This error appears to be due to "restrict" not being declared before:
extern void *mempcpy (void *restrict __dest, void const *restrict __src,
                      size_t __n)
     _GL_ARG_NONNULL ((1, 2));
is referenced.  Either glob-libc.h did not get referenced, or the
tests for defining restrict failed.
=================================================

My system is not completely "standard", but I  have as a target to find the
minimum amount of stuff that needs to be added to get Octave to install
correctly.

If someone knows how to cause the definition of restrict, it would be
helpful.  At least does anyone know how to get gcc to print its
STDC_VERSION string?

Michael



reply via email to

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