Skip to content
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

Problem with MeTA Installation on Ubuntu 14.04.2 LTS #97

Closed
IbrahimIbrahim opened this issue Jun 15, 2015 · 9 comments
Closed

Problem with MeTA Installation on Ubuntu 14.04.2 LTS #97

IbrahimIbrahim opened this issue Jun 15, 2015 · 9 comments

Comments

@IbrahimIbrahim
Copy link

cmake ../ -DCMAKE_BUILD_TYPE=ReleaseCMake Error at CMakeLists.txt:19 (find_package):
By not providing "FindICU.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ICU", but
CMake did not find one.
Could not find a package configuration file provided by "ICU" with any of
the following names:
ICUConfig.cmake
icu-config.cmake

@skystrife
Copy link
Member

Make sure you've done all of the steps mentioned in the relevant setup guide for Ubuntu 14.04. In particular, it looks like you forgot this step:

git submodule update --init --recursive

@IbrahimIbrahim
Copy link
Author

I've really gone through all the steps, but in our class' assignment we have one extra step, which is: "git reset --hard v1.3.6", and I am not sure if this might have affected the flow of the installation!
Anyway, I have repeated the steps and now after "cmake ../ -DCMAKE_BUILD_TYPE=Release", I get:

-- Performing Test HAS_CXX14
-- Performing Test HAS_CXX14 - Failed
-- Performing Test HAS_CXX1Y
-- Performing Test HAS_CXX1Y - Success
-- Compiler supports C++1y (using it)
-- Performing Test META_HAS_STD_SHARED_PTR_ATOMICS
-- Performing Test META_HAS_STD_SHARED_PTR_ATOMICS - Failed
-- Performing Test META_HAS_STREAM_MOVE
-- Performing Test META_HAS_STREAM_MOVE - Failed
-- Performing Test META_HAS_STD_MAKE_UNIQUE
-- Performing Test META_HAS_STD_MAKE_UNIQUE - Failed
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Performing Test CPPTOML_HAS_STD_PUT_TIME
-- Performing Test CPPTOML_HAS_STD_PUT_TIME - Failed
-- Performing Test CPPTOML_HAS_STD_REGEX
-- Performing Test CPPTOML_HAS_STD_REGEX - Failed
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring done
-- Generating done

@skystrife
Copy link
Member

That output looks right---the last line is telling you that cmake successfully generated the Makefiles needed for building. Try running

make

to build the code, and then

ctest --output-on-failure

to make sure your unit tests are passing.

@IbrahimIbrahim
Copy link
Author

93% tests passed, 1 tests failed out of 15, which is the rankers.
The following tests FAILED:
10 - rankers (Timeout)
do I have a problem in this case in my installation?

@skystrife
Copy link
Member

Hmm... it's probably just that the machine is too slow for the timeouts we've set. Try changing src/test/unit_tests.cmake on line 38 to have a higher number, maybe like 85 or so and try again.

@IbrahimIbrahim
Copy link
Author

Yes true, that would be the case over here since I am using Intel(R) Atom(TM) CPU N450@1.66GHz.
I was at least expecting to receive a test failure on test # 3 because of that, but sometimes I get that result, sometimes it surprisingly succeeds without throwing any errors!

@IbrahimIbrahim
Copy link
Author

100% tests passed, 0 tests failed out of 15
Voila!

Rankers were fixed by changing the time-out period to 100.
should I worry about my future MeTA projects using this Atom processor ?

@skystrife
Copy link
Member

No, I think you should be fine seeing as the issue was only that the tests took longer to complete. It seems like the outputs are still matching just fine, they just take a bit longer to complete.

If you happen to have a more powerful machine available, MeTA will make good use of it, but if you don't it should still be able to run fine on that machine.

@IbrahimIbrahim
Copy link
Author

During my future usage of MeTA and the applications I will be developing, I might somehow eventually add up to the experience of testing it over this processor; this will help us investigate MeTA's Portability. I wish I will embark upon the opportunity of understanding its code some day too!
thank you so much for your efforts and consistent support!
Best wishes,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants