New Firedrake dependency - libspatialindex
Dear Firedrake users, the latest update adds a new dependency to Firedrake: libspatialindex. (Ubuntu package name: libspatialindex-dev; Homebrew name: spatialindex) The install script is updated accordingly, so fresh installs should just work, however, updates might fail. You may just install the package manually before updating, or you could rebuild the update script: http://firedrakeproject.org/download.html#recovering-from-a-broken-installat... Best regards, Miklós
I just did a fresh install on my Macbook (also upgraded to El Capitan) but I am still getting errors. Attached is the log file. Can you guys tell what's going on? Thanks, Justin On Wed, Oct 28, 2015 at 12:20 PM, Homolya, Miklós < m.homolya14@imperial.ac.uk> wrote:
Dear Firedrake users,
the latest update adds a new dependency to Firedrake: libspatialindex. (Ubuntu package name: libspatialindex-dev; Homebrew name: spatialindex)
The install script is updated accordingly, so fresh installs should just work, however, updates might fail. You may just install the package manually before updating, or you could rebuild the update script:
http://firedrakeproject.org/download.html#recovering-from-a-broken-installat...
Best regards, Miklós
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/10/15 07:45, Justin Chang wrote:
I just did a fresh install on my Macbook (also upgraded to El Capitan) but I am still getting errors. Attached is the log file.
Can you guys tell what's going on?
firedrake/spatialindex.cpp:259:10: fatal error: 'spatialindex/SpatialIndex.h' file not found #include "spatialindex/SpatialIndex.h" Suggests that although spatialindex appears to be installed, your compiler does not find it. This header file should be in /usr/local/include So what do the following say? $ ls /usr/local/include/spatialindex $ mpicc -x c -v -E /dev/null The latter should print out a section: #include <...> search starts here: LIST OF DIRECTORIES End of search list If /usr/local/include doesn't appear in this list of directories can you try: $ xcode-select --install And then check again. Cheers, Lawrence -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJWMeU2AAoJECOc1kQ8PEYv6lUH/R1JnxVnmIDheeqQ4Z0xWuSq ePznzKtGb4cQPRddBxksC46miENCdeXF3zhOEAfqGV5eaAum/7xW7FgzbiPHy+dl 9V1RyKnzQm+WXHS0dfWuqa0QOJITnJivzyMZxm7Rt5Ayqa/S5AK2yq2fsI399JI8 Nwt53/yFjRvy/pja7YhCTMfb/gquz82ZP/EvtU5RWcHEh+Fr1MQ///GzJVRDGgGk ldSxdawDJW8sAdmUkdtLmwEj1tfRXRVtrdKg0fzgFWjEzhFbzOH8lUNavoKsLJHu SpIjFvc1BEbR67hzsJugeRN9ZWNJhwLn1X5Hu1CIhYfM+IR0kx9SnkJKMYHjc3I= =0S8+ -----END PGP SIGNATURE-----
Hi Lawrence, Yeah the issue was that /usr/local/include was not shown originally. I ran code-select --install and everything runs fine now. Thanks, Justin On Thu, Oct 29, 2015 at 3:21 AM, Lawrence Mitchell < lawrence.mitchell@imperial.ac.uk> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 29/10/15 07:45, Justin Chang wrote:
I just did a fresh install on my Macbook (also upgraded to El Capitan) but I am still getting errors. Attached is the log file.
Can you guys tell what's going on?
firedrake/spatialindex.cpp:259:10: fatal error: 'spatialindex/SpatialIndex.h' file not found #include "spatialindex/SpatialIndex.h"
Suggests that although spatialindex appears to be installed, your compiler does not find it. This header file should be in /usr/local/include
So what do the following say?
$ ls /usr/local/include/spatialindex $ mpicc -x c -v -E /dev/null
The latter should print out a section:
#include <...> search starts here: LIST OF DIRECTORIES End of search list
If /usr/local/include doesn't appear in this list of directories can you try:
$ xcode-select --install
And then check again.
Cheers,
Lawrence -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux)
iQEcBAEBAgAGBQJWMeU2AAoJECOc1kQ8PEYv6lUH/R1JnxVnmIDheeqQ4Z0xWuSq ePznzKtGb4cQPRddBxksC46miENCdeXF3zhOEAfqGV5eaAum/7xW7FgzbiPHy+dl 9V1RyKnzQm+WXHS0dfWuqa0QOJITnJivzyMZxm7Rt5Ayqa/S5AK2yq2fsI399JI8 Nwt53/yFjRvy/pja7YhCTMfb/gquz82ZP/EvtU5RWcHEh+Fr1MQ///GzJVRDGgGk ldSxdawDJW8sAdmUkdtLmwEj1tfRXRVtrdKg0fzgFWjEzhFbzOH8lUNavoKsLJHu SpIjFvc1BEbR67hzsJugeRN9ZWNJhwLn1X5Hu1CIhYfM+IR0kx9SnkJKMYHjc3I= =0S8+ -----END PGP SIGNATURE-----
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
participants (3)
- 
                
                Homolya, Miklós
- 
                
                Justin Chang
- 
                
                Lawrence Mitchell