Hi,

Consider the following while i was trying to compile freehoo

This is the current CVS version:

--------snip-----------
[EMAIL PROTECTED]:/tmp/cvs/freehoo-> ./autogen.sh
+ aclocal
+ autoheader
+ libtoolize --force --automake --copy
+ automake --gnu --include-deps --copy --add-missing
automake: configure.ac: installing `./install-sh'
automake: configure.ac: installing `./mkinstalldirs'
automake: configure.ac: installing `./missing'
configure.ac: 16: required file `./[config.h].in' not found
+ autoconf
[EMAIL PROTECTED]:/tmp/cvs/freehoo-> ./configure --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... (cached) yes
checking for guile... /usr/bin/guile
checking for guile-config... /usr/bin/guile-config
checking for guile-tools... /usr/bin/guile-tools
checking libguile compile flags...
checking libguile link flags... -lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm
checking for library containing tgetent... -lncurses
checking for readline in -lreadline... yes
checking for ding... yes
checking for rl_ding... yes
checking for completion_matches... yes
checking for rl_completion_matches... yes
checking for regcomp... yes
checking for glib-config... yes
checking for yahoo_init in -lyahoo2... no
[EMAIL PROTECTED]:/tmp/cvs/freehoo->
--------snip-----------

First off ./autogen.sh gives following error:
configure.ac: 16: required file `./[config.h].in' not found

let aside that, configure script, shows no libyahoo2, where as i have it installed
-lyahoo2 works for me.

moreover i am attaching config.log also.


Also i have tried to manually do some tweaking with the configure scripts and stuff
and was able to get to generate Makefiles, but no use it gives LD errors:

--------snip-----------
make[2]: Entering directory `/tmp/freehoo-3.4.1/src'
gcc -Wall -D_GNU_SOURCE -DPATH_CFG=\"/usr/local/etc\" -DDATADIR=\"/usr/local/share\" -I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -O2 -o freehoo extension.o freehoo.o interpreter.o scm-procedures.o yahoo-backend.o fh-utils.o guile-wrapper.o yahoo-adapter.o -L/usr/local/lib -lyahoo2 -L/usr/lib -L/usr/local/lib -lglib -lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm -lreadline -lncurses yahoo-backend.o(.text+0x3b9e): In function `register_callbacks': /tmp/freehoo-3.4.1/src/yahoo-backend.c:1473: undefined reference to `yahoo_register_callbacks'
collect2: ld returned 1 exit status
make[2]: *** [freehoo] Error 1
make[2]: Leaving directory `/tmp/freehoo-3.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/freehoo-3.4.1'
make: *** [all-recursive-am] Error 2

Compilation exited abnormally with code 2 at Thu Sep 29 17:31:46
--------snip-----------


Point me to what i am doing wrong

-bhav
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by freehoo configure 3.4.1, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/usr

## --------- ##
## Platform. ##
## --------- ##

hostname = gandalf
uname -m = i686
uname -r = 2.4.27-1-386
uname -s = Linux
uname -v = #1 Fri Sep 3 06:24:46 UTC 2004

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1348: checking for a BSD-compatible install
configure:1403: result: /usr/bin/install -c
configure:1414: checking whether build environment is sane
configure:1457: result: yes
configure:1472: checking whether make sets $(MAKE)
configure:1492: result: yes
configure:1524: checking for working aclocal-1.4
configure:1531: result: found
configure:1539: checking for working autoconf
configure:1546: result: found
configure:1554: checking for working automake-1.4
configure:1561: result: found
configure:1569: checking for working autoheader
configure:1576: result: found
configure:1584: checking for working makeinfo
configure:1591: result: found
configure:1627: checking for a BSD-compatible install
configure:1682: result: /usr/bin/install -c
configure:1739: checking for gcc
configure:1755: found /usr/bin/gcc
configure:1765: result: gcc
configure:2009: checking for C compiler version
configure:2012: gcc --version </dev/null >&5
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2015: $? = 0
configure:2017: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)
configure:2020: $? = 0
configure:2022: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2025: $? = 1
configure:2048: checking for C compiler default output file name
configure:2051: gcc    conftest.c  >&5
configure:2054: $? = 0
configure:2100: result: a.out
configure:2105: checking whether the C compiler works
configure:2111: ./a.out
configure:2114: $? = 0
configure:2131: result: yes
configure:2138: checking whether we are cross compiling
configure:2140: result: no
configure:2143: checking for suffix of executables
configure:2145: gcc -o conftest    conftest.c  >&5
configure:2148: $? = 0
configure:2173: result: 
configure:2179: checking for suffix of object files
configure:2200: gcc -c   conftest.c >&5
configure:2203: $? = 0
configure:2225: result: o
configure:2229: checking whether we are using the GNU C compiler
configure:2253: gcc -c   conftest.c >&5
configure:2259: $? = 0
configure:2262: test -z 			 || test ! -s conftest.err
configure:2265: $? = 0
configure:2268: test -s conftest.o
configure:2271: $? = 0
configure:2284: result: yes
configure:2290: checking whether gcc accepts -g
configure:2311: gcc -c -g  conftest.c >&5
configure:2317: $? = 0
configure:2320: test -z 			 || test ! -s conftest.err
configure:2323: $? = 0
configure:2326: test -s conftest.o
configure:2329: $? = 0
configure:2340: result: yes
configure:2357: checking for gcc option to accept ANSI C
configure:2427: gcc  -c -g -O2  conftest.c >&5
configure:2433: $? = 0
configure:2436: test -z 			 || test ! -s conftest.err
configure:2439: $? = 0
configure:2442: test -s conftest.o
configure:2445: $? = 0
configure:2463: result: none needed
configure:2481: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2487: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2617: checking whether make sets $(MAKE)
configure:2637: result: yes
configure:2648: checking for guile
configure:2666: found /usr/bin/guile
configure:2678: result: /usr/bin/guile
configure:2693: checking for guile-config
configure:2711: found /usr/bin/guile-config
configure:2723: result: /usr/bin/guile-config
configure:2738: checking for guile-tools
configure:2756: found /usr/bin/guile-tools
configure:2768: result: /usr/bin/guile-tools
configure:2777: checking libguile compile flags
configure:2780: result: 
configure:2782: checking libguile link flags
configure:2785: result: -lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm
configure:2794: checking for library containing tgetent
configure:2824: gcc -o conftest -g -O2   conftest.c  >&5
/tmp/ccIJZ72u.o(.text+0xa): In function `main':
/tmp/cvs/freehoo/conftest.c:22: undefined reference to `tgetent'
collect2: ld returned 1 exit status
configure:2830: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "freehoo"
| #define PACKAGE_TARNAME "freehoo"
| #define PACKAGE_VERSION "3.4.1"
| #define PACKAGE_STRING "freehoo 3.4.1"
| #define PACKAGE_BUGREPORT "freehoo-users@nongnu.org"
| #define PACKAGE ""
| #define VERSION ""
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char tgetent ();
| int
| main ()
| {
| tgetent ();
|   ;
|   return 0;
| }
configure:2878: gcc -o conftest -g -O2   conftest.c -lncurses   >&5
configure:2884: $? = 0
configure:2887: test -z 			 || test ! -s conftest.err
configure:2890: $? = 0
configure:2893: test -s conftest
configure:2896: $? = 0
configure:2911: result: -lncurses
configure:2919: checking for readline in -lreadline
configure:2949: gcc -o conftest -g -O2   conftest.c -lreadline  -lncurses  >&5
configure:2955: $? = 0
configure:2958: test -z 			 || test ! -s conftest.err
configure:2961: $? = 0
configure:2964: test -s conftest
configure:2967: $? = 0
configure:2980: result: yes
configure:2997: checking for ding
configure:3054: gcc -o conftest -g -O2   conftest.c -lreadline -lncurses  >&5
configure:3060: $? = 0
configure:3063: test -z 			 || test ! -s conftest.err
configure:3066: $? = 0
configure:3069: test -s conftest
configure:3072: $? = 0
configure:3084: result: yes
configure:2997: checking for rl_ding
configure:3054: gcc -o conftest -g -O2   conftest.c -lreadline -lncurses  >&5
configure:3060: $? = 0
configure:3063: test -z 			 || test ! -s conftest.err
configure:3066: $? = 0
configure:3069: test -s conftest
configure:3072: $? = 0
configure:3084: result: yes
configure:3100: checking for completion_matches
configure:3157: gcc -o conftest -g -O2   conftest.c -lreadline -lncurses  >&5
configure:3163: $? = 0
configure:3166: test -z 			 || test ! -s conftest.err
configure:3169: $? = 0
configure:3172: test -s conftest
configure:3175: $? = 0
configure:3187: result: yes
configure:3100: checking for rl_completion_matches
configure:3157: gcc -o conftest -g -O2   conftest.c -lreadline -lncurses  >&5
configure:3163: $? = 0
configure:3166: test -z 			 || test ! -s conftest.err
configure:3169: $? = 0
configure:3172: test -s conftest
configure:3175: $? = 0
configure:3187: result: yes
configure:3207: checking for regcomp
configure:3264: gcc -o conftest -g -O2   conftest.c -lreadline -lncurses  >&5
configure:3270: $? = 0
configure:3273: test -z 			 || test ! -s conftest.err
configure:3276: $? = 0
configure:3279: test -s conftest
configure:3282: $? = 0
configure:3294: result: yes
configure:3321: checking for glib-config
configure:3337: found /usr/bin/glib-config
configure:3348: result: yes
configure:3372: checking for yahoo_init in -lyahoo2
configure:3402: gcc -o conftest -g -O2   conftest.c -lyahoo2   >&5
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_webcam_viewer'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_contact_added'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_got_webcam_image'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_error'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_got_im'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_webcam_data_request'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_conf_userdecline'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_rejected'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_got_search_result'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_got_cookies'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_game_notify'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_remove_handler'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_chat_userleave'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_mail_notify'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_webcam_invite_reply'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_system_message'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_typing_notify'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_got_ignore'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_conf_message'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_webcam_invite'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_connect'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_chat_message'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_chat_yahooerror'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_got_buddies'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_conf_userleave'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_webcam_closed'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_got_file'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_chat_join'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_got_identities'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_chat_userjoin'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_status_changed'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_got_conf_invite'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_login_response'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_add_handler'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_log'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_chat_yahoologout'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_chat_cat_xml'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_conf_userjoin'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libyahoo2.so: undefined reference to `ext_yahoo_connect_async'
collect2: ld returned 1 exit status
configure:3408: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "freehoo"
| #define PACKAGE_TARNAME "freehoo"
| #define PACKAGE_VERSION "3.4.1"
| #define PACKAGE_STRING "freehoo 3.4.1"
| #define PACKAGE_BUGREPORT "freehoo-users@nongnu.org"
| #define PACKAGE ""
| #define VERSION ""
| #define HAVE_LIBREADLINE 1
| #define HAVE_DING 1
| #define HAVE_RL_DING 1
| #define HAVE_COMPLETION_MATCHES 1
| #define HAVE_RL_COMPLETION_MATCHES 1
| #define HAVE_REGCOMP 1
| #define USE_STRUCT_CALLBACKS 1
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char yahoo_init ();
| int
| main ()
| {
| yahoo_init ();
|   ;
|   return 0;
| }
configure:3433: result: no

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_func_completion_matches=yes
ac_cv_func_ding=yes
ac_cv_func_regcomp=yes
ac_cv_func_rl_completion_matches=yes
ac_cv_func_rl_ding=yes
ac_cv_lib_readline_readline=yes
ac_cv_lib_yahoo2_yahoo_init=no
ac_cv_objext=o
ac_cv_path_GUILE=/usr/bin/guile
ac_cv_path_GUILE_CONFIG=/usr/bin/guile-config
ac_cv_path_GUILE_TOOLS=/usr/bin/guile-tools
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_GLIBCONFIG=yes
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_make_make_set=yes
ac_cv_search_tgetent=-lncurses

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='aclocal-1.4'
ALLOCA=''
AUTOCONF='autoconf'
AUTOHEADER='autoheader'
AUTOMAKE='automake-1.4'
CC='gcc'
CFLAGS='-g -O2'
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GLIBCONFIG='yes'
GLIB_CFLAGS='-I/usr/include/glib-1.2 -I/usr/lib/glib/include'
GLIB_LIBS='-L/usr/lib -lglib'
GUILE='/usr/bin/guile'
GUILE_CFLAGS=''
GUILE_CONFIG='/usr/bin/guile-config'
GUILE_LDFLAGS='-lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm'
GUILE_TOOLS='/usr/bin/guile-tools'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='makeinfo'
OBJEXT='o'
PACKAGE=''
PACKAGE_BUGREPORT='freehoo-users@nongnu.org'
PACKAGE_NAME='freehoo'
PACKAGE_STRING='freehoo 3.4.1'
PACKAGE_TARNAME='freehoo'
PACKAGE_VERSION='3.4.1'
PATH_SEPARATOR=':'
READLINE_LIBS='-lreadline -lncurses '
SET_MAKE=''
SHELL='/bin/sh'
VERSION=''
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_COMPLETION_MATCHES 1
#define HAVE_DING 1
#define HAVE_LIBREADLINE 1
#define HAVE_REGCOMP 1
#define HAVE_RL_COMPLETION_MATCHES 1
#define HAVE_RL_DING 1
#define PACKAGE ""
#define PACKAGE_BUGREPORT "freehoo-users@nongnu.org"
#define PACKAGE_NAME "freehoo"
#define PACKAGE_STRING "freehoo 3.4.1"
#define PACKAGE_TARNAME "freehoo"
#define PACKAGE_VERSION "3.4.1"
#define USE_STRUCT_CALLBACKS 1
#define VERSION ""

configure: exit 1
_______________________________________________
Freehoo-devel mailing list
Freehoo-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freehoo-devel

Reply via email to