octave-maintainers
[Top][All Lists]
Advanced

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

Re: Request for package testing


From: ederag
Subject: Re: Request for package testing
Date: Wed, 07 Dec 2016 21:00:47 +0100
User-agent: KMail/4.14.10 (Linux/3.16.7-48-desktop; KDE/4.14.9; x86_64; ; )

On Tuesday, December 06, 2016 23:38:26 Oliver Heimlich wrote:
> Colin, Sebastian, Kai,
> 
> thanks for checking.  The crlibm library installs and works correctly on
> your machines.
> 
> The issue with mpfr.h has nothing to do with my change and should
> equally occur when you try to install the last release from Octave Forge.
> ...
> > So your question is, if the interval package
> > needs or provides an option to point to (or detect) the MPFR-installation?
> 
> Currently, nothing like that happens in the package.  It just tries to
> compile with “-lmpfr” and mkoctfile should do the magic of looking up
> libraries and includes.
> ...

Indeed, the issue also arises with the previous interval package - on forge.

The problem is that mkoctfile does not exactly use the flags given at the 
octave configure step:

../configure 
--with-blas="/usr/local/gcc-6.2.0_binutils-2.27_isl/lib64/libopenblas.so" 
CPPFLAGS="-I/usr/local/gcc-6.2.0_binutils-2.27_isl/include" CFLAGS="-O2 
-march=native" CXXFLAGS="-O2 -march=native" FFLAGS="-O2 -march=native" 
LDFLAGS="-L/usr/local/gcc-6.2.0_binutils-2.27_isl/lib64 
-Wl,-rpath,/usr/local/gcc-6.2.0_binutils-2.27_isl/lib64" 
PKG_CONFIG_PATH=/usr/local/gcc-6.2.0_binutils-2.27_isl/lib64/pkgconfig 
JAVA_HOME=/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/ 
--prefix=/usr/local/gcc-6.2.0_binutils-2.27_isl

In particular the LDFLAGS seem to be missing:

g++ -c -I/usr/local/gcc-6.2.0_binutils-2.27_isl/include -fPIC 
-I/usr/local/gcc-6.2.0_binutils-2.27_isl/include/octave-4.2.0/octave/.. 
-I/usr/local/gcc-6.2.0_binutils-2.27_isl/include/octave-4.2.0/octave 
-I/usr/local/gcc-6.2.0_binutils-2.27_isl/include  -pthread -fopenmp -O2 
-march=native    mpfr_vector_sum_d.cc -o mpfr_vector_sum_d.o
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... mpfr_to_string_d.cc:23:18: fatal error: 
mpfr.h: No such file or directory
 #include <mpfr.h>
                  ^
compilation terminated.


The same happens with octave-4.0.1

Best regards,
ederag



reply via email to

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