I ran into errors in the installation of the FDTD
software MEEP
on Ubuntu.Although I have hdf5-tools
and libhdf5
installed on my system(Ubuntu 14.04.1 64-bit), the make
step of the installation of MEEP
returns an error as in this paste.bin link. I configured MEEP
with the following command:
./configure --with-mpi --with-hdf5=/usr/lib/x86_64-linux-gnu/ > configure.out
I then ran make
which resulted in error and I could not run make install
afterwards. Without specifying the --with-hdf5
flag the configuration script used to return a warning as follows:
configure: WARNING: Couldn't find the HDF5 library!! Switching to ...
After installing numerous HDF5 libraries the problem was magically resolved; however, it was still present when I used the flag --with-hdf5=/usr/lib/x86_64-linux-gnu/
. But without the flag everything installed flawlessly(I tested the program afterwards and confirmed that it was running as expected.) except the GNU Scientific Library linkage. My questions are as follows:
- How the location of the library can be located from the command prompt? Is executing the command
locate hdf5
in the case of HDF5 and the finding the path of files ending with.so
,.a
enough? - How could the GNU Scientific Library be introduced to the configuration and make scripts?
- Do the
environmental variables
LDFLAGS, CPPFLAGS and LD_LIBRARY_PATH have anything to do with the configuration and make scripts recognizing these libraries. I think they have since they are mentioned in MEEP install instructions and MEEP install tutorial. I would appreciate it if someone can explain how these and the LIB variable are related with installation procedures.
Thanks for taking your time,
P.S: If required I can supply additional documents. I did not put the configuration script etc. since I do not know which one is automatically generated and which one is not(same goes for make
).