Hi,
I just installed chessd-0.3.1 from your website on a :
Linux Debian 2.6.22-15-server i686 GNU/Linux
I used the compiler gcc 3.3 and 4.1
The installation finished successfully by following this process :
1)libtoolize --copy --force
# libtoolize --copy --force
This because the following issue during the normal process (configure/make/make install)
*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.22, ltmain.sh = "1.5.24 Debian 1.5.24-1ubuntu1") ***
Please run:
libtoolize --copy --force
I checked and the proper libtool version is installed :
# libtool --version
ltmain.sh (GNU libtool) 1.5.24 Debian 1.5.24-1ubuntu1 (1.1220.2.456 2007/06/24 02:25:32)
But the script talk about libtool.m4 = 1.5.22, i don't get this....
Anyway i run the requested command :
# libtoolize --copy --force
You should update your `aclocal.m4' by running aclocal.
Putting files in AC_CONFIG_AUX_DIR, `auxdir'.
then i execute as requested aclocal :
# aclocal
configure.ac:71: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
/usr/share/aclocal/lock.m4:29: gl_LOCK_EARLY_BODY is expanded from...
/usr/share/aclocal/lock.m4:22: gl_LOCK_EARLY is expanded from...
/usr/share/aclocal/lock.m4:248: gl_LOCK is expanded from...
/usr/share/aclocal/intl.m4:162: gt_INTL_SUBDIR_CORE is expanded from...
/usr/share/aclocal/intl.m4:25: AM_INTL_SUBDIR is expanded from...
/usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.ac:71: the top level
configure.ac:71: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:389: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/functions.m4:1656: AC_FUNC_STRNLEN is expanded from...
configure.ac:82: the top level
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_AIX
../../lib/autoconf/specific.m4:436: AC_AIX is expanded from...
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_AIX
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_MINIX
../../lib/autoconf/specific.m4:460: AC_MINIX is expanded from...
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_MINIX
root@daniel5:~/chessd-0.3.1#
and follow up with the normal process :
./configure --prefix /usr/local
I do not include the output but i got the same stuff at the end :
configure: error:
*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.22, ltmain.sh = "1.5.24 Debian 1.5.24-1ubuntu1") ***
Please run:
libtoolize --copy --force
if appropriate, please contact the maintainer of this
package (or your distribution) for help.
I found that autoreconf instead of aclocal fix this loop to aclocal:
2)autoreconf
# autoreconf
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:389: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/functions.m4:1656: AC_FUNC_STRNLEN is expanded from...
configure.ac:82: the top level
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_AIX
../../lib/autoconf/specific.m4:436: AC_AIX is expanded from...
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_AIX
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_MINIX
../../lib/autoconf/specific.m4:460: AC_MINIX is expanded from...
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_MINIX
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:389: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/functions.m4:1656: AC_FUNC_STRNLEN is expanded from...
configure.ac:82: the top level
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_AIX
../../lib/autoconf/specific.m4:436: AC_AIX is expanded from...
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_AIX
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_MINIX
../../lib/autoconf/specific.m4:460: AC_MINIX is expanded from...
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_MINIX
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:389: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/functions.m4:1656: AC_FUNC_STRNLEN is expanded from...
configure.ac:82: the top level
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_AIX
../../lib/autoconf/specific.m4:436: AC_AIX is expanded from...
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_AIX
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_MINIX
../../lib/autoconf/specific.m4:460: AC_MINIX is expanded from...
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_MINIX
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:389: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/functions.m4:1656: AC_FUNC_STRNLEN is expanded from...
configure.ac:82: the top level
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_AIX
../../lib/autoconf/specific.m4:436: AC_AIX is expanded from...
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_AIX
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_MINIX
../../lib/autoconf/specific.m4:460: AC_MINIX is expanded from...
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_MINIX
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:389: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/functions.m4:1656: AC_FUNC_STRNLEN is expanded from...
configure.ac:82: the top level
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_AIX
../../lib/autoconf/specific.m4:436: AC_AIX is expanded from...
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_AIX
configure.ac:82: warning: AC_COMPILE_IFELSE was called before AC_MINIX
../../lib/autoconf/specific.m4:460: AC_MINIX is expanded from...
configure.ac:82: warning: AC_RUN_IFELSE was called before AC_MINIX
#
and restarting the normal process (configure/make/make install)
3)configure
# ./configure --prefix /usr/local
Finally done without issue i had to run libtoolize --copy --force and autoreconf before...
then next normal step : make
4)make
# make
i do not add the compilation output but that finish without any error :
make[2]: Leaving directory `/root/chessd-0.3.1'
make[1]: Leaving directory `/root/chessd-0.3.1'
#
5)make install
# make install
Same as install no errors at all :
make[2]: Leaving directory `/root/chessd-0.3.1'
make[1]: Leaving directory `/root/chessd-0.3.1'
#
Then with the following :
1)libtoolize --copy --force
2)autoreconf
3)./configure --prefix /usr/local
4)make
5)make install
The installation do not show any error or request, just like next>next>next.....
I believe then the installation has been done properly and i start the sql database setup.
The tables are created properly no issue at all
I modify the config file with the correct database settings, sql,password ect...
And ready for the lauch :
# /usr/local/bin/chessd -f
Loaded Parameters:
PORT: 5000
WN_PORT: 5051
DBDRIVER: mysql
DBHOST: localhost
DBPORT: 5432
DB: chessd
DBUSER: chessd
DBPASS: chessdpasswd
CHESSD: Initialized FICS port 5000
CHESSD: Initialized Webnet port 5051
CHESSD: Connected to mysql database chessd
Segmentation fault
#
I get the prompt back nothing is running,
without the -f i get the prompt back but "Segmentation fault" does not show up.
I looked for "Segmentation fault" : http://en.wikipedia.org/wiki/Segmentation_fault
particular error condition that can occur during the operation of computer software.
A segmentation fault occurs when a program attempts to access a memory location that it is not allowed to access,
or attempts to access a memory location in a way that is not allowed (for example, attempting to write to a read-only location, or to overwrite part of the operating system).
Then that is maybe a bug or whatever but i can't get it running,
i tried lasker-2.2.3 who run fine but i want so much have chessd running.
Please help i am a windows network admin guy and i am not able to debug this kind of stuff.
I lost night and day to get it running no one is able to fix it.
Thanks a lot for any feedback.
Regards,
Daniel Houtmann
French lost in Amsterdam ;O)