From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Rodolfo Medina" Newsgroups: gmane.emacs.help Subject: Re: How to make Emacs use image support libraries? Date: Thu, 10 Mar 2005 11:13:43 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1110454456 23061 80.91.229.2 (10 Mar 2005 11:34:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2005 11:34:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 10 12:34:16 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D9LvN-0006sY-49 for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Mar 2005 12:33:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D9MAE-0001os-Ee for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Mar 2005 06:49:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D9LfN-0002DJ-0W for help-gnu-emacs@gnu.org; Thu, 10 Mar 2005 06:17:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D9LRa-0000pc-I4 for help-gnu-emacs@gnu.org; Thu, 10 Mar 2005 06:03:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D9LLy-0000Ro-4G for help-gnu-emacs@gnu.org; Thu, 10 Mar 2005 05:57:23 -0500 Original-Received: from [193.70.192.51] (helo=smtp1.libero.it) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D9Kdk-000508-HJ for help-gnu-emacs@gnu.org; Thu, 10 Mar 2005 05:11:36 -0500 Original-Received: from localhost (172.16.1.83) by smtp1.libero.it (7.0.027-DD01) id 41BDB2AB012E6531 for help-gnu-emacs@gnu.org; Thu, 10 Mar 2005 11:11:30 +0100 Original-Received: from [151.26.100.136] (151.26.100.136) by smtp1.libero.it (7.0.027-DD01) id 41BF654A051ED161 for help-gnu-emacs@gnu.org; Thu, 10 Mar 2005 11:11:29 +0100 Original-Received: from 127.0.0.1 (AVG SMTP 7.0.308 [266.7.1]); Thu, 10 Mar 2005 11:13:44 +0100 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Virus-Scanned: by amavisd-new at libero.it serv4 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 X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:24722 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24722 Rodolfo Medina wrote: > When I installed Emacs CVS 21.3.50 on my system, > the `$ ./configure' step ended up accompanied by the following output: > > Does Emacs use -lXaw3d? no > Does Emacs use -lXpm? yes > Does Emacs use -ljpeg? no > Does Emacs use -ltiff? no > Does Emacs use -lungif? no > Does Emacs use -lpng? no > Does Emacs use X toolkit scroll bars? no > > > . Now, I need Emacs to use png libraried. How to do so? > I think all those libraries are installed > in my system, because there are many files with such extensions and, > besides, I can perfectly view jpeg images. Now it's o.k. for png, tiff, gif and jpeg, but I didn't manage to install Xaw3d. Here are the steps I followed (my system is Mandrakelinux 10.1 Community): 1) When I installed Madrake 10.1 Community, I chose the following package installation: - Office Workstation; - Multimedia station; - Internet Station; - Configuration; - KDE Workstation. 2) # urpmi gcc # urpmi cvs # urpmi libwxPythonGTK2.5_2 # urpmi libgtk+2.0_0-devel # urpmi gcc-c++ 3) From: http://www.zlib.net/ I downloaded zlib-1.2.2.tar.gz and copied it into ~/tmp dir, and installed it with the usual `./configure', `make' and `make install' trilogy. 4) From: http://sourceforge.net/project/showfiles.php?group_id=5624 I downloaded libpng-1.2.8-config.tar.gz and installed it with the usual `./configure', `make' and `make install' trilogy. 5) From: ftp://ftp.remotesensing.org/pub/libtiff/ I downloaded tiff-3.7.1.tar.gz and installed it with the usual `./configure', `make' and `make install' trilogy. 6) From: http://sourceforge.net/projects/libungif I downloaded libungif-4.1.3.tar.gz and installed it with the usual `./configure', `make' and `make install' trilogy. 7) From: http://site.n.ml.org/info/libjpeg/ I downloaded libjpeg-6b.tar.gz and put it in ~/tmp. There, $ tar xzvf libjpeg-6b.tar.gz $ cd jpeg-6b $ ./configure --enable-shared $ make test $ make . The directory /usr/local/man/man1 didn't exist. I created it, with: # mkdir /usr/local/man # mkdir /usr/local/man/man1 . Then, # make install 8) From the `emacs' directory (the source dir of Emacs-CVS) I did: `$ ./configure', and in the final output there was: Does Emacs use -lXaw3d? no Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use -lungif? yes Does Emacs use -lpng? yes Does Emacs use X toolkit scroll bars? no 9) As for Xaw3d, from: ftp://ftp.x.org/contrib/widgets/Xaw3d/R6.3/ I downloaded Xaw3d-1.5.tar.gz and put it into ~/tmp dir. There, according with what is suggested in the README.XAW3D file present in the distribution, I did: $ gunzip -c Xaw3d-1.5.tar.gz | tar xpf - $ cd xc/lib/Xaw3d $ ../../config/imake/imake -I../../config/cf -DTOPDIR=../.. -DCURRENTDIR=lib/Xaw3d , but got the following error message: bash: ../../config/imake/imake: No such file or directory . Any suggestion about this last step? Rodolfo