Menu

#16 No rule to make target `../locale/qm-files'

V2
open-accepted
5
2009-02-13
2008-06-22
Stumpy842
No

Build gets to 99% then errors with:

Scanning dependencies of target locale
make[2]: *** No rule to make target `../locale/qm-files', needed by `locale/CMakeFiles/locale'. Stop.
make[1]: *** [locale/CMakeFiles/locale.dir/all] Error 2
make: *** [all] Error 2

Building 2.1-0 from tarball.

Discussion

  • S. Stadelmann

    S. Stadelmann - 2009-02-13
    • assigned_to: nobody --> yakin
    • status: open --> open-accepted
     
  • S. Stadelmann

    S. Stadelmann - 2009-02-13

    Hmm, can you please post me the complete output of make?

     
  • Stumpy842

    Stumpy842 - 2009-02-15

    I've since worked around this error, here's the %build section of my spec file with the relevant changes needed:

    %build
    %__install -dm 755 build
    pushd build
    export QTDIR=%qt4dir
    PATH=%qt4bin:$PATH
    export PATH
    cmake \ -DCMAKE_INSTALL_PREFIX=%{buildroot}%{_prefix} \ -DCMAKE_LIBDIR="%{buildroot}%{_libdir}" VERBOSE=1\ ..

    # dirty hack ...
    %__cp ../locale/pinky*.ts locale

    # fix locale target
    %__sed -i -e 's|\.\./locale|locale|g' locale/CMakeFiles/locale.dir/build.make

    %__make
    popd

     

Log in to post a comment.