INSTALL.in 22.1 KB
Newer Older
Jehan's avatar
Jehan committed
1
---------------------------------------
2
Installation instructions for GIMP @GIMP_APP_VERSION@
Jehan's avatar
Jehan committed
3
---------------------------------------
4

5
There are some basic steps to building and installing GIMP.
6

7
GIMP @GIMP_APP_VERSION@ replaces earlier GIMP 2.x versions. It is advised that you
8
9
10
uninstall them before installing GIMP @GIMP_APP_VERSION@. Since libgimp* libraries
and data are all versionned anyway, it is possible to keep your older GIMP 2.x
installation in parallel to GIMP @GIMP_APP_VERSION@ on a same prefix.
11

12
GIMP @GIMP_APP_VERSION@ is not backward compatible with GIMP 2.x version.
Jehan's avatar
Jehan committed
13
Plug-ins and scripts written for GIMP 2.8, 2.6 or earlier GIMP 2.x
14
versions will not work because the API changed.
15

16
The most important part is to make sure the requirements for a build
17
are fulfilled. We depend on a number of tools and libraries which are
18
19
listed below. For libraries this means you need to also have the
header files installed.
20

Sven Neumann's avatar
Sven Neumann committed
21

22
23
24
25
26
27
28
  ******************************************************************
  * Unless you are experienced with building software from source, *
  * you should not attempt to build all these libraries yourself!  *
  * We suggest that you check if your distributor has development  *
  * packages of them and use these instead.                        *
  ******************************************************************

Sven Neumann's avatar
Sven Neumann committed
29

30
  1. You need to have installed a recent version of pkg-config (>= @GIMP_PKGCONFIG_VERSION@) available
31
     from https://www.freedesktop.org/software/pkgconfig/.
32
     The compatible pkgconf utility would also work.
33

34
35
  2. You need gettext version 0.19.8 or newer. Older versions did not have support yet
     for certain file formats.
36

37
  3. You need to have GEGL version @GEGL_REQUIRED_VERSION@ or newer and babl version
38
     @BABL_REQUIRED_VERSION@ or newer. You can get them from https://gegl.org/ or clone
39
     them from the GNOME git repository:
40

41
42
       https://gitlab.gnome.org/GNOME/babl.git
       https://gitlab.gnome.org/GNOME/gegl.git
Sven Neumann's avatar
Sven Neumann committed
43

44
45
46
     GEGL must be built with Cairo support, i.e. -Dcairo=enabled option (required
     for some mandatory operations such as "gegl:npd").

47
48
49
50
51
52
     Introspection must be enabled for both babl and GEGL with -Denable-gir=true
     and -Dintrospection=true respectively. The only case where we don't build
     GIR data is when cross-compiling because of the difficulty to make cross-tools
     for GObject Introspection.
     Nevertheless if you have working GIR cross-tools, you can force the expected
     behaviour with GIMP's meson option -Dcan-crosscompile-gir=true
53

