[MacPorts] #17751: xchat-gnome does not build
MacPorts
noreply at macports.org
Tue Dec 23 14:31:08 PST 2008
#17751: xchat-gnome does not build
---------------------------------+------------------------------------------
Reporter: monty19@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port: xchat-gnome
---------------------------------+------------------------------------------
Changes (by macsforever2000@…):
* port: => xchat-gnome
Old description:
> 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...
New description:
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...
--
--
Ticket URL: <http://trac.macports.org/ticket/17751#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list