failed to build gimp2 and libgnomeui, respectively

Ryan Schmidt ryandesign at macports.org
Tue Sep 30 01:11:48 PDT 2008


On Sep 30, 2008, at 1:25 AM, Normen Müller wrote:

>     I am trying to install gimp2, but get the following error:
>
> @scott: during the entire installation process I got the same error  
> as you wrt. glade, but it ignored it in sense of keeping on  
> installing all other required libs for gimp2.

I don't really know gnome and gimp, but it's probably not a good sign  
that you got a glade error earlier. You should resolve that first. It  
may have caused the error you have below.

> Now I reached at this one:
>
> # port install gimp2
> --->  Building libgnomeui with target all
> 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 
> _libgnomeui/work/libgnomeui-2.22.1" && make all " returned error 2
> Command output: gtkfilesystemgio.c:1877: error: syntax error before  
> '*' token
> gtkfilesystemgio.c:1878: error: syntax error before '*' token
> gtkfilesystemgio.c:1881: warning: return type defaults to 'int'
> gtkfilesystemgio.c:1881: warning: no previous prototype for  
> 'gtk_file_folder_gio_get_info'
> gtkfilesystemgio.c: In function 'gtk_file_folder_gio_get_info':
> gtkfilesystemgio.c:1888: error: 'folder' undeclared (first use in  
> this function)
> gtkfilesystemgio.c:1889: error: 'path' undeclared (first use in  
> this function)
> gtkfilesystemgio.c:1889: warning: assignment makes pointer from  
> integer without a cast
> gtkfilesystemgio.c:1894: error: 'GtkFileInfo' undeclared (first use  
> in this function)
> gtkfilesystemgio.c:1894: error: 'info' undeclared (first use in  
> this function)
> gtkfilesystemgio.c: At top level:
> gtkfilesystemgio.c:1908: error: syntax error before '*' token
> gtkfilesystemgio.c:1911: warning:  
> 'gtk_file_folder_gio_list_children' was used with no prototype  
> before its definition
> gtkfilesystemgio.c: In function 'gtk_file_folder_gio_list_children':
> gtkfilesystemgio.c:1917: error: 'folder' undeclared (first use in  
> this function)
> gtkfilesystemgio.c:1921: error: 'children' undeclared (first use in  
> this function)
> gtkfilesystemgio.c:1921: warning: passing argument 2 of  
> 'g_slist_prepend' makes pointer from integer without a cast
> gtkfilesystemgio.c: At top level:
> gtkfilesystemgio.c:1927: error: syntax error before '*' token
> gtkfilesystemgio.c:1928: warning:  
> 'gtk_file_folder_gio_is_finished_loading' was used with no  
> prototype before its definition
> gtkfilesystemgio.c: In function  
> 'gtk_file_folder_gio_is_finished_loading':
> gtkfilesystemgio.c:1932: error: 'folder' undeclared (first use in  
> this function)
> gtkfilesystemgio.c: At top level:
> gtkfilesystemgio.c:1937: error: syntax error before '*' token
> gtkfilesystemgio.c:1939: warning: return type defaults to 'int'
> gtkfilesystemgio.c:1958: error: syntax error before '*' token
> gtkfilesystemgio.c:1960: warning: return type defaults to 'int'
> make[2]: *** [gtkfilesystemgio.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

I think the real error has been cut off. Try cleaning and then  
installing the failing port again with debug output to see more.

port clean libgnomeui
port -d install libgnomeui



More information about the macports-users mailing list