building pangomm

Pavlo Solntsev via gtkmm-list <[email protected]>
Newsgroups gmane.comp.gnome.gtkmm
Message-ID <[email protected]>
Hi,

I am not sure if this post should go here but since it is mm module....

I decided to reorganize my jhbuild framework and have to compile gtkmm.
As a dependency, I have to compile pangomm-1.4 and got an error here.
What caught my attention is the version of glibmm-2.4 == 2.62.0 and
library needed 2.64. In the meson file 

if not is_msvc
  glibmm_generate_extra_defs_dep = cpp_compiler.find_library(
    'glibmm_generate_extra_defs-2.64',
  )

  executable('generate_extra_defs', 'generate_defs_pango.cc',
    dependencies: [pangomm_build_dep, glibmm_generate_extra_defs_dep],
    install: false,
  )
endif

Why do we list library name explicitly? Is it mistake or I have to use
some special tweak here?

I am building gtkmm-3 with default jhbuild config.

Thanks.


Found pkg-config: /usr/bin/pkg-config (0.29)
Run-time dependency pangocairo found: YES 1.45.0
Run-time dependency glibmm-2.4 found: YES 2.62.0
Run-time dependency cairomm-1.0 found: YES 1.13.1
Program mm-common-get found: YES
(/home/pavlo/Projects/GNOME/install/bin/mm-common-get)
Program m4 found: YES (/usr/bin/m4)
Program perl found: YES (/usr/bin/perl)
Program doxygen found: YES (/usr/bin/doxygen)
Program dot found: YES (/usr/bin/dot)
Program xsltproc found: YES (/usr/bin/xsltproc)
Compiler for C++ supports arguments -pedantic: YES 
Compiler for C++ supports arguments -Wall: YES 
Compiler for C++ supports arguments -Wextra: YES 
Compiler for C++ supports arguments -Wformat-security: YES 
Compiler for C++ supports arguments -Wsuggest-override: YES 
Compiler for C++ supports arguments -Wshadow: YES 
Compiler for C++ supports arguments -Wno-long-long -Wlong-long: YES 
Compiler for C++ supports arguments -Werror: YES 
Compiler for C++ supports arguments -DG_DISABLE_DEPRECATED: YES 
Compiler for C++ supports arguments -DPANGO_DISABLE_DEPRECATED: YES 
Compiler for C++ supports arguments -DGLIBMM_DISABLE_DEPRECATED: YES 
Compiler for C++ supports arguments -DSIGCXX_DISABLE_DEPRECATED: YES 
WARNING: Consider using the builtin warning_level option instead of
adding warning flags by hand.
WARNING: Consider using the builtin warning_level option instead of
adding warning flags by hand.

tools/extra_defs_gen/meson.build:7:2: ERROR: C++ library
'glibmm_generate_extra_defs-2.64' not found

*** Error during phase configure of pangomm-1.4: ########## Error
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.