54
55
56
57
58
59
60
61
62
     Optional:

     - build GEGL with libumfpack (SuiteSparse) (`-Dumfpack=enabled`)
       for alternative Matting engine "gegl:matting-levin" and OpenEXR
       library (`-Dopenexr=enabled`) for OpenEXR format support.
     - build GEGL with maxflow (https://github.com/gerddie/maxflow) and
       the option -Dworkshop=true in order to be able to select the
       experimental Paint Select tool in the Playground (operation
       "gegl:paint-select" is needed).
63
64
65
66
     - The "Show Image Graph" item in the "Debug" menu (hidden by
       default on stable release) requires the GEGL operation
       "gegl:introspect" which is always built but deactivated unless
       the `dot` tool from graphviz is available (runtime dependency).
67

Anders Jonsson's avatar
Anders Jonsson committed
68
  4. You need to have installed GTK version @GTK_REQUIRED_VERSION@ or newer.
Jehan's avatar
Jehan committed
69
     GIMP also needs a recent version of GLib (>= @GLIB_REQUIRED_VERSION@), GDK-Pixbuf
70
     (>= @GDK_PIXBUF_REQUIRED_VERSION@), and Pango (>= @PANGOCAIRO_REQUIRED_VERSION@). Sources for these can be grabbed
71
     from https://download.gnome.org/sources/.
72

73
  5. We use cairo >= @CAIRO_REQUIRED_VERSION@, which is hosted at
74
     https://www.cairographics.org/.
Sven Neumann's avatar
Sven Neumann committed
75
76
77

  6. We require PangoCairo, a Pango backend using Cairo. Make sure you
     have Cairo, FreeType2 and fontconfig installed before you compile
78
79
     Pango. GIMP depends on freetype2 being newer than version @FREETYPE2_REQUIRED_VERSION@
     and fontconfig @FONTCONFIG_REQUIRED_VERSION@ or newer. Older versions are known to have
Sven Neumann's avatar
Sven Neumann committed
80
     bugs that seriously affect the stability of GIMP.
81

82
83
84
     On Windows, we recommend fontconfig 2.13.95 (or over) where support
     of fonts in user directory (Windows 1809 feature) appeared.

85
86
87
88
     We also require HarfBuzz @HARFBUZZ_REQUIRED_VERSION@ or newer, an OpenType text shaping
     tool. As this is a dependency for Pango, you will likely have it
     installed, but you may have to install a development package for
     the headers.
89

Jehan's avatar
Jehan committed
90
  7. The file-compressor plug-in requires zlib, libbzip2, and liblzma to
91
     be installed. All these libraries are required dependencies.
92

93
94
  8. For metadata access GIMP requires the gexiv2 @GEXIV2_REQUIRED_VERSION@ or newer library.
     It is hosted at: https://wiki.gnome.org/Projects/gexiv2
95

96
97
  9. libpng, libjpeg, libtiff, librsvg and lcms are hard dependencies
     that can not be disabled.
98

99
100
101
102
103
104
105
106
     There might be some issues with librsvg, based on the fact newer
     versions are in Rust which is not buildable on all platforms. Yet
     SVG support was deemed too important to be considered "optional"
     for a decent graphics activity. Nevertheless a packager really
     intent to have GIMP running on an architecture with no Rust support
     could still:

     1) easily patch out the file-svg plug-in from build system;
107
     2) build GIMP with -Dvector-icons=false. Ironically librsvg is
108
109
110
111
112
113
114
115
116
     needed at build time for this option, in order to create PNG
     variants of icons (making librsvg unneeded at runtime). So all it
     takes is to have a build machine with librsvg to create the PNG
     icons, package and deliver them for machines without librsvg.

     This is the compromise we came with, i.e. officially making SVG a
     first-class file format, yet explaining how you could ignore it if
     you really wanted or needed to.

117
 10. For MyPaint brushes, brushlib (libmypaint) @LIBMYPAINT_REQUIRED_VERSION@ is used.
118
     The libmypaint repository is hosted at:
Jehan's avatar
Jehan committed
119

120
        https://github.com/mypaint/libmypaint
Jehan's avatar
Jehan committed
121

122
     If installing from repository, do not install the master branch!
123
124
125
126
     Checkout the last tag "v1.y.z" from `libmypaint-v1` branch instead
     (for instance "v1.6.1" tag at time of writing), or simply install
     from a tarball or from your favorite package manager.

luz paz's avatar
luz paz committed
127
     In particular, do NOT install tags or release tarballs versioned
128
129
130
     "v2.y.z". GIMP depends on the version 1 of libmypaint and is
     incompatible with the version 2 (which is still experimental anyway
     and has no stable release at time of writing).
131

132
 11. We also need the mypaint-brushes data package:
133

134
        https://github.com/mypaint/mypaint-brushes
135

136
     If installing from repository, install from branch "v1.3.x" or the
137
138
     last tag "v1.y.z" (e.g. "v1.3.1" at time of writing).
     In particular do NOT install from `master` branch which installs
139
140
141
     brushes incompatible with GIMP (the `master` branch and v2 brushes
     are targeted to software using recent libmypaint which GIMP wasn't
     ported to yet).
142

143
144
145
146
147
148
     Also this is a data packages and therefore it will install the
     pkg-config file inside `$PREFIX/share/pkgconfig/`. If you install
     mypaint-brushes from repository in a non-standard prefix, you will
     have to make sure your $PKG_CONFIG_PATH environment variable also
     lists `$PREFIX/share/pkgconfig/`.

