freehoo-users
[Top][All Lists]
Advanced

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

[Freehoo-users] Re: weird error configuring


From: M.P.Anand Babu
Subject: [Freehoo-users] Re: weird error configuring
Date: Sun, 27 Apr 2003 19:35:40 -0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Hi Julian,
I'm sorry for replying so late. 

Did you add 
 /usr/local/lib 
path to your /etc/ld.so.conf and ran ldconfig. Because 
ld.so dynamic linker needs to know about the non-standard paths
to look for additional shared objects for dynamic linking.

If its already there, then its certainly a BUG in the build
script. We should fix it. 

I also assume you are using FreeHoo from savannah.gnu.org,
we have discontinued GNUYahoo for some political reasons.

FreeHoo was mostly developed on Debian GNU/Hurd and know to work on
Debian GNU/Linux, RedHat GNU/Linux. It would be interesting to
know what OS you are using. Because you are addressing these 
porting issues, You are also contributing to the project.
Thanks. 

BTW, Thanks for offering me beer. But unfortunately, I don't drink
alcoholic beverages, But lot of Coffee and Tea :D


-- 
 _.|_ 
(_||_)
Free as in Freedom <www.gnu.org>

Julian Romero <address@hidden> writes:
> Thank you for your answer. 
> 
> The problem is my lack of knowledge about de development libraries and
> headers. You mention in your README that readline libs and headers are
> needed, but, where are they? I've only found rpm's and my linux distro
> is not rpm based. Is there any place where I can download it and
> compiles myself?  
> 
> > Dio you compile libreadline by yourself and installed in 
> > some local path?
> yes, I compiled readline 4.3 from the gnu site and I have this :
> 
> ..
> .. /usr/local/lib/libreadline.a
> .. /usr/local/lib/libreadline.so
> .. /usr/local/lib/libreadline.so.4
> .. /usr/local/lib/libreadline.so.4.3
> .. 
> 
> and this:
> 
> ..
> .. /usr/include/readline/chardefs.h
> .. /usr/include/readline/history.h
> .. /usr/include/readline/keymaps.h
> .. /usr/include/readline/readline.h
> .. /usr/include/readline/rlconf.h
> .. /usr/include/readline/rlstdc.h
> .. /usr/include/readline/rltypedefs.h
> .. /usr/include/readline/tilde.h
> .. 
> 
> but when I run configure like this line below:
> 
> ..
> .. ./configure  --with-readline-include-path=/usr/include/readline
> ..  --with-readline-path=/usr/local/lib
> ..
> 
> I get:
> .. 
> .. creating cache ./config.cache
> .. checking for a BSD compatible install... /bin/install -c
> .. ...
> .. checking for rl_callback_read_char... no
> .. checking for rl_callback_read_char in -lreadline... no
>  
> and the Makefile is not created
> 
> In the config.log I have: (I've removed irrelevant lines)
> 
> ..
> .. This file contains any messages produced by compilers while
> .. running configure, to aid debugging if configure makes a mistake.
> .. 
> .. configure:1686: gcc -o conftest -g -O2 -I -I/usr/include/readline
> .. conftest.c -ltermcap    -L/usr/local/lib 1>&5 ..
> .. /usr/i686-pc-linux-gnu/bin/ld: cannot find -ltermcap
> .. collect2: ld returned 1 exit status
> .. configure: failed program was:
> .. #line 1675 "configure"
> .. #include "confdefs.h"
> .. /* Override any gcc2 internal prototype to avoid an error.  */
> .. /* We use char because int might match the return type of a gcc2
> ..     builtin and then its argument prototype would still apply.  */
> .. char tgoto();
> .. 
> .. int main() {
> .. tgoto()
> .. ; return 0; }
> .. configure:1707: checking for readline in -lreadline
> .. configure:1726: gcc -o conftest -g -O2 -I -I/usr/include/readline
> .. conftest.c -lreadline    -L/usr/local/lib 1>&5 ..
> .. /usr/local/lib/libreadline.so: undefined reference to `tgetnum'
> .. /usr/local/lib/libreadline.so: undefined reference to `tgoto'
> .. /usr/local/lib/libreadline.so: undefined reference to `tgetflag'
> .. /usr/local/lib/libreadline.so: undefined reference to `BC'
> .. /usr/local/lib/libreadline.so: undefined reference to `tputs'
> .. /usr/local/lib/libreadline.so: undefined reference to `PC'
> .. /usr/local/lib/libreadline.so: undefined reference to `tgetent'
> .. /usr/local/lib/libreadline.so: undefined reference to `UP'
> .. /usr/local/lib/libreadline.so: undefined reference to `tgetstr'
> .. collect2: ld returned 1 exit status
> .. configure: failed program was:
> .. #line 1715 "configure"
> .. #include "confdefs.h"
> .. /* Override any gcc2 internal prototype to avoid an error.  */
> .. /* We use char because int might match the return type of a gcc2
> ..     builtin and then its argument prototype would still apply.  */
> .. char readline();
> .. 
> .. int main() {
> .. readline()
> .. ; return 0; }
> .. configure:1751: checking for guile-config
> .. configure:1794: checking for socket
> .. configure:1822: gcc -o conftest -g -O2 -I -I/usr/include/readline
> .. conftest.c   -L/usr/local/lib 1>&5 .. configure:1891: checking for
> .. gethostbyname
> .. configure:1919: gcc -o conftest -g -O2 -I -I/usr/include/readline
> .. conftest.c   -L/usr/local/lib 1>&5 .. configure:1988: checking for
> .. add_history
> .. configure:2016: gcc -o conftest -g -O2 -I -I/usr/include/readline
> .. conftest.c   -L/usr/local/lib 1>&5 .. /tmp/ccvegDkt.o: In function
> .. `main':
> .. /usr/local/src/gnuyahoo-1.0.1/configure:2010: undefined reference to 
> `add_history'
> .. collect2: ld returned 1 exit status
> .. configure: failed program was:
> .. #line 1993 "configure"
> .. #include "confdefs.h"
> .. /* System header to define __stub macros and hopefully few prototypes,
> ..     which can conflict with char add_history(); below.  */
> .. #include <assert.h>
> .. /* Override any gcc2 internal prototype to avoid an error.  */
> .. /* We use char because int might match the return type of a gcc2
> ..     builtin and then its argument prototype would still apply.  */
> .. char add_history();
> .. 
> .. int main() {
> .. 
> .. /* The GNU C library defines this for functions which it implements
> ..     to always fail with ENOSYS.  Some functions are actually named
> ..     something starting with __ and the normal name is an alias.  */
> .. #if defined (__stub_add_history) || defined (__stub___add_history)
> .. choke me
> .. #else
> .. add_history();
> .. #endif
> .. 
> .. ; return 0; }
> .. configure:2035: checking for add_history in -lreadline
> .. configure:2054: gcc -o conftest -g -O2 -I -I/usr/include/readline
> .. conftest.c -lreadline    -L/usr/local/lib 1>&5 ..
> .. /usr/local/lib/libreadline.so: undefined reference to `tgetnum'
> .. /usr/local/lib/libreadline.so: undefined reference to `tgoto'
> .. /usr/local/lib/libreadline.so: undefined reference to `tgetflag'
> .. /usr/local/lib/libreadline.so: undefined reference to `BC'
> .. /usr/local/lib/libreadline.so: undefined reference to `tputs'
> .. /usr/local/lib/libreadline.so: undefined reference to `PC'
> .. /usr/local/lib/libreadline.so: undefined reference to `tgetent'
> .. /usr/local/lib/libreadline.so: undefined reference to `UP'
> .. /usr/local/lib/libreadline.so: undefined reference to `tgetstr'
> .. collect2: ld returned 1 exit status
> .. configure: failed program was:
> .. #line 2043 "configure"
> .. #include "confdefs.h"
> .. /* Override any gcc2 internal prototype to avoid an error.  */
> .. /* We use char because int might match the return type of a gcc2
> ..     builtin and then its argument prototype would still apply.  */
> .. char add_history();
> .. 
> .. int main() {
> .. add_history()
> .. ; return 0; }
> .. 
> 
> Please, give some hint, because I am very keen on command line tools and
> wants to  look yours. If you comes some day to Madrid I'll invite you
> for a couple of beers ;)
> 
> thanks,
> --
> julian
> 
> 





reply via email to

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