attached patch improves configure for multiarch, at least on debian.
on debian /usr/lib32 is used for 64bit arch.
try also /usr/lib/${host_cpu}-${host_os}
harmonize amd64 to x86_64
try uname -m if uname -p fails
I applied most of the patch to svn trunk, just not the part where you manually symlink the macros files, because that should already be taken care of in the macros.h file with conditional includes.
please let me know if it works for you and I will close this issue.
my first comment with this information seems to be strangely missing...
thanks
David
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2012-09-24
I got this error with svn r5043 on debian amd64:
./configure --enable-optimization
checking for zlib libraries and header files... includes /usr/include libs /usr/lib/x86_64-linux-gnu (shared)
checking for mpfr libraries and header files... configure: error: no mpfr library found
debian only has /usr/lib/x86_64-linux-gnu/libmpfr.so.4, no libmpfr.so symlinked somewhere.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ok I found out how to get email notifications on changes to all trackers here so delays in responding to new items should not happen anymore.
thanks
david
I applied most of the patch to svn trunk, just not the part where you manually symlink the macros files, because that should already be taken care of in the macros.h file with conditional includes.
please let me know if it works for you and I will close this issue.
my first comment with this information seems to be strangely missing...
thanks
David
I got this error with svn r5043 on debian amd64:
./configure --enable-optimization
checking for zlib libraries and header files... includes /usr/include libs /usr/lib/x86_64-linux-gnu (shared)
checking for mpfr libraries and header files... configure: error: no mpfr library found
debian only has /usr/lib/x86_64-linux-gnu/libmpfr.so.4, no libmpfr.so symlinked somewhere.
After installing the needed libmpfr-dev it worked fine (gcc/g++).
Compilation with clang++ and clang also worked fine on debian x86_64.
ok great - BTW if you use --enable-optimization then you should use --disable-debug probably
actually in that case --disable-debug is enough because then optimizations are enabled by default
thanks for the confirmation
David
Last edit: David Nichols 2012-09-24