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

building opencamlib failed #54

Closed
chrisb-github opened this issue Dec 9, 2017 · 3 comments
Closed

building opencamlib failed #54

chrisb-github opened this issue Dec 9, 2017 · 3 comments

Comments

@chrisb-github
Copy link

chrisb-github commented Dec 9, 2017

Tried to install opencamlib according to this forum post: https://forum.freecadweb.org/viewtopic.php?f=15&t=21267.
I get the following errors. The mentioned directories and files in the /tmp directory do not exist.
`
maccb:tmp cb$ brew install opencamlib
==> Installing opencamlib from freecad/freecad
==> Cloning https://github.com/aewallin/opencamlib.git
Updating /Users/cb/Library/Caches/Homebrew/opencamlib--git
==> Checking out revision 398f7c7fac60169fda067ea0f5ebc15083361f5c
==> cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/l
Last 15 lines from /Users/cb/Library/Logs/Homebrew/opencamlib/01.cmake:
-- called with version = 11.10.83
-- architecture is:
-- architecture is:
-- CPACK_DEBIAN_DISTRIBUTION_RELEASES : lucid;maverick;natty;oneiric;precise;quantal
-- CMAKE_SOURCE_DIR is = /tmp/opencamlib-20171209-33252-n24h8m/src
-- descr file = /tmp/opencamlib-20171209-33252-n24h8m/src/deb/debian_package_description.txt
-- type:
-- 'make' for a normal build
-- 'make -j8' to build faster (if you have many cpus)
-- 'make install' to install
-- 'make package' to build a binary deb-packate
-- 'make spackage' to build debian source-packages
-- 'make test' to run the tests
-- Configuring incomplete, errors occurred!
See also "/tmp/opencamlib-20171209-33252-n24h8m/build/CMakeFiles/CMakeOutput.log".

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/freecad/homebrew-freecad/issues

These open issues may also help:
Reminder: update opencamlib #43
maccb:tmp cb$`

@ianrrees
Copy link
Collaborator

ianrrees commented Dec 9, 2017

I'll try to have a look at this soon.

@ianrrees
Copy link
Collaborator

Looks like there are two aspects to this problem:

1 I guess the Homebrew Python 2 distribution has changed slightly, so there's no longer a symlink called just "python" where there used to be. Our Homebrew formula tells the OCL cmake file the wrong path to Python as a result, so the OCL cmake fails - I'll fix that shortly.
2 There's an issue with newer cmakes, which is fixed by a PR upstream - aewallin/opencamlib#25

I'm inclined to just fix 1 locally, and not setup a patch for 2 which would be obviated by that PR. If you need to build OCL sooner though, do something like "brew edit opencamlib", change the "head" to use https://github.com/neomilium/opencamlib.git , and then install like "brew install --HEAD opencamlib"

ianrrees added a commit that referenced this issue Dec 16, 2017
@ianrrees
Copy link
Collaborator

@PLChris - just a note that @aewallin updated opencamlib, and I've updated our brew formula to match. So, if you run in to more problems please let us know!

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