149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
 12. GIMP uses GLib's GIO library to handle file URIs and any I/O in
     general, transparently, regardless where the file is stored, i.e.
     locally, remotely, with which scheme, and so on. GIO in turn
     supports various backends through modules. We don't know all the
     modules available but since HTTP and HTTPS are so pervasive
     nowadays, we kind of consider a least GIO modules for these schemes
     mandatory (it allows to open from a pasted URL or just drag'n drop
     from e.g. a browser).

     For HTTP support (and many other schemes), on Linux at least, you
     should install `gvfs`:

        https://wiki.gnome.org/Projects/gvfs

     It is unclear whether `gvfs` can be built and installed on other
     platforms such as Windows and macOS.

     For HTTPS support, you should install `glib-networking`:

        https://gitlab.gnome.org/GNOME/glib-networking

     Of course there might be more modules providing support of more
     storage backends. Ideally GIMP would have support to load from any
     backend so packaging together with more GIO modules or recommending
     them in a package manager would be ideal. In any case, installing
     the ones for HTTP and HTTPS seems like the minimum nowadays.

 13. You may want to install other third party libraries or programs
177
     that are needed for some of the available plug-ins. We recommend
178
     to check that the following libraries are installed: openjpeg,
179
     libmng, libwmf, libaa and libgs (Ghostscript).
180

181
 14. HEIF support depends on the libheif library. If you don't have
182
183
184
185
     access to pre-built packages, the code is available at:

        https://github.com/strukturag/libheif

186
     Make sure you build libheif with libde265 and libx265 support (for
187
188
189
     respectively decoding and encoding of HEVC, i.e. HEIC files), and
     libaom decoder and encoder (for AV1, i.e. AVIF files), otherwise
     the plug-in is mostly useless.
190

191
 15. GObject Introspection requires the following dependencies to be
192
     built and installed with introspection as well: babl, cairo,
Anders Jonsson's avatar
Anders Jonsson committed
193
     GdkPixbuf, GEGL, GIO, GLib, GObject and GTK.
194

195
 16. Windows builds can now generate backtrace logs upon a crash.
196
197
198
199
200
     The logs will be available in: %APPDATA%\GIMP\@GIMP_APP_VERSION@\CrashLog\
     The feature depends on Dr.MinGW's ExcHndl library:

        https://github.com/jrfonseca/drmingw

201
202
 17. Configure GIMP by running `meson _build`. You may want to pass some
     options to it, see below.
203

204
205
206
207
208
209
210
     Note that we now recommend officially to build GIMP with `meson`
     instead of `autotools` (`configure` script, make, etc.).
     The autotools build scripts are left alive a bit longer in the git
     repository , so that we can revert the recommendation in case big
     regressions were discovered.
     So if you encounter issues with the meson build, now is the time to
     report them!
211

212
 18. Build GIMP by running `ninja -C _build'.
213

214
215
216
217
 19. Install GIMP by running `ninja -C _build install'. In order to
     avoid clashes with other versions of GIMP, we install a binary
     called gimp-@GIMP_APP_VERSION@. By default there's also a link created so that
     you can type 'gimp' to start gimp-@GIMP_APP_VERSION@.
218

219
 20. Summary of required packages and what version you need:
220

221
     Package Name         Version
222

223
     appstream-glib       @APPSTREAM_GLIB_REQUIRED_VERSION@
224
225
226
227
228
229
230
     ATK                  @ATK_REQUIRED_VERSION@
     babl                 @BABL_REQUIRED_VERSION@
     cairo                @CAIRO_REQUIRED_VERSION@
     Fontconfig           @FONTCONFIG_REQUIRED_VERSION@
     freetype2            @FREETYPE2_REQUIRED_VERSION@
     GDK-PixBuf           @GDK_PIXBUF_REQUIRED_VERSION@
     GEGL                 @GEGL_REQUIRED_VERSION@
231
     gexiv2               @GEXIV2_REQUIRED_VERSION@
232
     GIO
233
     GLib                 @GLIB_REQUIRED_VERSION@
234
     glib-networking
Anders Jonsson's avatar
Anders Jonsson committed
235
     GTK                  @GTK_REQUIRED_VERSION@
236
     gvfs (on Linux)
237
     HarfBuzz             @HARFBUZZ_REQUIRED_VERSION@
238
     libbzip2
239
     libjpeg
240
241
242
243
244
     liblzma              @LIBLZMA_REQUIRED_VERSION@
     libmypaint           @LIBMYPAINT_REQUIRED_VERSION@
     libpng               @LIBPNG_REQUIRED_VERSION@
     libpoppler-glib      @POPPLER_REQUIRED_VERSION@
     librsvg              @RSVG_REQUIRED_VERSION@
