[MacPorts] #45859: can't install the cmake 3.0.2
MacPorts
noreply at macports.org
Tue Nov 11 21:17:00 PST 2014
#45859: can't install the cmake 3.0.2
--------------------------------+--------------------------------
Reporter: lonelymoonxweng@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.3.2
Resolution: duplicate | Keywords:
Port: cmake |
--------------------------------+--------------------------------
Comment (by lonelymoonxweng@…):
Replying to [comment:4 larryv@…]:
To larryv at macports.org you are so nice. Thank you so much, I'll try your
method.
Dose any problem when I remove '/Library/Frameworks/libcurl.framework'?
> Replying to [comment:3 lonelymoonxweng@…]:
> > I check the main.log find that Macports didn't download the file
> > "cmake-3.0.2_1.darwin_14.x86_64.tbz2".This problem is before the erro
> > info of "build Undefined symbols for architecture x86_64:".
>
> When you ask MacPorts to install a port, it first attempts to download a
pre-built binary archive. If it fails to do so, it then downloads the
source code and tries to build the software from scratch. The problem is
not that you could not download a binary archive; the problem is that the
subsequent build failed.
>
> It is important that you understand this: Failure to download the binary
archive is an //expected failure mode//. There are many reasons that you
might not be able to download an archive: the port has licensing issues,
we don’t provide archives for your particular platform, etc.
>
> In your case, you are running OS X 10.10 Yosemite (Darwin 14), and we
currently don’t have archives for that platform. No one in the world can
download a MacPorts binary archive for Yosemite.
>
> > I have fixed the problem by cheating the installor by changeing
filename of "cmake-3.0.2_1.darwin_13.x86_64.tbz2" to
"cmake-3.0.2_1.darwin_14.x86_64.tbz2" and copying it to the
path:opt/local/var/macports/incoming.
> >
> > and then it ok now.
>
> You have //not// fixed the problem. You forced MacPorts to download
software that was compiled on OS X 10.9 Mavericks, not Yosemite. You are
running software that was not built for the platform you are using, and
you may run into any number of issues because of this.
>
> > And this problem is different with the #44237.
>
> I assure you, it is not.
>
> Please uninstall `cmake`, remove
`/Library/Frameworks/libcurl.framework`, and reinstall `cmake`. If you
don’t, we will not be able to provide further help when you inevitably run
into bizarre problems from running Mavericks-built software on Yosemite.
--
Ticket URL: <https://trac.macports.org/ticket/45859#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list