* configure fails to find gtk and glib and exits with an empty error
@ 2024-01-13 4:52 Jeremy Baxter
2024-01-13 10:13 ` Eli Zaretskii
2024-01-13 20:15 ` Yuri Khan
0 siblings, 2 replies; 12+ messages in thread
From: Jeremy Baxter @ 2024-01-13 4:52 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1.1: Type: text/plain, Size: 544 bytes --]
I'm trying to compile Emacs with pgtk support from the current master
(4edb7713) but after I run the configure script with --with-x-toolkit=no
and --with-pgtk I get the following error:
checking for gtk+-3.0 >= 3.22.23 glib-2.0 >= 2.37.5... no
configure: error:
I have gtk+3 version 3.24.38 and glib version 2.78.0 installed. I am
running the Void Linux distribution with glibc, and I generated the
configure script with `autoreconf -fi'. The full output log is attached,
would anyone be able to help here?
~Jeremy
[-- Attachment #2: configure.log --]
[-- Type: text/x-log, Size: 9173 bytes --]
checking for xcrun... no
checking for GNU Make... make
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether the compiler is clang... no
checking for compiler option needed when checking for declarations... none
checking whether gcc and cc understand -c and -o together... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking for linux/fs.h... yes
checking for malloc.h... yes
checking for sys/systeminfo.h... no
checking for sys/sysinfo.h... yes
checking for coff.h... no
checking for pty.h... yes
checking for sys/resource.h... yes
checking for sys/utsname.h... yes
checking for pwd.h... yes
checking for util.h... no
checking for sanitizer/lsan_interface.h... yes
checking for sanitizer/asan_interface.h... yes
checking for sanitizer/common_interface_defs.h... yes
checking for sys/socket.h... yes
checking for sys/param.h... yes
checking for pthread.h... yes
checking for malloc/malloc.h... no
checking for sys/un.h... yes
checking for vfork.h... no
checking for utmp.h... yes
checking for utmpx.h... yes
checking for OS.h... no
checking for dirent.h... yes
checking for execinfo.h... yes
checking for linux/xattr.h... yes
checking for stdio_ext.h... yes
checking for sys/vfs.h... yes
checking for sys/fs_types.h... no
checking for getopt.h... yes
checking for sys/cdefs.h... yes
checking for sys/time.h... yes
checking for ieee754.h... yes
checking for limits.h... yes
checking for sys/select.h... yes
checking for stdbool.h... yes
checking for stdckdint.h... no
checking for sys/random.h... yes
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ranlib... ranlib
checking for gcc option to enable large file support... none needed
checking for gcc option for timestamps after 2038... none needed
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking whether gcc accepts -g3 -O2... yes
checking whether the compiler is clang... no
checking whether C compiler handles -Werror -Wunknown-warning-option... no
checking whether -Wno-missing-field-initializers is needed... no
checking whether -Wuninitialized is supported... yes
checking whether C compiler handles -fstrict-flex-arrays... no
checking whether C compiler handles -Wall... yes
checking whether C compiler handles -Warith-conversion... yes
checking whether C compiler handles -Wdate-time... yes
checking whether C compiler handles -Wdisabled-optimization... yes
checking whether C compiler handles -Wdouble-promotion... yes
checking whether C compiler handles -Wduplicated-cond... yes
checking whether C compiler handles -Wextra... yes
checking whether C compiler handles -Wformat-signedness... yes
checking whether C compiler handles -Winit-self... yes
checking whether C compiler handles -Winvalid-pch... yes
checking whether C compiler handles -Wlogical-op... yes
checking whether C compiler handles -Wmissing-declarations... yes
checking whether C compiler handles -Wmissing-include-dirs... yes
checking whether C compiler handles -Wmissing-prototypes... yes
checking whether C compiler handles -Wnested-externs... yes
checking whether C compiler handles -Wnull-dereference... yes
checking whether C compiler handles -Wold-style-definition... yes
checking whether C compiler handles -Wopenmp-simd... yes
checking whether C compiler handles -Wpacked... yes
checking whether C compiler handles -Wpointer-arith... yes
checking whether C compiler handles -Wstrict-flex-arrays... no
checking whether C compiler handles -Wstrict-prototypes... yes
checking whether C compiler handles -Wsuggest-attribute=format... yes
checking whether C compiler handles -Wsuggest-attribute=noreturn... yes
checking whether C compiler handles -Wsuggest-final-methods... yes
checking whether C compiler handles -Wsuggest-final-types... yes
checking whether C compiler handles -Wtrampolines... yes
checking whether C compiler handles -Wuninitialized... yes
checking whether C compiler handles -Wunknown-pragmas... yes
checking whether C compiler handles -Wunused-macros... yes
checking whether C compiler handles -Wvariadic-macros... yes
checking whether C compiler handles -Wvector-operation-performance... yes
checking whether C compiler handles -Wwrite-strings... yes
checking whether C compiler handles -Warray-bounds=2... yes
checking whether C compiler handles -Wattribute-alias=2... yes
checking whether C compiler handles -Wformat=2... yes
checking whether C compiler handles -Wformat-truncation=2... yes
checking whether C compiler handles -Wimplicit-fallthrough=5... yes
checking whether C compiler handles -Wshift-overflow=2... yes
checking whether C compiler handles -Wuse-after-free=3... yes
checking whether C compiler handles -Wvla-larger-than=4031... yes
checking whether C compiler handles -Wredundant-decls... yes
checking whether C compiler handles -Wno-missing-field-initializers... yes
checking whether C compiler handles -Wno-override-init... yes
checking whether C compiler handles -Wno-sign-compare... yes
checking whether C compiler handles -Wno-type-limits... yes
checking whether C compiler handles -Wno-unused-parameter... yes
checking whether C compiler handles -Wno-format-nonliteral... yes
checking whether C compiler handles -Wno-bidi-chars... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking command to symlink files in the same directory... ln -s
checking for install-info... /usr/bin/install-info
checking for gzip... /usr/bin/gzip
checking for 'find' args to delete a file... -delete
checking for brew... no
checking for -znocombreloc... not needed
checking whether addresses are sanitized... no
checking for math library... -lm
checking for struct passwd.pw_gecos... yes
checking for pkg-config... no
checking for machine/soundcard.h... no
checking for sys/soundcard.h... yes
checking for soundcard.h... no
checking for mmsystem.h... no
checking for _oss_ioctl in -lossaudio... no
checking for alsa >= 1.0.0... no
checking for ADDR_NO_RANDOMIZE... yes
checking if Linux sysinfo may be used... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for net/if.h... yes
checking for ifaddrs.h... yes
checking for net/if_dl.h... no
checking for struct ifreq.ifr_flags... yes
checking for struct ifreq.ifr_hwaddr... yes
checking for struct ifreq.ifr_netmask... yes
checking for struct ifreq.ifr_broadaddr... yes
checking for struct ifreq.ifr_addr... yes
checking for struct ifreq.ifr_addr.sa_len... no
checking whether gcc understands -MMD -MF... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking for X... libraries , headers
checking whether malloc is Doug Lea style... no
checking for sbrk... yes
checking for getpagesize... yes
checking for __lsan_ignore_object... no
checking for fork... yes
checking for vfork... yes
checking for fchmod... yes
checking for utmpname... yes
checking for utmpxname... yes
checking for canonicalize_file_name... yes
checking for realpath... yes
checking for lstat... yes
checking for fchmodat... yes
checking for lchmod... yes
checking for fcntl... yes
checking for fdopendir... yes
checking for listxattr... yes
checking for fstatat... yes
checking for fsync... yes
checking for gettimeofday... yes
checking for memset_explicit... no
checking for memset_s... no
checking for pselect... yes
checking for pthread_sigmask... yes
checking for readlink... yes
checking for isblank... yes
checking for iswctype... yes
checking for strtoimax... yes
checking for symlink... yes
checking for localtime_r... yes
checking for getdtablesize... yes
checking for working mmap... yes
checking for main in -lXbsd... no
checking for pthread library... none needed
checking for thread support... yes
checking for librsvg-2.0 >= 2.14.0... no
checking for libwebpdemux >= 0.6.0... no
checking for WebPGetInfo... no
checking for libwebpdemux >= 0.6.0 libwebpdecoder >= 0.6.0... no
checking for sqlite3_open_v2 in -lsqlite3... yes
checking for sqlite3_load_extension in -lsqlite3... yes
checking for getaddrinfo_a in -lanl... yes
checking for gtk+-3.0 >= 3.22.23 glib-2.0 >= 2.37.5... no
configure: error:
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: configure fails to find gtk and glib and exits with an empty error
2024-01-13 4:52 configure fails to find gtk and glib and exits with an empty error Jeremy Baxter
@ 2024-01-13 10:13 ` Eli Zaretskii
2024-01-13 18:16 ` Jeremy Baxter
2024-01-13 20:15 ` Yuri Khan
1 sibling, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2024-01-13 10:13 UTC (permalink / raw)
To: Jeremy Baxter; +Cc: emacs-devel
> Date: Sat, 13 Jan 2024 17:52:33 +1300
> From: "Jeremy Baxter" <jtbx@disroot.org>
>
> I'm trying to compile Emacs with pgtk support from the current master
> (4edb7713) but after I run the configure script with --with-x-toolkit=no
> and --with-pgtk I get the following error:
>
> checking for gtk+-3.0 >= 3.22.23 glib-2.0 >= 2.37.5... no
> configure: error:
>
> I have gtk+3 version 3.24.38 and glib version 2.78.0 installed. I am
> running the Void Linux distribution with glibc, and I generated the
> configure script with `autoreconf -fi'. The full output log is attached,
> would anyone be able to help here?
Can you tell what is the purpose of using --with-x-toolkit=no in this
case?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: configure fails to find gtk and glib and exits with an empty error
2024-01-13 10:13 ` Eli Zaretskii
@ 2024-01-13 18:16 ` Jeremy Baxter
2024-01-13 18:47 ` Eli Zaretskii
0 siblings, 1 reply; 12+ messages in thread
From: Jeremy Baxter @ 2024-01-13 18:16 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
On Sat Jan 13, 2024 at 11:13 PM NZDT, Eli Zaretskii wrote:
> > Date: Sat, 13 Jan 2024 17:52:33 +1300
> > From: "Jeremy Baxter" <jtbx@disroot.org>
> >
> > I'm trying to compile Emacs with pgtk support from the current master
> > (4edb7713) but after I run the configure script with --with-x-toolkit=no
> > and --with-pgtk I get the following error:
> >
> > checking for gtk+-3.0 >= 3.22.23 glib-2.0 >= 2.37.5... no
> > configure: error:
> >
> > I have gtk+3 version 3.24.38 and glib version 2.78.0 installed. I am
> > running the Void Linux distribution with glibc, and I generated the
> > configure script with `autoreconf -fi'. The full output log is attached,
> > would anyone be able to help here?
>
> Can you tell what is the purpose of using --with-x-toolkit=no in this
> case?
Passing no arguments causes an error telling me to supply --with-x-toolkit,
since I didn't have X11 libraries installed. Installing those libraries
makes the configure run normally so I can omit --with-x-toolkit.
I want to build with pgtk but passing --with-pgtk causes the same gtk/glib
error as before.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: configure fails to find gtk and glib and exits with an empty error
2024-01-13 18:16 ` Jeremy Baxter
@ 2024-01-13 18:47 ` Eli Zaretskii
2024-01-13 18:55 ` Jeremy Baxter
0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2024-01-13 18:47 UTC (permalink / raw)
To: Jeremy Baxter, Po Lu; +Cc: emacs-devel
> Date: Sun, 14 Jan 2024 07:16:04 +1300
> Cc: <emacs-devel@gnu.org>
> From: "Jeremy Baxter" <jtbx@disroot.org>
>
> On Sat Jan 13, 2024 at 11:13 PM NZDT, Eli Zaretskii wrote:
> > > Date: Sat, 13 Jan 2024 17:52:33 +1300
> > > From: "Jeremy Baxter" <jtbx@disroot.org>
> > >
> > > I'm trying to compile Emacs with pgtk support from the current master
> > > (4edb7713) but after I run the configure script with --with-x-toolkit=no
> > > and --with-pgtk I get the following error:
> > >
> > > checking for gtk+-3.0 >= 3.22.23 glib-2.0 >= 2.37.5... no
> > > configure: error:
> > >
> > > I have gtk+3 version 3.24.38 and glib version 2.78.0 installed. I am
> > > running the Void Linux distribution with glibc, and I generated the
> > > configure script with `autoreconf -fi'. The full output log is attached,
> > > would anyone be able to help here?
> >
> > Can you tell what is the purpose of using --with-x-toolkit=no in this
> > case?
>
> Passing no arguments causes an error telling me to supply --with-x-toolkit,
> since I didn't have X11 libraries installed. Installing those libraries
> makes the configure run normally so I can omit --with-x-toolkit.
>
> I want to build with pgtk but passing --with-pgtk causes the same gtk/glib
> error as before.
Adding Po Lu in the hope that he understands what's going on here.
You are basically saying that Emacs cannot be build for PGTK, is that
so?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: configure fails to find gtk and glib and exits with an empty error
2024-01-13 18:47 ` Eli Zaretskii
@ 2024-01-13 18:55 ` Jeremy Baxter
0 siblings, 0 replies; 12+ messages in thread
From: Jeremy Baxter @ 2024-01-13 18:55 UTC (permalink / raw)
To: Eli Zaretskii, Po Lu; +Cc: emacs-devel
On Sun Jan 14, 2024 at 7:47 AM NZDT, Eli Zaretskii wrote:
> > Date: Sun, 14 Jan 2024 07:16:04 +1300
> > Cc: <emacs-devel@gnu.org>
> > From: "Jeremy Baxter" <jtbx@disroot.org>
> >
> > On Sat Jan 13, 2024 at 11:13 PM NZDT, Eli Zaretskii wrote:
> > > > Date: Sat, 13 Jan 2024 17:52:33 +1300
> > > > From: "Jeremy Baxter" <jtbx@disroot.org>
> > > >
> > > > I'm trying to compile Emacs with pgtk support from the current master
> > > > (4edb7713) but after I run the configure script with --with-x-toolkit=no
> > > > and --with-pgtk I get the following error:
> > > >
> > > > checking for gtk+-3.0 >= 3.22.23 glib-2.0 >= 2.37.5... no
> > > > configure: error:
> > > >
> > > > I have gtk+3 version 3.24.38 and glib version 2.78.0 installed. I am
> > > > running the Void Linux distribution with glibc, and I generated the
> > > > configure script with `autoreconf -fi'. The full output log is attached,
> > > > would anyone be able to help here?
> > >
> > > Can you tell what is the purpose of using --with-x-toolkit=no in this
> > > case?
> >
> > Passing no arguments causes an error telling me to supply --with-x-toolkit,
> > since I didn't have X11 libraries installed. Installing those libraries
> > makes the configure run normally so I can omit --with-x-toolkit.
> >
> > I want to build with pgtk but passing --with-pgtk causes the same gtk/glib
> > error as before.
>
> Adding Po Lu in the hope that he understands what's going on here.
> You are basically saying that Emacs cannot be build for PGTK, is that
> so?
Yes, but I also cannot build if I supply --with-x-toolkit.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: configure fails to find gtk and glib and exits with an empty error
2024-01-13 4:52 configure fails to find gtk and glib and exits with an empty error Jeremy Baxter
2024-01-13 10:13 ` Eli Zaretskii
@ 2024-01-13 20:15 ` Yuri Khan
2024-01-13 20:21 ` Jeremy Baxter
1 sibling, 1 reply; 12+ messages in thread
From: Yuri Khan @ 2024-01-13 20:15 UTC (permalink / raw)
To: Jeremy Baxter; +Cc: emacs-devel
On Sat, 13 Jan 2024 at 11:53, Jeremy Baxter <jtbx@disroot.org> wrote:
>
> I'm trying to compile Emacs with pgtk support from the current master
> (4edb7713) but after I run the configure script with --with-x-toolkit=no
> and --with-pgtk I get the following error:
>
> checking for gtk+-3.0 >= 3.22.23 glib-2.0 >= 2.37.5... no
> configure: error:
>
> I have gtk+3 version 3.24.38 and glib version 2.78.0 installed. I am
> running the Void Linux distribution
Do you have only runtime libraries installed, or development packages
also? I’m not familiar with Void Linux, but, for example, in
Debian-based distributions, files needed to *run* software using GTK+
go in the libgtk-3-0 package, while files needed to *build* such
software go in libgtk-3-dev.
Sorry for the noise if you are already aware of the distinction and do
have development packages installed.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: configure fails to find gtk and glib and exits with an empty error
2024-01-13 20:15 ` Yuri Khan
@ 2024-01-13 20:21 ` Jeremy Baxter
2024-01-14 6:12 ` Eli Zaretskii
0 siblings, 1 reply; 12+ messages in thread
From: Jeremy Baxter @ 2024-01-13 20:21 UTC (permalink / raw)
To: Yuri Khan; +Cc: emacs-devel
On Sun Jan 14, 2024 at 9:15 AM NZDT, Yuri Khan wrote:
> On Sat, 13 Jan 2024 at 11:53, Jeremy Baxter <jtbx@disroot.org> wrote:
> >
> > I'm trying to compile Emacs with pgtk support from the current master
> > (4edb7713) but after I run the configure script with --with-x-toolkit=no
> > and --with-pgtk I get the following error:
> >
> > checking for gtk+-3.0 >= 3.22.23 glib-2.0 >= 2.37.5... no
> > configure: error:
> >
> > I have gtk+3 version 3.24.38 and glib version 2.78.0 installed. I am
> > running the Void Linux distribution
>
> Do you have only runtime libraries installed, or development packages
> also? I’m not familiar with Void Linux, but, for example, in
> Debian-based distributions, files needed to *run* software using GTK+
> go in the libgtk-3-0 package, while files needed to *build* such
> software go in libgtk-3-dev.
>
> Sorry for the noise if you are already aware of the distinction and do
> have development packages installed.
Yes, I do have the development packages installed.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: configure fails to find gtk and glib and exits with an empty error
2024-01-13 20:21 ` Jeremy Baxter
@ 2024-01-14 6:12 ` Eli Zaretskii
2024-01-14 18:44 ` Jeremy Baxter
0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2024-01-14 6:12 UTC (permalink / raw)
To: Jeremy Baxter; +Cc: yuri.v.khan, emacs-devel
> Date: Sun, 14 Jan 2024 09:21:11 +1300
> Cc: <emacs-devel@gnu.org>
> From: "Jeremy Baxter" <jtbx@disroot.org>
>
> On Sun Jan 14, 2024 at 9:15 AM NZDT, Yuri Khan wrote:
> > On Sat, 13 Jan 2024 at 11:53, Jeremy Baxter <jtbx@disroot.org> wrote:
> > >
> > > I'm trying to compile Emacs with pgtk support from the current master
> > > (4edb7713) but after I run the configure script with --with-x-toolkit=no
> > > and --with-pgtk I get the following error:
> > >
> > > checking for gtk+-3.0 >= 3.22.23 glib-2.0 >= 2.37.5... no
> > > configure: error:
> > >
> > > I have gtk+3 version 3.24.38 and glib version 2.78.0 installed. I am
> > > running the Void Linux distribution
> >
> > Do you have only runtime libraries installed, or development packages
> > also? I’m not familiar with Void Linux, but, for example, in
> > Debian-based distributions, files needed to *run* software using GTK+
> > go in the libgtk-3-0 package, while files needed to *build* such
> > software go in libgtk-3-dev.
> >
> > Sorry for the noise if you are already aware of the distinction and do
> > have development packages installed.
>
> Yes, I do have the development packages installed.
Please show the portions of config.log that test for the above
components: gtk+-3.0 and glib-2.0. They could explain why the
configure script fails in your case.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: configure fails to find gtk and glib and exits with an empty error
2024-01-14 6:12 ` Eli Zaretskii
@ 2024-01-14 18:44 ` Jeremy Baxter
2024-01-14 19:05 ` Eli Zaretskii
0 siblings, 1 reply; 12+ messages in thread
From: Jeremy Baxter @ 2024-01-14 18:44 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: yuri.v.khan, emacs-devel
On Sun Jan 14, 2024 at 7:12 PM NZDT, Eli Zaretskii wrote:
> > Date: Sun, 14 Jan 2024 09:21:11 +1300
> > Cc: <emacs-devel@gnu.org>
> > From: "Jeremy Baxter" <jtbx@disroot.org>
> >
> > On Sun Jan 14, 2024 at 9:15 AM NZDT, Yuri Khan wrote:
> > > On Sat, 13 Jan 2024 at 11:53, Jeremy Baxter <jtbx@disroot.org> wrote:
> > > >
> > > > I'm trying to compile Emacs with pgtk support from the current master
> > > > (4edb7713) but after I run the configure script with --with-x-toolkit=no
> > > > and --with-pgtk I get the following error:
> > > >
> > > > checking for gtk+-3.0 >= 3.22.23 glib-2.0 >= 2.37.5... no
> > > > configure: error:
> > > >
> > > > I have gtk+3 version 3.24.38 and glib version 2.78.0 installed. I am
> > > > running the Void Linux distribution
> > >
> > > Do you have only runtime libraries installed, or development packages
> > > also? I’m not familiar with Void Linux, but, for example, in
> > > Debian-based distributions, files needed to *run* software using GTK+
> > > go in the libgtk-3-0 package, while files needed to *build* such
> > > software go in libgtk-3-dev.
> > >
> > > Sorry for the noise if you are already aware of the distinction and do
> > > have development packages installed.
> >
> > Yes, I do have the development packages installed.
>
> Please show the portions of config.log that test for the above
> components: gtk+-3.0 and glib-2.0. They could explain why the
> configure script fails in your case.
In the log there was nothing that would cause checking for gtk/glib to
fail. I looked inside the configure script and saw it uses pkg-config
to test for gtk, and I did not have that installed. After I installed
pkg-config it detected gtk and configure succeeded, which is strange
because it detects gtk without pkg-config in a non-pgtk build.
Thank you very much for your help!
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: configure fails to find gtk and glib and exits with an empty error
2024-01-14 18:44 ` Jeremy Baxter
@ 2024-01-14 19:05 ` Eli Zaretskii
2024-02-07 20:24 ` Björn Bidar
[not found] ` <87h6ikm39m.fsf@>
0 siblings, 2 replies; 12+ messages in thread
From: Eli Zaretskii @ 2024-01-14 19:05 UTC (permalink / raw)
To: Jeremy Baxter; +Cc: yuri.v.khan, emacs-devel
> Date: Mon, 15 Jan 2024 07:44:47 +1300
> Cc: <yuri.v.khan@gmail.com>, <emacs-devel@gnu.org>
> From: "Jeremy Baxter" <jtbx@disroot.org>
>
> On Sun Jan 14, 2024 at 7:12 PM NZDT, Eli Zaretskii wrote:
> > > Date: Sun, 14 Jan 2024 09:21:11 +1300
> > > Cc: <emacs-devel@gnu.org>
> > > From: "Jeremy Baxter" <jtbx@disroot.org>
> > >
> > > On Sun Jan 14, 2024 at 9:15 AM NZDT, Yuri Khan wrote:
> > > > On Sat, 13 Jan 2024 at 11:53, Jeremy Baxter <jtbx@disroot.org> wrote:
> > > > >
> > > > > I'm trying to compile Emacs with pgtk support from the current master
> > > > > (4edb7713) but after I run the configure script with --with-x-toolkit=no
> > > > > and --with-pgtk I get the following error:
> > > > >
> > > > > checking for gtk+-3.0 >= 3.22.23 glib-2.0 >= 2.37.5... no
> > > > > configure: error:
> > > > >
> > > > > I have gtk+3 version 3.24.38 and glib version 2.78.0 installed. I am
> > > > > running the Void Linux distribution
> > > >
> > > > Do you have only runtime libraries installed, or development packages
> > > > also? I’m not familiar with Void Linux, but, for example, in
> > > > Debian-based distributions, files needed to *run* software using GTK+
> > > > go in the libgtk-3-0 package, while files needed to *build* such
> > > > software go in libgtk-3-dev.
> > > >
> > > > Sorry for the noise if you are already aware of the distinction and do
> > > > have development packages installed.
> > >
> > > Yes, I do have the development packages installed.
> >
> > Please show the portions of config.log that test for the above
> > components: gtk+-3.0 and glib-2.0. They could explain why the
> > configure script fails in your case.
>
> In the log there was nothing that would cause checking for gtk/glib to
> fail. I looked inside the configure script and saw it uses pkg-config
> to test for gtk, and I did not have that installed. After I installed
> pkg-config it detected gtk and configure succeeded, which is strange
> because it detects gtk without pkg-config in a non-pgtk build.
OK, thanks. So I guess we can consider this issue resolved.
(In general, I think pkg-config should be installed on any system
where users build software by running Autoconf tools.)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: configure fails to find gtk and glib and exits with an empty error
2024-01-14 19:05 ` Eli Zaretskii
@ 2024-02-07 20:24 ` Björn Bidar
[not found] ` <87h6ikm39m.fsf@>
1 sibling, 0 replies; 12+ messages in thread
From: Björn Bidar @ 2024-02-07 20:24 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Jeremy Baxter, yuri.v.khan, emacs-devel
Eli Zaretskii <eliz@gnu.org> writes:
> OK, thanks. So I guess we can consider this issue resolved.
>
> (In general, I think pkg-config should be installed on any system
> where users build software by running Autoconf tools.)
In most cases pkg-config is provided by pkgconf as pkg-config isn't
maintained anymore (last release was 2017).
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: configure fails to find gtk and glib and exits with an empty error
[not found] ` <87h6ikm39m.fsf@>
@ 2024-02-08 5:50 ` Eli Zaretskii
0 siblings, 0 replies; 12+ messages in thread
From: Eli Zaretskii @ 2024-02-08 5:50 UTC (permalink / raw)
To: Björn Bidar; +Cc: jtbx, yuri.v.khan, emacs-devel
> From: Björn Bidar <bjorn.bidar@thaodan.de>
> Cc: "Jeremy Baxter" <jtbx@disroot.org>, yuri.v.khan@gmail.com,
> emacs-devel@gnu.org
> Date: Wed, 07 Feb 2024 22:24:21 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > OK, thanks. So I guess we can consider this issue resolved.
> >
> > (In general, I think pkg-config should be installed on any system
> > where users build software by running Autoconf tools.)
>
> In most cases pkg-config is provided by pkgconf as pkg-config isn't
> maintained anymore (last release was 2017).
I meant pkg-config the program. If pkgconf provides it, then having
that installed will do; otherwise, Someone™ should tell Autoconf
developers to start supporting pkgconf in their scripts and m4 macros.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2024-02-08 5:50 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-13 4:52 configure fails to find gtk and glib and exits with an empty error Jeremy Baxter
2024-01-13 10:13 ` Eli Zaretskii
2024-01-13 18:16 ` Jeremy Baxter
2024-01-13 18:47 ` Eli Zaretskii
2024-01-13 18:55 ` Jeremy Baxter
2024-01-13 20:15 ` Yuri Khan
2024-01-13 20:21 ` Jeremy Baxter
2024-01-14 6:12 ` Eli Zaretskii
2024-01-14 18:44 ` Jeremy Baxter
2024-01-14 19:05 ` Eli Zaretskii
2024-02-07 20:24 ` Björn Bidar
[not found] ` <87h6ikm39m.fsf@>
2024-02-08 5:50 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.