There is no "make install" target in the Makefile generated by CMake
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gtest (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi,
I understand that the "libgtest0" package (http://
I also understand that those librarues, namely libgtest and libgtest_main should be now built from the source, by the user. You install the sources in /usr/src/gtest/src and you also provide a CMakeLists.txt file into /usr/src/gtest
However, please take into account the following:
1. there is no specific guide about how to build the sources (cd /usr/src/gtest/src && cmake .. && make & cp libgtest*.* /usr/lib/)
2. the above commands require admin rights (aka sudo), because the /usr/src is not writeable and the compiler cannot write its outputs therein
3. there is no "make install" target in the (CMake-)generated Makefile, thus the need for the above manuale file copying
4. the above commands are tedious to enter manually, after installing the package, so I suggest a script to be run during the installation and building and installing those libraries (if you insinst in not providing the libgtest0 package no more)
5. making cmake package a dependency for the libgtest-dev/gtest package is overkill and, also, could disturb the average user
Thank you.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libgtest-dev 1.6.0-1ubuntu4
ProcVersionSign
Uname: Linux 3.2.0-21-generic x86_64
ApportVersion: 2.0-0ubuntu1
Architecture: amd64
Date: Fri Mar 30 21:46:00 2012
Dependencies:
InstallationMedia: Xubuntu 12.04 "Precise Pangolin" - Alpha amd64 (20111208)
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gtest
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.