Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#17751 closed defect (fixed)

xchat-gnome does not build

Reported by: monty19@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: xchat-gnome

Description (last modified by mf2k (Frank Schima))

Had to edit /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_xchat-gnome/work/xchat-gnome-0.4/src/fe-gtk/xtext.h and change

GtkType gtk_xtext_get_type (void);

to

GType gtk_xtext_get_type (void);

per recommendations for xchat 1.8...

After that had to disable mmx by adding --disable-mmx to config.args line in

/opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/xchat-gnome/Portfile

After that it still explodes with:

sudo port install xchat-gnome
Password:
--->  Building xchat-gnome
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_xchat-gnome/work/xchat-gnome-0.4" && make all " returned error 2
Command output: main-window.c:148: error: (near initialization for 'action_entries[24].label')
main-window.c:149: error: initializer element is not constant
main-window.c:149: error: (near initialization for 'action_entries[25].label')
main-window.c:150: error: initializer element is not constant
main-window.c:150: error: (near initialization for 'action_entries[26].label')
main-window.c:151: error: initializer element is not constant
main-window.c:151: error: (near initialization for 'action_entries[27].label')
main-window.c:152: error: initializer element is not constant
main-window.c:152: error: (near initialization for 'action_entries[28].label')
main-window.c:153: error: initializer element is not constant
main-window.c:153: error: (near initialization for 'action_entries[29].label')
main-window.c:154: error: initializer element is not constant
main-window.c:154: error: (near initialization for 'action_entries[30].label')
main-window.c:157: error: initializer element is not constant
main-window.c:157: error: (near initialization for 'action_entries[31].label')
main-window.c:158: error: initializer element is not constant
main-window.c:158: error: (near initialization for 'action_entries[32].label')
main-window.c:159: error: initializer element is not constant
main-window.c:159: error: (near initialization for 'action_entries[33].label')
main-window.c:160: error: initializer element is not constant
main-window.c:160: error: (near initialization for 'action_entries[34].label')
main-window.c:164: error: initializer element is not constant
main-window.c:164: error: (near initialization for 'action_entries[35].label')
main-window.c: In function 'find_next':
main-window.c:333: warning: pointer targets in initialization differ in signedness
make[4]: *** [main-window.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Not sure what to do for this one...

Attachments (1)

Portfile (816 bytes) - added by monty19@… 15 years ago.
Attached Portfile because formatting is bad on post

Download all attachments as: .zip

Change History (6)

comment:1 Changed 15 years ago by monty19@…

Noticed after I filed this that there is no maintainer which made me believe that it's possible that the package might be a bit old... sure enough... used 0.18 and all I had to do was add -fnested-functions to cflags to get it to build; it runs and there are no immediately glaring problems... (i don't know if --disable-mmx is still required; was left over from attempts with 0.4...)

cat Portfile:

# $Id: Portfile 30228 2007-10-22 22:59:36Z jmpp@… $

PortSystem 1.0 name xchat-gnome version 0.18 description xchat-gnome is a new frontend to X-Chat. long_description xchat-gnome is a new frontend to the popular X-Chat \

IRC client which is designed with the user interface \ foremost in mind.

maintainers nomaintainer categories gnome irc platforms darwin homepage http://xchat-gnome.navi.cx/ master_sites http://flapjack.navi.cx/releases/xchat-gnome checksums md5 4976cd34a0e9115c800b5d317e121182 use_bzip2 yes depends_lib bin:gnome-session:gnome-session #patchfiles patch_outbound.c configure.cppflags-append "-L${prefix}/lib" configure.cflags-append "-no-cpp-precomp -flat_namespace -undefined suppress -fnested-functions" configure.args --enable-gnomefe --disable-python --disable-mmx

Changed 15 years ago by monty19@…

Attachment: Portfile added

Attached Portfile because formatting is bad on post

comment:2 Changed 15 years ago by monty19@…

Almost forgot, libsexy was required as well; simply had to sudo port install libsexy.

comment:3 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Port: xchat-gnome added

comment:4 Changed 15 years ago by blb@…

Resolution: fixed
Status: newclosed

Updated to 0.18 in r44317 with a few other changes to the port.

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.