Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.4.0: build fails becauze missing pcre2 detection #109

Closed
kloczek opened this issue Dec 9, 2022 · 1 comment
Closed

0.4.0: build fails becauze missing pcre2 detection #109

kloczek opened this issue Dec 9, 2022 · 1 comment
Labels

Comments

@kloczek
Copy link

kloczek commented Dec 9, 2022

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
Copy link
Member

ib commented Aug 6, 2024

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?

@ib ib added the question label Aug 7, 2024
ib added a commit that referenced this issue Aug 9, 2024
Compiling with vte 0.46.0 or later requires this libpcre2 header file.

This fixes github issue #109, reported by kloczek.
@ib ib closed this as completed Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants