lxde / lxterminal

VTE terminal emulator written in GTK
GNU General Public License v2.0
159 stars 55 forks source link

0.4.0: build fails becauze missing pcre2 detection #109

Closed kloczek closed 2 weeks ago

kloczek commented 1 year ago

I'm using vte build without pcre support and in such env there is no pcre2 devel resources.

+ /usr/bin/make -O -j48 V=1 VERBOSE=1
/usr/bin/make  all-recursive
Making all in src
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lxterminal-0.4.0/src'
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DPACKAGE_BIN_DIR=\""/usr/bin"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"      -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -DENABLE_GTK3 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0  -I/usr/include/vte-2.91 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0  -c -o lxterminal-lxterminal.o `test -f 'lxterminal.c' || echo './'`lxterminal.c
lxterminal.c:39:10: fatal error: pcre2.h: No such file or directory
   39 | #include <pcre2.h>
      |          ^~~~~~~~~
compilation terminated.

Beceuse lxterminal uses pcre2 independently in autoconf shoud be pcre2 detection.

ib commented 2 weeks ago

I'm using vte build without pcre support

lxterminal.c:39:10: fatal error: pcre2.h: No such file or directory
   39 | #include <pcre2.h>
      |          ^~~~~~~~~

This is only for vte 0.46.0 or later. How did you build without pcre support?