sorry for my earlier post. Problem 1) is easily solved by editing gaim.spec. Does anyone know how to get rid of the libtool/aspell problem? thx,
From: "Elvis Chen"
To: suse-linux-e@suse.com Subject: [SLE] Q: compiling gaim RPM (in particular), editing source-RPM (in general) Date: Thu, 24 Jun 2004 17:59:41 +0000 MIME-Version: 1.0 X-Originating-IP: [130.15.2.223] X-Originating-Email: [chene77@hotmail.com] X-Sender: chene77@hotmail.com Received: from lists.suse.com ([195.135.221.131]) by mc2-f16.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Thu, 24 Jun 2004 11:02:06 -0700 Received: (qmail 26257 invoked by alias); 24 Jun 2004 17:59:56 -0000 Received: (qmail 26209 invoked from network); 24 Jun 2004 17:59:55 -0000 X-Message-Info: JGTYoYF78jG1ePbqz2hqZHlemBKjN3+q Mailing-List: contact suse-linux-e-help@suse.com; run by ezmlm Precedence: bulk list-help: mailto:suse-linux-e-help@suse.com list-unsubscribe: mailto:suse-linux-e-unsubscribe-chene77=hotmail.com@suse.com list-post: mailto:suse-linux-e@suse.com X-MIME-Notice: attachments may have been removed from this message X-Mailinglist: suse-linux-e X-Message-Number-for-archive: 196228 Delivered-To: mailing list suse-linux-e@suse.com Message-ID: X-OriginalArrivalTime: 24 Jun 2004 17:59:41.0535 (UTC) FILETIME=[060A06F0:01C45A15] X-Virus-Scanned: by amavisd-new at scanhost.suse.de X-Spam-Status: No, hits=-3.9 tagged_above=-20.0 required=5.0 tests=BAYES_00, FROM_ENDS_IN_NUMS X-Spam-Level: Return-Path: suse-linux-e-return-196228-chene77=hotmail.com@suse.com Greetings,
I am trying to compile gaim source-rpm, available from gaim.sourceforge.net, but ran into severl problems. I don't know much about constructing/ediging a source-RPM, hence my questions:
1) compiling gaim-source RPM: - There are several dependencies needed, notably the mozilla-nss-devel which is actually included in mozilla-devel under Suse system. To avoid this dependency, I think it is a simple matter of: - editing gaim.spec to specify mozilla-devel instead of mozilla-nss-devel, and - instruct ./configure to specify where the nss-headers/libraries are, and then -re-package the source-RPM.
Can someone please show me how to do each of these steps? I have read through the gzipped gaim source but havn't found a good place to edit.
2) after installing a fake mozilla-nss-devel RPM, I tried to compile the gaim-source-rpm. It went alright except at the very end when it was looking for libaspell.la:
/bin/sh ../libtool --silent --mode=link gcc -O2 -march=i486 -mcpu=i686 -Wall -g3 -o gaim -export-dynamic account.o accountopt.o blist.o buddyicon.o connection.o conversation.o core.o debug.o eventloop.o ft.o imgstore.o log.o md5.o network.o notify.o plugin.o pluginpref.o pounce.o privacy.o proxy.o prefs.o prpl.o request.o roomlist.o server.o sha.o signals.o status.o stringref.o sound.o sslconn.o util.o value.o xmlnode.o about.o away.o dialogs.o dnd-hints.o gaim-disclosure.o gaimrc.o gtkaccount.o gtkcellrendererprogress.o gtkblist.o gtkconn.o gtkconv.o gtkdebug.o gtkeventloop.o gtkft.o gtkimhtml.o gtkimhtmltoolbar.o gtklog.o gtknotify.o gtkplugin.o gtkpluginpref.o gtkprefs.o gtkprivacy.o gtkpounce.o gtkrequest.o gtkroomlist.o gtksound.o gtksourceiter.o gtkutils.o idle.o main.o session.o stock.o themes.o -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -L/usr/lib -lao -ldl -L/usr/lib -laudiofile -lm -L/usr/X11R6/lib -lSM -lICE -lX11 -lXext -L/usr/X11R6/lib -lXss -L/usr/X11R6/lib -lSM -lICE -Wl,--export-dynamic -L/opt/gnome2/lib -lgtkspell -laspell -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lnsl libtool: link: cannot find the library `/usr/lib/libaspell.la'
However, I have aspell installed, which as libaspell.so:
ls -la /usr/lib/libasp* -rwxr-xr-x 1 root root 241633 2003-03-27 23:07 /usr/lib/libaspell-common-0.50.2.so lrwxrwxrwx 1 root root 19 2003-11-25 12:00 /usr/lib/libaspell.so.15 -> libaspell.so.15.0.1 -rwxr-xr-x 1 root root 613818 2003-03-27 23:07 /usr/lib/libaspell.so.15.0.1
Is there a way to force libtool to use the .so instead of the .la file?
thx in advance,
Elvis
_________________________________________________________________ Add photos to your messages with MSN Premium. Get 2 months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
_________________________________________________________________ Add photos to your e-mail with MSN Premium. Get 2 months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines