freehoo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freehoo-devel] PATCH: Re: Freehoo compile error! Help!


From: Anand Babu
Subject: [Freehoo-devel] PATCH: Re: Freehoo compile error! Help!
Date: Wed, 08 Dec 2004 10:12:27 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)

,----[ Mrugesh Karnik <address@hidden> ]
| Hi,
| 
| /usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld:
| cannot find -ltermcap
| collect2: ld returned 1 exit status
| make[2]: *** [freehoo] Error 1
| make[2]: Leaving directory `/home/shared/messengers/freehoo-3.1.0/src'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/shared/messengers/freehoo-3.1.0'
| make: *** [all] Error 2
| 
| Can anyone please help me?
| 
| Thanking you.
| Yours faithfully,
| Mrugesh Karnik
`----

Problem is different distributions handle readline and termcap binding
differently.  For now you apply this patch. I will later give a
permanent fix.


# cd freehoo-3.1.0
# patch -p1 < /PATH/TO/patch-file

OR 
simply edit the src/Makefile.am and remove -ltermcap

------------------------------------------------------------------------
diff -pruN freehoo/src/Makefile.am freehoo-hacked/src/Makefile.am
--- freehoo/src/Makefile.am     2004-09-07 15:22:20.000000000 -0700
+++ freehoo-hacked/src/Makefile.am      2004-12-08 10:07:04.000000000 -0800
@@ -14,7 +14,7 @@ noinst_HEADERS = extension.h freehoo.h i
                   yahoo-backend.h fh-utils.h guile-wrapper.h \
                   yahoo-adapter.h yahoo-utils.h
 
-freehoo_LDADD = -lyahoo2 -lncurses -ltermcap -lcurses -lreadline 
$(GUILE_LDFLAGS) $(GLIB_LIBS)
+freehoo_LDADD = -lyahoo2 -lncurses -lcurses -lreadline $(GUILE_LDFLAGS) 
$(GLIB_LIBS)
 
 CLEANFILES = *~
 DISTCLEANFILES = .deps/*.P
------------------------------------------------------------------------
-- 
Anand Babu
Free as in Freedom <www.gnu.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]