Building vte fails

David Evans devans at macports.org
Thu Jul 2 08:59:18 PDT 2009


Janosch Peters wrote:
> Hi list,
>
> I'd like to install gtk-sharp which depends on vte. Unfortunately, vte 
> fails to build. Because I found nothing on the net, I assume that it 
> has sth to do with my configuration, but I dont know what it could be.
>
> Any ideas are highly appreciated.
>
> cheers,
> Janosch
>
> --->  Building vte
> 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_
> vte/work/vte-0.20.5" && make all " returned error 2
> Command output: vtebg.c: At top level:
> vtebg.c:107: warning: declaration of 'atom' shadows a global 
> declaration
> vtebg.c:83: warning: shadowed declaration is here
> vtebg.c:109: error: syntax error before 'XID'
> vtebg.c:110: warning: function declaration isn't a prototype
> vtebg.c: In function '_vte_property_get_pixmaps':
> vtebg.c:110: warning: old-style function definition
> vtebg.c:111: error: 'window' undeclared (first use in this function)
> vtebg.c:111: error: (Each undeclared identifier is reported only once
> vtebg.c:111: error: for each function it appears in.)
> vtebg.c:114: error: 'type' undeclared (first use in this function)
> vtebg.c:114: error: 'size' undeclared (first use in this function)
> vtebg.c:115: error: 'pixmaps' undeclared (first use in this function)
> vtebg.c: In function 'vte_bg_root_pixmap':
> vtebg.c:124: error: 'XID' undeclared (first use in this function)
> vtebg.c:124: error: 'pixmaps' undeclared (first use in this function)
> vtebg.c:129: error: dereferencing pointer to incomplete type
> vtebg.c:129: error: dereferencing pointer to incomplete type
> vtebg.c:135: error: dereferencing pointer to incomplete type
> vtebg.c: In function 'vte_bg_root_filter':
> vtebg.c:166: error: 'XEvent' undeclared (first use in this function)
> vtebg.c:166: error: 'xevent' undeclared (first use in this function)
> vtebg.c:166: error: syntax error before ')' token
> vtebg.c:171: error: 'PropertyNotify' undeclared (first use in this 
> function)
> vtebg.c:173: error: dereferencing pointer to incomplete type
> vtebg.c:174: error: dereferencing pointer to incomplete type
> make[3]: *** [libvte_la-vtebg.lo] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
>   
Janosch --

After seeing your email, I rebuilt vte here and did not encounter any 
problems so I need more information to diagnose what the
problem is.

First of all, make doubly certain that your ports are up to date by 
doing the following:

sudo port clean vte
sudo port selfupdate
sudo port upgrade outdated

then try and build vte again using debug mode

sudo port -d build vte

and if it fails again open a ticket against vte on track 
(http://trac.macports.org) including the full debug output
and specifying the following information about your system

Mac OS X version
Hardware (intel/ppc)
XCode Version installed

and we can go from there

at first glimpse it looks like an X11 related problem but need the 
detail to tell for sure

Dave


More information about the macports-users mailing list