Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Cannot install Putty #40951

Closed
josuelopes opened this issue Jun 21, 2015 · 3 comments
Closed

Cannot install Putty #40951

josuelopes opened this issue Jun 21, 2015 · 3 comments

Comments

@josuelopes
Copy link

After installing Putty successfully the day before, after making brew doctor and brew update, putty stopped working. After that I tried to reinstall which lead me to this:
***brew install putty --with-gtk+
==> Downloading https://the.earth.li/~sgtatham/putty/0.64/putty-0.64.tar.gz

################################################################## 100,0%

==> ./configure --prefix=/usr/local/Cellar/putty/0.64 --disable-silent-rules --d
==> make VER=-DRELEASE=0.64
1 error generated.
make[1]: *** [unix/gtkfont.o] Error 1
1 error generated.
make[1]: *** [unix/gtkwin.o] Error 1
make: *** [all] Error 2

here is the gist:
https://gist.github.com/c95b121dda55e59161fb

Thank you for your time

@DomT4
Copy link
Member

DomT4 commented Jun 21, 2015

CC @tschoonj - Any way we can patch this or does the option need to go?

Failure:

unix/gtkdlg.c:11:10: fatal error: 'gdk/gdkx.h' file not found
#include <gdk/gdkx.h>
         ^
clang -DHAVE_CONFIG_H -I.  -I././ -I./charset/ -I./windows/ -I./unix/ -I./macosx/  -D_REENTRANT -I/usr/local/Cellar/glib/2.44.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.44.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/libpng/1.6.17/include/libpng16 -I/usr/local/Cellar/gdk-pixbuf/2.30.8/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/atk/2.16.0/include/atk-1.0 -I/usr/local/Cellar/freetype/2.6/include/freetype2 -I/usr/local/Cellar/fontconfig/2.11.1/include -I/usr/local/Cellar/freetype/2.5.3_1/include/freetype2 -I/usr/local/Cellar/pixman/0.32.6/include/pixman-1 -I/usr/local/Cellar/cairo/1.14.2_1/include/cairo -I/usr/local/Cellar/pango/1.36.8_1/include/pango-1.0 -I/usr/local/Cellar/gtk+/2.24.28_1/include/gtk-2.0 -I/usr/local/Cellar/gtk+/2.24.28_1/lib/gtk-2.0/include    -Wall -Werror -g -O2 -c -o unix/uxucs.o unix/uxucs.c
unix/gtkfont.c:17:10: fatal error: 'gdk/gdkx.h' file not found
#include <gdk/gdkx.h>
         ^
1 error generated.
make[1]: *** [unix/gtkdlg.o] Error 1
make[1]: *** Waiting for unfinished jobs....
unix/gtkwin.c:23:10: fatal error: 'gdk/gdkx.h' file not found
#include <gdk/gdkx.h>
         ^
1 error generated.
make[1]: *** [unix/gtkfont.o] Error 1
1 error generated.
make[1]: *** [unix/gtkwin.o] Error 1
make: *** [all] Error 2

Happens: Because we removed X11 support from gtk+ that header is no longer generated.

@josuelopes
Copy link
Author

What are my options? Instead of X11 what should I choose that works with putty?

@tschoonj
Copy link
Contributor

Had a look at the code and unfortunately the X11 code cannot be removed from the source. Will file a PR to remove the gtk+ option.

I recommend you look into alternative SFTP/SCP clients like cyberduck

tschoonj added a commit to tschoonj/homebrew that referenced this issue Jun 22, 2015
after migrating to gtk-quartz, the putty GUI no longer builds due to its
explicit dependence on X11 and gdkx.
Closes Homebrew#40951
@DomT4 DomT4 closed this as completed in b98266e Jun 22, 2015
woodruffw pushed a commit to woodruffw-forks/homebrew that referenced this issue Jun 23, 2015
after migrating to gtk-quartz, the putty GUI no longer builds due to its
explicit dependence on X11 and gdkx.
Closes Homebrew#40951

Closes Homebrew#40963.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants