[MacPorts] #48800: gtest: please remove
MacPorts
noreply at macports.org
Thu Feb 9 03:46:24 UTC 2017
#48800: gtest: please remove
-------------------------+-------------------
Reporter: ryandesign | Owner: blair
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gtest |
-------------------------+-------------------
Comment (by mojca):
The FAQ entry is now
[https://github.com/google/googletest/blob/master/googletest/docs/FAQ.md
#why-is-it-not-recommended-to-install-a-pre-compiled-copy-of-google-test-
for-example-into-usrlocal here].
I just stumbled on this after playing with dvisvgm. I wanted to run tests
when I got an error:
{{{
BezierTest.cpp:21:10: fatal error: 'gtest/gtest.h' file not found
#include <gtest/gtest.h>
^
1 error generated.
}}}
Saying to myself: oh, look, we have a port for gtest, let's try it out. Of
course it didn't install since SVN on google code is no longer working, so
I ported it to github (I'll add an attachment).
It built fine, but failed during `destroot` with
{{{
Error: Failed to destroot gtest: error copying
"/path/to/gtest/work/build/libgtest.a": no such file or directory
}}}
Then I found this ticket.
In the light of this discussion I was wondering if there was a way to at
least create some PortGroup that could simplify testing other ports using
googletest.
--
Ticket URL: <https://trac.macports.org/ticket/48800#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list