|
From: | Eugenio Gianniti |
Subject: | Re: configure.ac and Dolfin.h |
Date: | Wed, 5 Mar 2014 01:50:13 +0000 |
On 02 Mar 2014, at 08:10, c. <address@hidden> wrote:
I prepared a patch, that I hereby attach, to address the issue. Currently I can’t test it because the version of FEniCS I installed crashes python, leading to the failure of the build. Anyway, since the problem is related to the flags passed to mkoctfile
and those rules work for me, I would ask you to try to apply the patch and build to test it.
A couple of considerations:
- if you installed FEniCS in a non-standard location you should add its lib/pkgconfig to the environment variable PKG_CONFIG_PATH [1]. The same applies to eigen, in case.
- if you downloaded a binary distribution of FEniCS there could be troubles with absolute paths written on another system in the .pc files. I had to manually correct them to fit in my computer.
- as of now my proposal with macros and the previous commit by Juan Pablo should "work together" with the meaning that if pkg-config does its work the package will successfully configure and both approaches will cooperate, otherwise ./configure will
just error out. Maybe tomorrow with further study of the issue I might come up with a solution, anyway suggestions are welcome!
- using PKG_CHECK_MODULES requires the use of Automake. At least this is what I got from the Octave core configure.ac and Makefile.am, which use the @var@ substitution to access variables obtained from the macro. I also added the files that Automake
requires to the patch.
I’m looking forward to having your feedback on this preliminary patch.
Bye,
Eugenio
|
patch_configure.diff
Description: patch_configure.diff
|
[Prev in Thread] | Current Thread | [Next in Thread] |