-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation using path with space #446
Comments
I can reproduce the bug with Waf. There is a similar bug with CMake. The failure is not due to mathlib specifically, it would fail with any 3rd-party library (soplex, gaol, filib,...) Both bugs are due to the fact that sometimes the path is given on the command line with spaces not safely escaped. This happens during the './configure ...' command of 3rd party library with waf and during the 'make' command of 3rd party library with CMake. |
For now I would recommand to avoid spaces (and any weird characters like '"\()`*[] ) in the fullpath of the Ibex source directory. |
After investigation, the problem is due to Autotools... |
Thanks Cyril for digging the question. |
Thanks Cyril! |
@gchabert @SimonRohou Maybe we can check the absolute path at the beginning of the CMake script and print a warning/an error if there is space in it. |
It's up to you. For me, updating the documentation as Simon said is enough. |
Ok let's just update the documentation, saying that spaces and other weird characters in the fullpath of the Ibex directory lead to bug, especially when ibex needs to build and install 3rd-party libraries as Mathlib, Gaol, Filib, Soplex, ... |
Ok for me! |
It's done, I close the issue. |
A student tried to install the library in a path with a space, such as
./my project/ibex-lib/
. It fails the installation of mathlib.This has been tried with Waf and happens during the
./waf configure
step.The message error is not obvious to understand that the white space is the problem.
Not tried with CMake.
The text was updated successfully, but these errors were encountered: