From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ooh_Gravy Newsgroups: gmane.emacs.help Subject: gcc: unrecognized option '-2.0/' Date: Tue, 28 Dec 2010 12:58:16 -0800 (PST) Organization: http://groups.google.com Message-ID: <70b63f22-79cf-4fc4-8221-6c79d769f5ba@w29g2000vba.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1293661206 4708 80.91.229.12 (29 Dec 2010 22:20:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 29 Dec 2010 22:20:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 29 23:20:02 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PY4NE-0008QC-KH for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Dec 2010 23:20:00 +0100 Original-Received: from localhost ([127.0.0.1]:35968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PY4NE-00032t-2H for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Dec 2010 17:20:00 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!w29g2000vba.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 41 Original-NNTP-Posting-Host: 86.141.192.196 Original-X-Trace: posting.google.com 1293569896 8682 127.0.0.1 (28 Dec 2010 20:58:16 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 28 Dec 2010 20:58:16 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: w29g2000vba.googlegroups.com; posting-host=86.141.192.196; posting-account=SrZONwoAAABDP0KyFmy54jQSrhLSs4XN User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:183716 X-Mailman-Approved-At: Wed, 29 Dec 2010 17:18:53 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77957 Archived-At: Hi there, I've just tried installing Emacs on a fresh install of Ubuntu 10.10 and have run into a problem trying to compile Emacs 23.2. I initially had a load of libraries missing so running 'configure' would fail. Having installed all the libs that were highlighted as missing I am now falling at the next hurdle. When running 'make' I'm getting an unrecognized option warning for gcc. I'm assuming that an environment variable isn't set up correctly but need some help identifying what is wrong. The error and one of the gcc command lines are pasted below. Thanks. sjalloq@sjalloq-VirtualBox:/usr/local/src/emacs-23.2$ make cd lib-src; make all \ CC='gcc' CFLAGS='-g -O2 -Wdeclaration-after-statement -Wno-pointer- sign ' CPPFLAGS='-D_BSD_SOURCE ' \ LDFLAGS='-Wl,-znocombreloc ' MAKE='make' make[1]: Entering directory `/usr/local/src/emacs-23.2/lib-src' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/emacs-23.2/lib-src' boot=bootstrap-emacs; \ if [ ! -x "src/$boot" ]; then \ cd src; make all \ CC='gcc' CFLAGS='-g -O2 -Wdeclaration-after-statement -Wno- pointer-sign ' CPPFLAGS='-D_BSD_SOURCE ' \ LDFLAGS='-Wl,-znocombreloc ' MAKE='make' BOOTSTRAPEMACS="$boot"; \ fi; make[1]: Entering directory `/usr/local/src/emacs-23.2/src' gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -I. -I/usr/local/src/ emacs-23.2/src -D_BSD_SOURCE -pthread -I/usr/include/gtk-2.0 -I/usr/ lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/ include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-1 -2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/ include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/ usr/include/freetype2 -g -O2 -Wdeclaration-after-statement -Wno- pointer-sign -MMD -MF deps/emacs.d emacs.c gcc: unrecognized option '-2.0/'