Thread: Can't Build Pango: Grep Error
i'm trying build pango mingw, isn't directly related ubuntu, unix-like environment. libtool appears passing bad argument grep, i've looked through libtool , makefiles , can't figure out problem is. here output:
the offending line appears somewhere around here in makefile of pango subdirectorycode:make[4]: entering directory `/mingw/compiling/pango-1.29.5/build-win32/pango' ccld libpangocairo-1.0.la /bin/grep: invalid option -- p usage: /bin/grep [option]... pattern [file]... try `/bin/grep --help' more information.
(<top-build-dir>/pango/makefile):
...but can't figure out how fix it. i've searched on internet haven't been able find invalid "p" option grep.code:libpangocairo-1.0.la: $(libpangocairo_1_0_la_objects) $(libpangocairo_1_0_la_dependencies) $(libpangocairo_1_0_la_link) $(am_libpangocairo_1_0_la_rpath) $(libpangocairo_1_0_la_objects) $(libpangocairo_1_0_la_libadd) $(libs)
code:$ grep --version gnu grep 2.5.4 copyright (c) 2009 free software foundation, inc. license gplv3+: gnu gpl version 3 or later <http://gnu.org/licenses/gpl.html> free software: free change , redistribute it. there no warranty, extent permitted law.code:$ ./libtool --version libtool (gnu libtool) 2.4 written gordon matzigkeit <gord@gnu.ai.mit.edu>, 1996 copyright (c) 2010 free software foundation, inc. free software; see source copying conditions. there no warranty; not merchantability or fitness particular purpose.
----- edit -----
decided see if reproduce error on ubuntu, can't recognize glib installed:
code:... checking cairo... yes checking cairo font backends used... freetype checking glib... no configure: error: *** glib 2.31.0 or better required. latest version of *** glib available ftp://ftp.gtk.org/.code:$ sudo apt-get install libglib2.0-dev reading package lists... done building dependency tree reading state information... done libglib2.0-dev newest version.
----- edit -----
oh, see problem here:
guess, i'll either need upgrade glib or try older version of pango.code:$ apt-cache show libglib2.0-dev ... ... version: 2.28.6-0ubuntu1 ...
----- edit -----
v1.28.4 compiled fine on ubuntu tried mingw, still complaining invalid option "p" when trying create libpangocairo-1.0.la, *sigh*.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs Can't Build Pango: Grep Error
Ubuntu
Comments
Post a Comment