Failed configure & compilation with cmake.

Bug #1241411 reported by sylwke3100
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Midori Web Browser
Fix Released
High
Unassigned

Bug Description

When from midori project remove ./configure I can't configure using cmake if project update from bzr because problem is with CMakeChache Folders in some folders (example: midori, extensions and others). In attachment I add how look like cmake error

And next problem after remove cmake: when I compile version midori download first time (after delete folder with project because only this solution work to first bug). Make make error:

/media/REACTOS/Programy/midorii/midori$ make
[ 1%] Generating /media/REACTOS/Programy/midorii/midori/midori/../katze/katze-separatoraction.c;/media/REACTOS/Programy/midorii/midori/midori/../katze/midori-hsts.c;/media/REACTOS/Programy/midorii/midori/midori/../katze/midori-paths.c;/media/REACTOS/Programy/midorii/midori/midori/../katze/midori-uri.c;/media/REACTOS/Programy/midorii/midori/midori/midori-extensions-column.c;/media/REACTOS/Programy/midorii/midori/midori/midori-bookmarksdatabase.c;/media/REACTOS/Programy/midorii/midori/midori/midori-completion.c;/media/REACTOS/Programy/midorii/midori/midori/midori-contextaction.c;/media/REACTOS/Programy/midorii/midori/midori/midori-database.c;/media/REACTOS/Programy/midorii/midori/midori/midori-dialog.c;/media/REACTOS/Programy/midorii/midori/midori/midori-download.c;/media/REACTOS/Programy/midorii/midori/midori/midori-historycompletion.c;/media/REACTOS/Programy/midorii/midori/midori/midori-historydatabase.c;/media/REACTOS/Programy/midorii/midori/midori/midori-panedaction.c;/media/REACTOS/Programy/midorii/midori/midori/midori-searchcompletion.c;/media/REACTOS/Programy/midorii/midori/midori/midori-settings.c;/media/REACTOS/Programy/midorii/midori/midori/midori-speeddial.c;/media/REACTOS/Programy/midorii/midori/midori/midori-tab.c;/media/REACTOS/Programy/midorii/midori/midori/midori-viewable.c;/media/REACTOS/Programy/midorii/midori/midori/midori-viewcompletion.c;midori-core.vapi;midori-core.h
/media/REACTOS/Programy/midorii/midori/midori/../katze/midori-uri.vala:59.24-59.47: error: The name `tld_get_base_domain' does not exist in the context of `Soup'
                return Soup.tld_get_base_domain (ascii);
                       ^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
make[2]: *** [midori/midori_valac.stamp] Błąd 1
make[1]: *** [midori/CMakeFiles/midori-core-vala.dir/all] Błąd 2
make: *** [all] Błąd 2

Related branches

Revision history for this message
sylwke3100 (berciu-deactivatedaccount) wrote :
Revision history for this message
Paweł Forysiuk (tuxator) wrote :

Does this still happen?

Can you paste the outpup of cmake (the one that shows dependency versions when checking)

and you should make directory first and then cd to it and then run cmake
that way you can easily delete the build folder and cmake caches

like
mkdir _build
cd _build
cmake .. YOUR_OPTIONS

with the current bzr we also have a wrapper that works like configure script and does
this for you basically

The most interesting would be your vala version and your libsoup version but please attach
 the whole output of configure if you can

Changed in midori:
status: New → Incomplete
Revision history for this message
frenchy82 (cartes) wrote :

I have the same problem on ubuntu 12.04 with a lot of error message as

CMake Error at /usr/share/cmake-2.8/Modules/FindGettext.cmake:155 (ADD_CUSTOM_TARGET):
  add_custom_target cannot create target "pofiles" because another target
  with the same name already exists. The existing target is a custom target
  created in source directory "/home/cartes/midori/po". See documentation
  for policy CMP0002 for more details.
Call Stack (most recent call first):
  po/CMakeLists.txt:13 (GETTEXT_PROCESS_PO_FILES)

with ./configure >>myfile
in myfile i have
-- valac 0.16.0 found
-- gettext found: ko pt_BR fi sr ar pa fr bs it et ml ky lt en_GB sk ro th no nb ast de gl hr gd hu ca en_CA da eu pl es ia eo bg nl kk zh_CN cs fa sv sl zh_TW sr@latin ug uk en_AU el lv ms cy vi be pt he nn tr id ja ru
-- Configuring incomplete, errors occurred!

NOTE:
In an other partition with ubuntu 14.04 (the same as 13.10) compile and make have no problem

For my 12.04

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

Revision history for this message
frenchy82 (cartes) wrote :

it could be a bug from cmake 2.8.7

there is a workaround

we have to add

cmake_policy(SET CMP0002 OLD)

in
 at the end of the file CMakeLists.txt

Changed in midori:
importance: Undecided → High
milestone: none → 0.5.6
Cris Dywan (kalikiana)
Changed in midori:
status: Incomplete → Confirmed
RabbitBot (rabbitbot-a)
Changed in midori:
status: Confirmed → Fix Committed
Revision history for this message
Cris Dywan (kalikiana) wrote :

sylwke3100/ berciu, please get a fresh checkout (bzr branch lp:midori) and see if you can configure and build - and if the tld_get_base_domain error still occurs (or any other issue) please file a new bug so that there's no confusion between unrelated issues. Thanks in advance!

Revision history for this message
Matthew Boevink (mboevink) wrote : Re: [Bug 1241411] Re: Failed configure & compilation with cmake.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

@frenchy :

updating to cmake 2.8.11 fixed it for me

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSbY4oAAoJELjJp7kYTaWiGAcH/jtlS0aLeWEchTfY2sKcs2XG
lkz/9xzGYCAO4Gupsqy9UrwNwMiqAKOzH3wDl5qEdNAT6Bg8QQuwwSdjFxvrEjC+
gkq7tuHTHSiwCcQ5P2de4cZJBK8jzOJCW0HhBltmBWtAulS45X7hviMC4oIZjTbz
1nZxtmR5twID0B/tT/JnH7tW+/CizlilA1BDrcinCvW60QeUgKs36zIJG6D1Oas8
v8vfFP285sHP0wD1NDUgIRecBW/aY9BuvII0ueF2w6Ttqs/QDL86d3dfSmAdKXsj
O4QEJIQfw1zARc/i4y1gp9lwZcPakqcCePYipdjOJVbmSJX+BFs6EvtTDw8sahI=
=05CX
-----END PGP SIGNATURE-----

Revision history for this message
sylwke3100 (berciu-deactivatedaccount) wrote :

I can cmake run butnot solved error with soup

Revision history for this message
sylwke3100 (berciu-deactivatedaccount) wrote :

I install cmake 2.8.12

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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