245
     libtiff              @LIBTIFF_REQUIRED_VERSION@
246
247
248
249
     Little CMS           @LCMS_REQUIRED_VERSION@
     mypaint-brushes-1.0
     pangocairo           @PANGOCAIRO_REQUIRED_VERSION@
     poppler-data         @POPPLER_DATA_REQUIRED_VERSION@
250
     zlib
Elliot Lee's avatar
Elliot Lee committed
251

252
 21. Summary of optional packages:
253

254
255
256
257
258
259
     Package Name        Version        Feature

     cairo-pdf           @CAIRO_PDF_REQUIRED_VERSION@         PDF export
     ExcHndl             -              Crash logs on Windows with Dr. MinGW
     gs                  -              ghostscript
     libaa               -              ASCII art
260
     libheif             @LIBHEIF_REQUIRED_VERSION@          HEIF
261
262
263
264
265
266
     libmng              -              MNG
     libwebp             @WEBP_REQUIRED_VERSION@          WebP (built with --enable-libwebpmux and --enable-libwebpdemux)
     libwmf              @WMF_REQUIRED_VERSION@          WMF
     libXcursor          -              X11 Mouse Cursor
     libxpm              -              XPM
     openexr             @OPENEXR_REQUIRED_VERSION@          OpenEXR
267
     OpenJPEG            @OPENJPEG_REQUIRED_VERSION@          JPEG 2000
268
     webkit              @WEBKITGTK_REQUIRED_VERSION@         Help browser & webpage
269
     vala                -              Vala plug-ins
270

271
 22. Summary of optional runtime dependencies:
272
273

     darktable >= 1.7, with lua support enabled for raw loading
274
     RawTherapee >= 5.2 for raw loading
275
276
     xdg-email for sending emails
     sendmail for sending emails if --with-sendmail enabled
277
     gdb or lldb for our new bug-reporting dialog
278
     "gegl:matting-levin" GEGL operation for alternative matting engine
279
280
281
     Python @PYTHON3_REQUIRED_VERSION@ and PyGObject for Python 3 plug-ins
     GJS for Javascript plug-ins
     LuaJIT and LGI for Lua plug-ins
282
     dot for "Show Image Graph" (unstable branches)
283
     xdg-desktop-portal implemented for your desktop for various D-Bus API (screenshot, color-picking…)
284

Manish Singh's avatar
Manish Singh committed
285

286

Elliot Lee's avatar
Elliot Lee committed
287
288
Generic instructions for configuring and compiling auto-configured
packages are included below. Here is an illustration of commands that
Sven Neumann's avatar
Sven Neumann committed
289
might be used to build and install GIMP. The actual configuration,
Elliot Lee's avatar
Elliot Lee committed
290
291
compilation and installation output is not shown.

292
293
294
295
296
  % tar xvf gimp-@GIMP_VERSION@.tar.xz   # unpack the sources
  % cd gimp-@GIMP_VERSION@               # change to the toplevel directory
  % meson _build                  # `configure' step
  % ninja -C _build               # build GIMP
  % ninja -C _build install       # install GIMP
Elliot Lee's avatar
Elliot Lee committed
297

298

299
The `configure' step examines your system, and adapts GIMP to run on
Sven Neumann's avatar
Sven Neumann committed
300
301
it. The script has many options, some of which are described in the
generic instructions included at the end of this file. All of the
302
303
304
options can be listed using the command `meson configure' if you
successfully configured already, or by reading the file `meson_options.txt`.
There are several special options the GIMP configure script recognizes.
305
These are:
Elliot Lee's avatar
Elliot Lee committed
306

307
  -Dvector-icons=false  This option installs raster icons instead of
Jehan's avatar
Jehan committed
308
     vector icons.
309

310
  -Drelocatable-bundle=yes  This option forces GIMP to search some
311
312
313
     resources (e.g. MyPaint brushes or libwmf fonts) relatively to the
     running prefix, rather than using build-time paths.

