problem with building lmctfy

102 views
Skip to first unread message

hzgua...@corp.netease.com

unread,
Oct 23, 2013, 5:17:15 AM10/23/13
to lmctfy
Hi guys,
I'm very intrested in the project. I followed the building guide in 'Getting started',
installing packages 'protobuf-compiler ', 'libgflags-dev ' and 're2c'(is it related to RE2?),
and then execute 'make -j 8 lmctfy', but it turned out an error as following:
/usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This file
 includes at least one deprecated or antiquated header which may be removed without
 further notice at a future date. Please use a non-deprecated interface with equivalent
 functionality instead. For a listing of replacement headers and interfaces, consult the
 file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
make: *** [lmctfy/cli/output_map.o] Error 1
make: *** Waiting for unfinished jobs....
 
What's the problem? Did I miss something?
BTW, the linux of mine is ubuntu-12.04 with kernel 3.2.
 
Thanks
------------------    
Best regards!
GuanQiang
 
2013-10-23

Brian Flad

unread,
Oct 23, 2013, 5:44:17 AM10/23/13
to hzgua...@corp.netease.com, lmctfy
Are you building on Ubuntu 12.04 with default gcc 4.6 package that ships with OS? A prerequisite is gcc 4.7+ which has C++11 support for building lmctfy. You can install gcc 4.7+ via the ubuntu-toolchain-r PPA or build from source. Ubuntu 12.10+ ships with gcc 4.7 packages already.

Also, I don't believe there is a package for re2 on Ubuntu (re2c is unrelated). I would definitely like to know if there is a package somewhere. You can install re2 from archive download at: https://code.google.com/p/re2/

Hope this helps,
Brian
--
You received this message because you are subscribed to the Google Groups "lmctfy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lmctfy+un...@googlegroups.com.
To post to this group, send email to lmc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lmctfy/2013102317171272940055%40corp.netease.com.
For more options, visit https://groups.google.com/groups/opt_out.


--

Brian Flad

unread,
Oct 23, 2013, 5:51:40 AM10/23/13
to hzgua...@corp.netease.com, lmctfy
If you're using Chef, I've also been working on cookbooks for the various pieces:
https://github.com/bflad/chef-gcc

They're available on the Opscode community site. I do need to merge in some additional code for fully supporting Ubuntu 12.04.

hzgua...@corp.netease.com

unread,
Oct 24, 2013, 2:15:14 AM10/24/13
to Brian Flad, lmctfy
Hi, Flad.
Thanks for your help. I've test lmctfy on Ubuntu 13.04, and that's ok.
------------------    
Best regards!
GuanQiang
14:11:09
Reply all
Reply to author
Forward
0 new messages