-
Notifications
You must be signed in to change notification settings - Fork 109
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
Mac Framework not installing Libraries when using cmake #450
Comments
Did you get any errors? What version of Darwin are you on? I just checked the latest sources on my VM with Mojave 10.14 and it built and installed without failure. |
My main build machine also is running Mojave. I just had a look at the wiki page. Nothing particularly useful. The first thing to note is that I get a configure error as downloading the source tarball from GitHub does not include the The second issue I ran into is
which I can work around in testing, by manually running
in that directory and then proceeding with the MacPorts build. It looks like a permissions issue. The current state of the Portfile is in flux as I'm attempting to move from autotools to cmake. Yes, the homepage hasn't been updated and the manpages variant certainly wouldn't build under cmake. As I can't directly attach a Portfile, I've pasted it here. Note: Coin builds and installs correctly, but the Coin-framework subport fails.
|
Thanks for reporting back. Coin wiki Git section explains why downloading the source tarball from Releases won't work. Coin3D uses submodules all over its repositories and they won't be properly populated in the default Github generated source tarballs. Please use the CI generated source tarballs or zip files. Along those you'll find the I was also facing the permissions issue as I am not permitted to install to Man pages will be build properly if Expat may be added as additional dependency. Then Hope, that helps further for updating the macports port. |
Unfortunately, downloading directly from a git repo is frowned upon by the MacPorts community, and is only used in -devel ports. A stable port should not have to pull in a number of sub-repos. Downloading and joining multiple sub-repos can be done manually, but that also means reproducing the github PortGroup functionality (an extreme example is the I was not referring to installing in /opt, which is always done using sudo under MacPorts, but rather an issue during the build process, which is normally done w/o root privileges. Since my last post I already figured out how to build the Documentation. However, I do not see the Thanks for the hint on expat! |
"Unfortunately, downloading directly from a git repo is frowned upon by the MacPorts community, and is only used in -devel ports. A stable port should not have to pull in a number of sub-repos." Understandable from a package maintainers point of view. I think I misunderstood or misinterpreted the installation issues as both builds, Coin 4.0.0 release and current Github coin repository went without issues as restricted user using a command line as given in the wiki. What CMake version and what Xcode version are you using? I used CMake 3.13.4 and Xcode 10.1 (A bit outdated, but it just works) Are you building the coin 4.0.0 release? Then it's OK, it will not contain the man page fix. The fix has been only recently added. Time for a 4.0.1 release I think. |
I tweaked the download to pull form releases rather than archive. Thus the patch to It turns out the issue with |
Yes, I'm building the 4.0.0 release.
and Xcode 10.3 |
I just added a PR to macports to update Coin3d related port files (simage, Coin, SoQt, and Quarter) to their current versions. |
When I build Coin-4.0.0 using
configure
under MacPorts, I getwhile there is no such directory when building with
cmake
withall other files are installed correctly.
This is a blocker when trying to build SoQt, py-pivy and FreeCAD, as they are looking for the
.cmake
files.The text was updated successfully, but these errors were encountered: