Make install failed on ubuntu 12.04

Bug #1246985 reported by frenchy82
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Midori Web Browser
Fix Released
High
Paweł Forysiuk

Bug Description

With the very last version, ./configure and make is ok with cmake 2.8.7

But make install failed

 sudo make install
[sudo] password for cartes:
make -C _build install
make[1]: entrant dans le répertoire « /home/cartes/midori-0.5.5/_build »
Install the project...
-- Install configuration: ""
-- Installing: /usr/share/doc/midori/AUTHORS
-- Up-to-date: /usr/share/doc/midori/COPYING
-- Up-to-date: /usr/share/doc/midori/ChangeLog
-- Installing: /usr/share/doc/midori/EXPAT
-- Installing: /usr/share/doc/midori/README
-- Installing: /usr/lib/libmidori-core.so.0.0.0
-- Up-to-date: /usr/lib/libmidori-core.so.1
-- Up-to-date: /usr/lib/libmidori-core.so
-- Installing: /usr/bin/midori
-- Removed runtime path from "/usr/bin/midori"
-- Installing: /usr/share/locale/ko/LC_MESSAGES/midori.mo
CMake Error at po/cmake_install.cmake:44 (FILE):
  file INSTALL cannot find "/home/cartes/midori-0.5.5/_build/po/pt_BR.gmo".
Call Stack (most recent call first):
  cmake_install.cmake:48 (INCLUDE)

make[1]: *** [install] Erreur 1
make[1]: quittant le répertoire « /home/cartes/midori-0.5.5/_build »
make: *** [install] Erreur 2
cartes@cartes-stable:~/midori-0.5.5$ cmake --version
cmake version 2.8.7

There is no file called pt_* in this folder

about:version
GTK+ 2.24.10 (2.24.10) Glib 2.32.3 (2.32.4)
WebKitGTK+ 1.8.3 (1.8.3) libSoup 2.38.1

This is working on ubuntu 14.04

Related branches

Revision history for this message
frenchy82 (cartes) wrote :

The problem seems to come from the line

add_subdirectory (po)

in CMakeLists.txt with cmake 2.8.7

Removing this line
installing is ok and no need to add cmake_policy(SET CMP0002 OLD)

could it be a problem of relative path or something like that.

Surely, it's not a midori bug

Revision history for this message
frenchy82 (cartes) wrote :

I tried bug fix from lp:~midori/midori/ubuntults-buildfixes and now build and install is ok on ubuntu 12.04 and cmake 2.8.7

Thanks

Revision history for this message
Cody Garver (codygarver) wrote :

That branch works for me too on 14.04 Trusty

Changed in midori:
milestone: none → 0.5.6
status: New → In Progress
Cody Garver (codygarver)
Changed in midori:
importance: Undecided → High
status: In Progress → Fix Committed
assignee: nobody → Paweł Forysiuk (tuxator)
Cris Dywan (kalikiana)
Changed in midori:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.