Problem with installing dealii with macOS 10.13.4

33 views
Skip to first unread message

Henry Ho

unread,
May 1, 2018, 10:04:38 PM5/1/18
to deal.II User Group
Hello, I am using Mac with macOS 10.13.4 installed. Since I am using cmake version 3.11, I switch on the cmake package by uncommenting the line: PACKAGES="${PACKAGES} once:cmake" in the candii.cfg file.

When I am trying to install dealii, the following error occurred:

Building opencascade 0.18.2

./candi_configure: line 91: /Users/winghangho/deal.ii-candi/cmake-3.4.0-rc2-Linux-x86_64/bin/cmake: cannot execute binary file: Exec format error

Failure with exit status: 126

Exit message: There was a problem configuring opencascade 0.18.2.


Any insight of how to fix this?


Thanks!

Henry Ho

unread,
May 1, 2018, 10:08:46 PM5/1/18
to deal.II User Group
I was trying to install it using the source-based installer candi

Timo Heister

unread,
May 3, 2018, 4:19:00 PM5/3/18
to dea...@googlegroups.com
Can you try to install a new version of cmake on your system (see
https://urldefense.proofpoint.com/v2/url?u=https-3A__cmake.org_download_&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=8NnsLGUmM8lBYr-vfh_C3OPSzsZL6HE9btGBALQEaD0&s=a9z7p4oJoELJ25EFQwnaeI84kUrOBFCk2n8gJFMDtNM&e= ) instead? I think the cmake package
inside candi only works on linux.
> --
> The deal.II project is located at https://urldefense.proofpoint.com/v2/url?u=http-3A__www.dealii.org_&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=8NnsLGUmM8lBYr-vfh_C3OPSzsZL6HE9btGBALQEaD0&s=B_YhnrvSgcuhju6ZsFFT1BQCgb091qaAo2kaz3AY3rU&e=
> For mailing list/forum options, see
> https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_forum_dealii-3Fhl-3Den&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=8NnsLGUmM8lBYr-vfh_C3OPSzsZL6HE9btGBALQEaD0&s=j1dEgxfB2DBghVY9QGVSdzrhWKg0Hxt7zUMp5maenuo&e=
> ---
> You received this message because you are subscribed to the Google Groups
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dealii+un...@googlegroups.com.
> For more options, visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=8NnsLGUmM8lBYr-vfh_C3OPSzsZL6HE9btGBALQEaD0&s=5aSJb8OUYMhxscJfuzk6blbqYIRVSXazkk2tXbf5rKY&e=.



--
Timo Heister
http://www.math.clemson.edu/~heister/

Uwe Köcher

unread,
May 4, 2018, 3:11:50 AM5/4/18
to deal.II User Group
Indeed Timo - a long time ago we had the compilation of cmake but we decided to do download only - this works only on linux

We should consider the case for macos and download a different version or do the compilation again.

PS. I use brew for installing cmake and the compilers, from there you also can update to a more recent version.

Uwe Köcher

unread,
May 4, 2018, 8:26:23 AM5/4/18
to deal.II User Group
now I understand the problem, the cmake is too know. I'm working on a candi patch. On my mac it seem to run.

You can check it out by
cd candi

best
  Uwe

Reply all
Reply to author
Forward
0 new messages