← Back to team overview

desktop-packages team mailing list archive

[Bug 969556] Re: There is no "make install" target in the Makefile generated by CMake

 

Still present in wily!

This seems like such an easy thing to fix...

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtest in Ubuntu.
https://bugs.launchpad.net/bugs/969556

Title:
  There is no "make install" target in the Makefile generated by CMake

Status in gtest package in Ubuntu:
  Confirmed

Bug description:
  Hi,

   I understand that the "libgtest0" package
  (http://packages.ubuntu.com/natty/libgtest0), mainly containing the
  ligtest.a and libgtest_main.a files, is no longer available in Ubuntu
  12.04, as you mentioned in the changelog
  (http://changelogs.ubuntu.com/changelogs/pool/universe/g/gtest/gtest_1.6.0-1ubuntu4/changelog
  namely at 1.6.0-1ubuntu2) of the "libgtest-dev" package
  (http://packages.ubuntu.com/precise/libgtest-dev).

   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
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtest/+bug/969556/+subscriptions