GNOME Bugzilla – Bug 789290
Problem compiling vte git pull of 21st Oct 2017
Last modified: 2017-10-21 15:09:34 UTC
I'm compiling on slackware 14.2 x86_64 using gcc 5.3.0. During make I get a lot of errors from resources.cc such as the following: resources.cc:43:1: error: stray â<80><98>\221â<80><99> in program Errors are repeated many times and finally spit out a bunch of characters that require me to use the 'reset' command. Finally, I end at: make[4]: *** [all] Error 2 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
What's your locale? If it's not an UTF-8 locale, try using one. Also, 5.3.0 is rather old.... Not reproducible here.
locale: LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE=C LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= I expect gcc will be updated when the next Slackware release comes out. 14.2 is about one year old.
Locale looks fine. Can you attach the generated resources.cc file here, please?
Created attachment 362014 [details] resources.cc I also meant to add build options in report: ./autogen.sh CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --infodir=/usr/info \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --enable-static=no \ --enable-introspection \ --build=$ARCH-slackware-linux make make install DESTDIR=$PKG
$SLKCFLAGS="-O2 -fPIC" $LIBDIRSUFFIX="64" $PRGNAM-$VERSION="vte3-git20171021"
Ok something went wrong here; resources.cc is in the wrong format. Can you make clean, then do a build with 'make V=1' and see what exactly is the output when make generates resources.cc ?
Exactly the same output.
The output of *make*, not the file resources.cc.
Created attachment 362015 [details] make.log Made using make clean make V=1 2>&1 >make.log
I see. Your glib version is < 2.50; since the fix was simple, I just fixed this on git master now instead of bumping the glib required version.