Opened 6 years ago
Last modified 4 months ago
#58142 closed defect
cmake: Alert panel appears saying I need to install Java (which I have done), then fails — at Version 2
Reported by: | nikgervae | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | Cc: | ||
Port: | cmake |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Per the transcript below, when I try to install youtube-dl, at the point where "Configuring cmake" appears, a panel appears onscreen telling me I need to install Java for the java command-line tool. I have done this, and the error continues to appear. If I enter the command "which java", it replies: "/usr/bin/java", so it appears to be installed.
% sudo port install youtube-dl ---> Computing dependencies for youtube-dl ---> Cleaning youtube-dl ---> Scanning binaries for linking errors ---> Found 2 broken files, matching files to ports ---> Found 1 broken port, determining rebuild order You can always run 'port rev-upgrade' again to fix errors. The following ports will be rebuilt: physfs @3.0.1+universal Continue? [Y/n]: ---> Computing dependencies for cmake ---> Configuring cmake Error: Failed to configure cmake: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log for details. Error: Problem while installing cmake Error: rev-upgrade failed: Error rebuilding physfs Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Change History (3)
comment:1 Changed 6 years ago by nikgervae
Summary: | Trying to install youtube-dl raises an alert panel saying I need to install Java, which I have done → Trying to install youtube-dl raises an alert panel saying I need to install Java (which I have done), then fails |
---|
comment:2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | youtube-dl java removed |
Milestone: | MacPorts 2.6.0 |
Owner: | set to michaelld |
Port: | cmake added |
Status: | new → assigned |
Summary: | Trying to install youtube-dl raises an alert panel saying I need to install Java (which I have done), then fails → cmake: Alert panel appears saying I need to install Java (which I have done), then fails |
Note: See
TracTickets for help on using
tickets.
Your transcript shows that youtube-dl had already been successfully installed prior to you running
sudo port install youtube-dl
this time. It also shows that for some reason physfs is considered broken, and rebuilding it required cmake, which was unable to be configured for some reason./usr/bin/java is part of macOS and is always there, even if Java is not installed. If Java is installed, /usr/bin/java runs it; if not, it displays the dialog box you encountered.
Please attach the main.log file mentioned in the transcript so that we can see what the problem was. I don't think cmake requires Java (it didn't used to), so it might be something else.