Opened 14 years ago

Closed 14 years ago

#25119 closed defect (duplicate)

Putty install fails on gtk1

Reported by: kanaria@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: gtk1

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hello,

My appologies if this is a duplicated ticket, but i am new to mac and i red allready some tickets regarding this issue. I couldn't find any solution. Can somebody please help me with installation of Putty on my macbook?

Thanks in advance. Below i paste the debug output.

Best regards,
Efsane

sudo /opt/local/bin/port -d install putty
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/security/putty
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/security/putty
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.3.2
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port putty.
DEBUG: Requested variant i386 is not provided by port putty.
DEBUG: Requested variant macosx is not provided by port putty.
--->  Computing dependencies for putty
DEBUG: Searching for dependency: gtk1
DEBUG: Didn't find receipt, going to depspec regex for: gtk1
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/gtk1
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/gtk1
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.3.2
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: 'universal_variant no' specified, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port gtk1.
DEBUG: Requested variant i386 is not provided by port gtk1.
DEBUG: Requested variant macosx is not provided by port gtk1.
DEBUG: Searching for dependency: gettext
DEBUG: Found Dependency: receipt exists for gettext
DEBUG: Searching for dependency: glib1
DEBUG: Found Dependency: receipt exists for glib1
DEBUG: Searching for dependency: xorg-libXext
DEBUG: Found Dependency: receipt exists for xorg-libXext
DEBUG: Searching for dependency: xorg-libXt
DEBUG: Found Dependency: receipt exists for xorg-libXt
DEBUG: Executing org.macports.main (gtk1)
DEBUG: Skipping completed org.macports.fetch (gtk1)
DEBUG: Skipping completed org.macports.checksum (gtk1)
DEBUG: Skipping completed org.macports.extract (gtk1)
DEBUG: Skipping completed org.macports.patch (gtk1)
DEBUG: Skipping completed org.macports.configure (gtk1)
--->  Building gtk1
DEBUG: Executing org.macports.build (gtk1)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk1/work/gtk+-1.2.10" && /usr/bin/make -j2 all'
/usr/bin/make  all-recursive
Making all in po
make[2]: Nothing to be done for `all'.
Making all in gdk
make[2]: Nothing to be done for `all'.
Making all in gtk
/bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H -DGTK_LIBDIR=\"/opt/local/lib\" -DGTK_DATA_PREFIX=\"/opt/local\" -DGTK_SYSCONFDIR=\"/opt/local/etc\" -DGTK_LOCALEDIR=\"/opt/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM -DX_LOCALE -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -D_REENTRANT  -I/opt/local/include  -O2 -arch x86_64 -Wall -c gtkmain.c
/bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H -DGTK_LIBDIR=\"/opt/local/lib\" -DGTK_DATA_PREFIX=\"/opt/local\" -DGTK_SYSCONFDIR=\"/opt/local/etc\" -DGTK_LOCALEDIR=\"/opt/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM -DX_LOCALE -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -D_REENTRANT  -I/opt/local/include  -O2 -arch x86_64 -Wall -c gtkoptionmenu.c
rm -f .libs/gtkoptionmenu.lo
rm -f .libs/gtkmain.lo
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H -DGTK_LIBDIR=\"/opt/local/lib\" -DGTK_DATA_PREFIX=\"/opt/local\" -DGTK_SYSCONFDIR=\"/opt/local/etc\" -DGTK_LOCALEDIR=\"/opt/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM -DX_LOCALE -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -D_REENTRANT -I/opt/local/include -O2 -arch x86_64 -Wall -c gtkmain.c  -fno-common -DPIC -o .libs/gtkmain.lo
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H -DGTK_LIBDIR=\"/opt/local/lib\" -DGTK_DATA_PREFIX=\"/opt/local\" -DGTK_SYSCONFDIR=\"/opt/local/etc\" -DGTK_LOCALEDIR=\"/opt/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM -DX_LOCALE -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -D_REENTRANT -I/opt/local/include -O2 -arch x86_64 -Wall -c gtkoptionmenu.c  -fno-common -DPIC -o .libs/gtkoptionmenu.lo
In file included from gtkintl.h:7,
                 from gtkmain.c:56:
/opt/local/include/libintl.h:434: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'libintl_newlocale'
make[2]: *** [gtkmain.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H -DGTK_LIBDIR=\"/opt/local/lib\" -DGTK_DATA_PREFIX=\"/opt/local\" -DGTK_SYSCONFDIR=\"/opt/local/etc\" -DGTK_LOCALEDIR=\"/opt/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM -DX_LOCALE -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -D_REENTRANT -I/opt/local/include -O2 -arch x86_64 -Wall -c gtkoptionmenu.c -o gtkoptionmenu.o >/dev/null 2>&1
mv -f .libs/gtkoptionmenu.lo gtkoptionmenu.lo
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk1/work/gtk+-1.2.10" && /usr/bin/make -j2 all " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk1/work/gtk+-1.2.10" && /usr/bin/make -j2 all " returned error 2
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for gtk1): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: The following dependencies failed to build: gtk1
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (1)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Port: gtk1 added
Resolution: duplicate
Status: newclosed

Duplicate of #24915 where you can read about the workaround (downgrade to gettext 0.17).

Note: See TracTickets for help on using tickets.