From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.help Subject: Re: How to point an emacs build to gif libs Date: Fri, 23 Jan 2015 10:26:36 -0500 Organization: Still searching... Message-ID: <874mrhzff7.fsf@reader.local.lan> References: <87iofy1yu8.fsf@reader.local.lan> <87bnlpzql5.fsf@reader.local.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422026896 9676 80.91.229.3 (23 Jan 2015 15:28:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2015 15:28:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 23 16:28:12 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YEg9c-0008Am-4D for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Jan 2015 16:28:12 +0100 Original-Received: from localhost ([::1]:59928 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEg9b-00023F-KE for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Jan 2015 10:28:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEg8H-0000Mf-As for help-gnu-emacs@gnu.org; Fri, 23 Jan 2015 10:26:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEg8E-0002pm-5J for help-gnu-emacs@gnu.org; Fri, 23 Jan 2015 10:26:49 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:52563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEg8D-0002pd-Tx for help-gnu-emacs@gnu.org; Fri, 23 Jan 2015 10:26:46 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YEg8B-0006s2-0r for help-gnu-emacs@gnu.org; Fri, 23 Jan 2015 16:26:43 +0100 Original-Received: from c-76-97-127-193.hsd1.ga.comcast.net ([76.97.127.193]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Jan 2015 16:26:43 +0100 Original-Received: from reader by c-76-97-127-193.hsd1.ga.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Jan 2015 16:26:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 71 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-76-97-127-193.hsd1.ga.comcast.net User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:2zJY4jCb7ZcnSLXYM2aLkIbvNh8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102229 Archived-At: Harry Putnam writes: > Everywhere you see that word will be info telling what lib is not > being found. Once you know what lib... its short work to: > > find /suspected/path/base/ -name '*lib_named_at_perhaps*' > > And thereby find the correct paths to add. to PKG_CONFIG_PATH I may have jumped the gun before testing ... I still haven't managed to get ./configure to accept --with-gif=yes. In fact some of my concoctions have broke the configure run entirely. for example: It really is not thoroughly explained (nor should it be) in the install file, just how to do this.. there are examples which I tried to follow: ./configure --prefix=/usr/local/src/vcs/git/test --with-x=yes\ --with-gif=yes --with-imagemagick=yes --with-x-toolkit=athena\ --without-sound --disable-largefile CPPFLAGS='-I/opt/csw/include'\ LDFLAGS="-L/opt/csw/lib -L/opt/csw/lib/amd64/" CFLAGS='-03' (It's all one line on the cmd line) Leads to a very short run of configure.. some 12-13 lines... Now it cannot find the compiler... something it knew a few moments ago... somehow my illinformed flags have rendered ./configure dumber than with no flags checking for xcrun... no checking for GNU Make... make checking for a BSD-compatible install... /usr/gnu/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/gnu/bin/mkdir -p checking for gawk... gawk checking whether make supports nested variables... (cached) yes checking build system type... i386-pc-solaris2.11 checking host system type... i386-pc-solaris2.11 checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/usr/local/src/vcs/git/emacs': configure: error: C compiler cannot create executables See `config.log' for more details I've tried a few other concoctions too, which ended better than the above run, but have yet to get configure to find the gif libs. Again, I'm not particularly wedded to gif support... just would finally like to know how set things up when a default ./configure run doesn't cut it. I've dug up some help on google and tried a run after reading a few bits about it... it didn't wash out totally but still did not find or use gif libs. I believe the needed items are here: find /opt/csw/ -name 'include' /opt/csw/include [...] trimmed out doco under ../share/.. /opt/csw/include/gif_lib.h /opt/csw/lib/libgif.so.4.1.7 /opt/csw/lib/libgif.so /opt/csw/lib/libungif.so.4 /opt/csw/lib/amd64/libgif.so.4 Can you suggest where I might find some more detailed info about how those flags are actually set?