314
315
316
317
318
319
320
321
322
  -Dansi=true  This option causes stricter ANSI C checking to be
     performed when compiling with GCC. The default is for strict
     checking to be disabled. NOTE: This option is intended primarily as
     a convenience for developers.

  -Dgimpdir=DIR.  This option changes the default directory GIMP uses to
     search for its configuration files from ~/.config/GIMP/@GIMP_APP_VERSION@ (the
     directory .config/GIMP/@GIMP_APP_VERSION@ in the user's home directory) to
     ~/.config/DIR/@GIMP_APP_VERSION@.
323
     If DIR is an absolute path, the directory will be changed to DIR.
Sven Neumann's avatar
Sven Neumann committed
324

325
326
327
  -Dshmem-type=[none|sysv|posix|win32|auto].  This option allows you to
     specify how image data is transported between the core and plug-ins.
     Usually the best way to do this is detected automatically.
Sven Neumann's avatar
Sven Neumann committed
328

329
330
  -Daa=disabled  The AA plug-in needs libaa and configure checks for
     its presence. Use -Daa=disabled if you run into problems.
331

332
  -Dxpm=disabled  The XPM plug-in needs libxpm and configure checks
Thorsten Vollmer's avatar
Thorsten Vollmer committed
333
334
     for its presence. If for some reason you don't want to build the
     XPM plug-in even though the library is installed, use
335
     -Dxpm=disabled to disable it explicitly.
Thorsten Vollmer's avatar
Thorsten Vollmer committed
336

337
  -Dmng=disabled  The MNG plug-in needs libmng and configure checks
338
     for its presence. If for some reason you don't want to build the
339
     MNG plug-in even though the library is installed, use
340
     -Dmng=disabled to disable it explicitly.
341

342
343
  -Dwmf=disabled  The WMF plug-in needs libwmf2 and configure checks for
     its presence. Use -Dwmf=disabled if you run into problems.
344

345
346
347
  -Dwebkit-unmaintained=true  We do not recommend to install the Help
     browser and Webpage plug-ins anymore. If for some reason you want
     these anyway, you can force the build with this explicit option.
348

349
350
  -Dprint=false  If for some reason you don't want to build the Print
     plug-in based on the GtkPrint API, you can build with -Dprint=false.
351

352
353
  -Dalsa=disabled  If you don't want to compile ALSA support into the
     MIDI input controller module, you can use the -Dalsa=disabled option.
354

355
356
  -Dlinux-input=disabled  If you don't want to compile the Linux Input
     controller module, you can use the -Dlinux-input=disabled option.
357

358
359
  -Dgi-docgen=enabled|disabled  This option controls whether the libgimp
     C API references will be created using gi-docgen.
360

361
362
363
  -Dg-ir-doc=true  This option controls whether the libgimp API
     references for some binding languages will be created using
     g-ir-doc-tool and yelp-build.
364

365
366
  -Denable-multiproc=false This option allows you to disable support for
     multiple processors. It is enabled by default.
Marc Lehmann's avatar
Marc Lehmann committed
367

368
  -Dwith-sendmail[=PATH] This option is used to tell GIMP to send email
369
370
     through sendmail instead of xdg-email. You can optionally indicate
     where to find the sendmail command. Otherwise sendmail will simply
371
     be searched in your $PATH at runtime.
372

373
  -Denable-default-bin=false  Use this option if you don't want to make
374
375
     gimp-@GIMP_APP_VERSION@ the default GIMP installation. Otherwise a link called
     gimp pointing to the gimp-@GIMP_APP_VERSION@ executable will be installed.
376

377
  -Denable-console-bin=false  Use this option if you don't want the
378
379
     gimp-console binary to be built in addition to the standard binary.
     gimp-console is useful for command-line batch mode or as a server.
380

381
382
  -Dpython=false  If for some reason you don't want to install the
     Python plug-ins, you can use -Dpython=false.
383

384
  -Djavascript=false  If for some reason you don't want to install the
Jehan's avatar
Jehan committed
385
     JavaScript plug-ins, you can use -Djavascript=false.
386

387
  -Dlua=false  If for some reason you don't want to install the
Jehan's avatar
Jehan committed
388
     Lua plug-ins, you can use -Dlua=false.
389

390
  -Dvala-plugins=disabled  If for some reason you don't want to install the
Jehan's avatar
Jehan committed
391
     Vala plug-ins, you can use -Dvala-plugins=disabled.
392

393

394
395
396
397
This list is manually maintained. To get an exhaustive listing of options,
read `meson_options.txt'.
Additionally meson supports a wide range of common built-in options. See
documentation: https://mesonbuild.com/Builtin-options.html
398

399
The `ninja' command builds several things:
400
401
402
 - A bunch of public libraries in the directories starting with 'libgimp'.
 - The plug-in programs in the 'plug-ins' directory.
 - Some modules in the 'modules' subdirectory.
403
 - The main GIMP program 'gimp-@GIMP_APP_VERSION@' in `app'.
Elliot Lee's avatar
Elliot Lee committed
404

405
The `ninja install' command installs the GIMP header files associated
Sven Neumann's avatar
Sven Neumann committed
406
with the libgimp libraries, the plug-ins, some data files and the GIMP
407
executable. After running `ninja install' and assuming the build process
Sven Neumann's avatar
updates    
Sven Neumann committed
408
was successful you should be able to run `gimp'.
Elliot Lee's avatar
Elliot Lee committed
409

Marc Lehmann's avatar
Marc Lehmann committed
410

411
When configure fails
412
413
======================

414
The configuration step uses pkg-config, a tool that replaces the old foo-config
Sven Neumann's avatar
Sven Neumann committed
415
scripts. The most recent version is available from
416
	https://www.freedesktop.org/software/pkgconfig/
417

Anders Jonsson's avatar
Anders Jonsson committed
418
'configure' tries to compile and run a short GTK program. There are
419
420
several reasons why this might fail:

421
* pkg-config could not find the file 'gtk+-3.0.pc' that gets installed
422
423
  with GTK. (This file is used to get information about where GTK+ is
  installed.)
424

Sven Neumann's avatar
Sven Neumann committed
425
426
  Fix: Either make sure that this file is in the path where pkg-config
  looks for it (try 'pkg-config --debug' or add the location of
427
  gtk+-3.0.pc to the environment variable PKG_CONFIG_PATH before running
428
  configure.
429

Sven Neumann's avatar
Sven Neumann committed
430
* Libraries you installed are not found when you attempt to start GIMP.
431
  The details of how to fix this problem will depend on the system:
432

433
434
  On Linux and other systems using ELF libraries, add the directory to
  holding the library to /etc/ld.so.conf or to the environment variable
435
436
437
438
439
440
441
442
443
444
  LD_LIBRARY_PATH, and run 'ldconfig'.

  On other systems, it may be necessary to encode this path
  into the executable, by setting the LDFLAGS environment variable
  before running configure. For example:

    LDFLAGS="-R/home/joe/lib" ./configure
  or
    LDFLAGS="-Wl,-rpath -Wl,/home/joe/lib" ./configure

Anders Jonsson's avatar
Anders Jonsson committed
445
* An old version of the GTK libraries was found instead of
446
  your newly installed version. This commonly happens if a
Anders Jonsson's avatar
Anders Jonsson committed
447
448
  binary package of GTK was previously installed on your system,
  and you later compiled GTK from source.
449

450
451
  Fix: Remove the old libraries and include files.  If you are afraid
  that removing the old libraries may break other packages supplied by
Anders Jonsson's avatar
Anders Jonsson committed
452
  your distributor, you can try installing GLib, GTK and other
453
454
455
456
457
  libraries in a different prefix after setting the environment
  variable PKG_CONFIG_LIBDIR to point to lib/pkgconfig/ in that new
  prefix so that it does not try to read the *.pc files from the
  default directory (/usr/lib/pkgconfig).  However, removing the old
  packages is often the easier solution.
458

459
460
A detailed log of the meson output is written to the file meson-logs/meson-log.txt.
This may help diagnose problems.
461

Manish Singh's avatar
Manish Singh committed
462

463
464
When meson configure fails on plug-ins
======================================
Manish Singh's avatar
Manish Singh committed
465

Sven Neumann's avatar
Sven Neumann committed
466
467
468
There are some GIMP plug-ins that need additional third-party libraries
installed on your system. For example to compile the plug-ins that load
and save JPEG, PNG or TIFF files you need the related libraries and header
469
files installed, otherwise you'll get a message that plug-in xyz will not
470
be built.
Manish Singh's avatar
Manish Singh committed
471
472
473
474
475
476
477
478
479
480
481
482

If you are sure that those libraries are correctly installed, but configure
fails to detect them, the following might help:

Set your LDFLAGS environment variable to look for the library in a certain
place, e.g. if you are working in a bash shell you would say:
      export LDFLAGS="-L<path_to_library> -L<path_to_another_one>"
before you run configure.

Set your CPPFLAGS environment variable to look for the header file in a
certain place, e.g. if you are working in a bash shell you would say:
      export CPPFLAGS="-I<path_to_header_file> -I<path_to_another_one>"
483
before you run meson.