QM files not included in release source tarball

Issue #194 closed
Former user created an issue

Originally reported on Google Code with ID 194

What steps will reproduce the problem?
1. Follow the install instructions found in speedcrunch-0.10.1/INSTALL.txt
2. Create a 'build' subdirectory as described and 'cd' into it
3. Run '$ cmake ../src', '$ make', and '# make install'

What is the expected output? What do you see instead?

CMake Error: Error in cmake code at
$HOME/path_to_directory/speedcrunch-0.10.1/build/cmake_install.cmake:36:
FILE INSTALL cannot find file
"$HOME/path_to_directory/speedcrunch-0.10.1/src/i18n/ca.qm" to install.
Current CMake stack:
[1]     $HOME/path_to_directory/speedcrunch-0.10.1/build/cmake_install.cmake
make: *** [install] Error 255


What version of the product are you using? On what operating system?

I just installed Speedcrunch 0.10.1 in my 64-bit installation of Kubuntu 8.04.

Please provide any additional information below.

The issue is resolved by modifying the 'cmake_install.cmake' config to
point to 'speedcrunch-0.10.1/src/i18n/*.ts' instead of
'speedcrunch-0.10.1/src/i18n/*.qm'.

Reported by integr8e on 2008-06-04 19:30:42

Comments (10)

  1. Former user Account Deleted

    ``` Hi. The file that CMake doesn't find (ca.qm) is the first in the list of all translations. Released translations are QM files, source translations are TS files. "make install" tries to copy the released translations to the target, but they first need to be built. For doing so, you must type "lrelease speedcrunch.pro" in the same directory where speedcrunch.pro is. After that you'll see that "make install" does not complain about a thing, installs the QM files and finishes normally. We don't commit the QM files into the source code repository because it doesn't make sense, but it has been planned to add a trigger that performs the release of the translation during the "make install" command. I think next version will be the one to have that convenience... ```

    Reported by `helder.pereira.correia` on 2008-06-04 20:23:57 - Status changed: `Accepted` - Labels added: Type-Enhancement - Labels removed: Type-Defect

  2. Former user Account Deleted

    ``` What if we do not commit the files in the repository but still include them in the release tarball? ```

    Reported by `ariya.hidayat` on 2008-06-12 09:01:40

  3. Former user Account Deleted

    ``` Ariya: I did that in 0.10, but forgot in 0.10.1 :) Anyway, it's logical to release them on make install, even because people may want to build and install from the repo. ```

    Reported by `helder.pereira.correia` on 2008-06-12 09:06:52

  4. Former user Account Deleted

    ``` Fixed in trunk, revision 1425. ```

    Reported by `helder.pereira.correia` on 2008-07-09 00:10:45 - Labels added: Milestone-0.11

  5. Former user Account Deleted

    ``` Fixed in trunk, revision 1425. ```

    Reported by `helder.pereira.correia` on 2008-07-09 00:31:31 - Status changed: `Fixed`

  6. Former user Account Deleted

    ``` I decided to revert my change on make install. It revealed to be more of a pain than an advantage, so release tarball generation will have to cover the action now. Change: f4fb06a4eb05731a68b0a7d9e3e8dbac51fd1501 ```

    Reported by `helder.pereira.correia` on 2008-11-25 01:50:21

  7. Former user Account Deleted
    hey ,
    i faced same problem in linux ubuntu 14.04
    its like 
    
    CMake Error at crtmpserver/cmake_install.cmake:58 (FILE):
      file INSTALL cannot find
      "/usr/local/crtmpserver/builders/cmake/crtmpserver/../../../man/crtmpserver.1".
    Call Stack (most recent call first):
      cmake_install.cmake:42 (INCLUDE)
    make: *** [install] Error 1
    

    Reported by jdhillwan14 on 2014-06-06 06:00:49

  8. Former user Account Deleted
    @jdhillwan14: which version are you trying to build?
    

    Reported by helder.pereira.correia on 2014-06-10 23:39:03

  9. Log in to comment