Failure to install gtk+2

James Kolata <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>

gdkinput-xfree.c:143:18: warning: unused variable 'display_impl'
      [-Wunused-variable]
  GdkDisplayX11 *display_impl = GDK_DISPLAY_X11 (display);
                 ^
gdkinput-xfree.c:243:18: warning: unused variable 'display_impl'
      [-Wunused-variable]
  GdkDisplayX11 *display_impl = GDK_DISPLAY_X11 (display);
                 ^
gdkinput-xfree.c:375:8: error: implicitly declaring library function 'memset'
      with type 'void *(void *, int, unsigned long)'
      [-Werror,-Wimplicit-function-declaration]
              memset(gdkdev->button_state, 0, sizeof (gdkdev->button_state));
              ^
gdkinput-xfree.c:375:8: note: include the header <string.h> or explicitly
      provide a declaration for 'memset'
2 warnings and 1 error generated.
make[4]: *** [Makefile:568: gdkinput-xfree.lo] Error 1
make[4]: Leaving directory '/opt/sw/src/fink.build/gtk+2-2.18.9-112/gtk+-2.18.9/gdk/x11'
make[3]: *** [Makefile:861: all-recursive] Error 1
make[3]: Leaving directory '/opt/sw/src/fink.build/gtk+2-2.18.9-112/gtk+-2.18.9/gdk'
make[2]: *** [Makefile:689: all] Error 2
make[2]: Leaving directory '/opt/sw/src/fink.build/gtk+2-2.18.9-112/gtk+-2.18.9/gdk'
make[1]: *** [Makefile:638: all-recursive] Error 1
make[1]: Leaving directory '/opt/sw/src/fink.build/gtk+2-2.18.9-112/gtk+-2.18.9'
make: *** [Makefile:525: all] Error 2
### execution of make failed, exit code 2
### execution of /tmp/fink.I9E1n failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/opt/sw/bin/dpkg-lockwait -r fink-buildlock-gtk+2-2.18.9-112
(Reading database ... 150776 files and directories currently installed.)
Removing fink-buildlock-gtk+2-2.18.9-112 ...
Failed: phase compiling: gtk+2-2.18.9-112 failed

Before reporting any errors, please run "fink selfupdate" and try again.

If you continue to have issues, please check to see if the FAQ on Fink's 
website solves the problem.  If not, ask on one (not both, please) of
these mailing lists:

	The Fink Users List <[email protected]>
	The Fink Beginners List <[email protected]>.

Please try to include the complete error message in your report.  This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.

Also include the following system information:
Package manager version: 0.45.2
Distribution version: selfupdate-rsync Fri Jan  8 14:56:41 2021, 10.15, x86_64
Trees: local/main stable/main
Xcode.app: 12.1
Xcode command-line tools: 12.2.0.0.1.1603499215
Max. Fink build jobs:  1

macOS Catalina Version 10.15.7

_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
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.