Topic: Problems with Ckit installation

Hi

I have some problems when running ./configure for installing Ckit. My OS version is Ubuntu 13.04.
Here is what showed up after I ran the ./configure command. Is there some prerequisite packages of Ckit that I missed? I am new in linux and I don't know much about the compiling procedure. But I do have gcc, g++, gfortran, build-essential, cmake, cmake-gui, autoconf on my system.

cyalexcheng@chyalexcheng:~/Downloads/Ckit/src$ ./configure
creating cache ./config.cache
checking whether make sets $MAKE... yes
checking for gcc... gcc
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for ranlib... ranlib
checking for gcc... yes
checking compile with prototypes... yes (gcc)
checking for unistd.h... yes
checking whether cross-compiling... no
checking for ANSI C header files... yes
checking for working const... yes
checking for random... yes
checking for rand... yes
updating cache ./config.cache
creating ./config.status
creating Makefile

2

Re: Problems with Ckit installation

Hi,

it looks good, I don't see anything wrong on the output you have provided.
Remember, the ./configure command creates only Makefile and it should be followed by "make" command to actually build the Ckit.

3 (edited by chyalexcheng 13-01-2014 14:04:12)

Re: Problems with Ckit installation

Thank you for your reply.
After I ran make all, here is what I got.
Isn't there anything wrong with Ckit installation?

chyalexcheng@chyalexcheng:~/Downloads/Ckit/src$ make all
gcc -c -I../include   -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_RANDOM=1 -DHAVE_RAND=1   -g -O  alistP.c
gcc -c -I../include   -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_RANDOM=1 -DHAVE_RAND=1   -g -O  hashP.c
gcc -c -I../include   -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_RANDOM=1 -DHAVE_RAND=1   -g -O  listP.c
listP.c: In function ‘swap_lists’:
listP.c:521:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
listP.c:521:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
gcc -c -I../include   -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_RANDOM=1 -DHAVE_RAND=1   -g -O  mallocP.c
gcc -c -I../include   -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_RANDOM=1 -DHAVE_RAND=1   -g -O  memoryP.c
memoryP.c: In function ‘copy_alloc_std’:
memoryP.c:494:5: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
memoryP.c: In function ‘update_alloc_table’:
memoryP.c:580:5: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
gcc -c -I../include   -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_RANDOM=1 -DHAVE_RAND=1   -g -O  treeP.c
gcc -c -I../include   -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_RANDOM=1 -DHAVE_RAND=1   -g -O  strfn.c
gcc -c -I../include   -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_RANDOM=1 -DHAVE_RAND=1   -g -O  tokens.c
tokens.c: In function ‘tokens_parse_line’:
tokens.c:232:5: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
tokens.c:232:5: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
tokens.c: In function ‘tokens_token_and_keyword_equiv’:
tokens.c:318:16: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
gcc -c -I../include   -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_RANDOM=1 -DHAVE_RAND=1   -g -O  getopts.c
gcc -c -I../include   -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_RANDOM=1 -DHAVE_RAND=1   -g -O  vectP.c
gcc -c -I../include   -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_RANDOM=1 -DHAVE_RAND=1   -g -O  scanlP.c
scanlP.c: In function ‘SL_delete_buffer’:
scanlP.c:95:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
gcc -c -I../include   -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_RANDOM=1 -DHAVE_RAND=1   -g -O  skysol.c
gcc -c -I../include   -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_RANDOM=1 -DHAVE_RAND=1   -g -O  skycol.c
gcc -c -I../include   -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_RANDOM=1 -DHAVE_RAND=1   -g -O  timeP.c
gcc -c -I../include   -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_RANDOM=1 -DHAVE_RAND=1   -g -O  expeval.c
expeval.c: In function ‘expeval_set_value’:
expeval.c:374:10: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
expeval.c: In function ‘Parse’:
expeval.c:425:7: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
expeval.c:425:7: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
expeval.c: In function ‘Level1’:
expeval.c:463:10: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
expeval.c:473:13: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
expeval.c: In function ‘Level3’:
expeval.c:531:13: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
expeval.c:531:13: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
expeval.c:537:13: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
expeval.c:537:13: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
expeval.c: In function ‘Level6’:
expeval.c:610:10: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
expeval.c:610:10: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
expeval.c:613:10: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
expeval.c:613:10: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
expeval.c:636:25: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
expeval.c:636:25: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
expeval.c:644:22: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
expeval.c:645:22: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
expeval.c:651:19: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
expeval.c:651:19: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
expeval.c:654:16: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
expeval.c:654:16: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
expeval.c:658:10: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
expeval.c:658:10: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
expeval.c: In function ‘expeval_eval’:
expeval.c:687:7: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
expeval.c:703:5: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
gcc -c -I../include   -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_RANDOM=1 -DHAVE_RAND=1   -g -O  gaussP.c
rm -f libckit.a
ar rc libckit.a alistP.o hashP.o listP.o mallocP.o memoryP.o treeP.o strfn.o tokens.o getopts.o vectP.o scanlP.o skysol.o skycol.o timeP.o expeval.o gaussP.o
ranlib libckit.a

4

Re: Problems with Ckit installation

It seems ok.
You can check if you have obtained libckit.a in src subdirectory of your Ckit directory.
If you have libckit.a, everything should be ok.

Re: Problems with Ckit installation

Yes, I have libckit.a in src. Thank you so much.

In fact, I can't install Elixir. Because it requires ckit to be installed, I thought the problem might be ckit.

Here is the config.log generated after I rerun ./configure for Elixir just now.

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

It was created by configure, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ ./configure

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

hostname = chyalexcheng
uname -m = x86_64
uname -r = 3.8.0-35-generic
uname -s = Linux
uname -v = #50-Ubuntu SMP Tue Dec 3 01:24:59 UTC 2013

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

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

PATH: /usr/lib/lightdm/lightdm
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games


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

configure:1295: checking whether make sets $(MAKE)
configure:1315: result: yes
configure:1370: checking for gcc
configure:1386: found /usr/bin/gcc
configure:1396: result: gcc
configure:1640: checking for C compiler version
configure:1643: gcc --version </dev/null >&5
gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
Copyright (C) 2012 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:1646: $? = 0
configure:1648: gcc -v </dev/null >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.3-1ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --with-system-zlib --enable-objc-gc --with-cloog --enable-cloog-backend=ppl --disable-cloog-version-check --disable-ppl-version-check --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)
configure:1651: $? = 0
configure:1653: gcc -V </dev/null >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:1656: $? = 4
configure:1680: checking for C compiler default output
configure:1683: gcc    conftest.c  >&5
configure:1686: $? = 0
configure:1732: result: a.out
configure:1737: checking whether the C compiler works
configure:1743: ./a.out
configure:1746: $? = 0
configure:1763: result: yes
configure:1770: checking whether we are cross compiling
configure:1772: result: no
configure:1775: checking for suffix of executables
configure:1777: gcc -o conftest    conftest.c  >&5
configure:1780: $? = 0
configure:1805: result:
configure:1811: checking for suffix of object files
configure:1833: gcc -c   conftest.c >&5
configure:1836: $? = 0
configure:1858: result: o
configure:1862: checking whether we are using the GNU C compiler
configure:1887: gcc -c   conftest.c >&5
configure:1890: $? = 0
configure:1893: test -s conftest.o
configure:1896: $? = 0
configure:1909: result: yes
configure:1915: checking whether gcc accepts -g
configure:1937: gcc -c -g  conftest.c >&5
configure:1940: $? = 0
configure:1943: test -s conftest.o
configure:1946: $? = 0
configure:1957: result: yes
configure:1974: checking for gcc option to accept ANSI C
configure:2035: gcc  -c -g -O2  conftest.c >&5
configure:2038: $? = 0
configure:2041: test -s conftest.o
configure:2044: $? = 0
configure:2062: result: none needed
configure:2080: gcc -c -g -O2  conftest.c >&5
conftest.c:2:3: error: unknown type name 'choke'
conftest.c:2:3: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
configure:2083: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2193: checking for library containing strerror
configure:2224: gcc -o conftest -g -O2   conftest.c  >&5
configure:2227: $? = 0
configure:2230: test -s conftest
configure:2233: $? = 0
configure:2292: result: none required
configure:2299: checking whether ln -s works
configure:2303: result: yes
configure:2315: checking how to run the C preprocessor
configure:2351: gcc -E  conftest.c
configure:2357: $? = 0
configure:2389: gcc -E  conftest.c
configure:2388:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:2395: $? = 1
configure: failed program was:
| #line 2380 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:2433: result: gcc -E
configure:2458: gcc -E  conftest.c
configure:2464: $? = 0
configure:2496: gcc -E  conftest.c
configure:2495:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:2502: $? = 1
configure: failed program was:
| #line 2487 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:2545: checking for egrep
configure:2555: result: grep -E
configure:2561: checking for AIX
configure:2584: result: no
configure:2631: checking for ranlib
configure:2647: found /usr/bin/ranlib
configure:2658: result: ranlib
configure:2677: checking build system type
configure:2695: result: x86_64-pc-linux-gnu
configure:2703: checking host system type
configure:2717: result: x86_64-pc-linux-gnu
configure:2745: checking for gcc
configure:2761: found /usr/bin/gcc
configure:2772: result: yes
configure:2797: gcc  -c -g -O2  conftest.c >&5
configure:2800: $? = 0
configure:2803: test -s conftest.o
configure:2806: $? = 0
configure:2823: checking compile with prototypes
configure:2825: result: yes (gcc )
configure:2833: checking for gm4
configure:2866: result: no
configure:2833: checking for gnum4
configure:2866: result: no
configure:2833: checking for m4
configure:2851: found /usr/bin/m4
configure:2863: result: /usr/bin/m4
configure:2876: checking for _get_list_next in -lckit
configure:2907: gcc  -o conftest -g -O2   conftest.c -lckit   >&5
/usr/bin/ld: cannot find -lckit
collect2: error: ld returned 1 exit status
configure:2910: $? = 1
configure: failed program was:
| #line 2883 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* 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 _get_list_next ();
| int
| main ()
| {
| _get_list_next ();
|   ;
|   return 0;
| }
configure:2928: result: no
configure:2937: checking guess of libckit.a location
configure:2940: result: ../../Ckit/src
configure:2953: checking for ANSI C header files
configure:2979: gcc  -c -g -O2  conftest.c >&5
configure:2982: $? = 0
configure:2985: test -s conftest.o
configure:2988: $? = 0
configure:3080: gcc  -o conftest -g -O2   conftest.c  >&5
configure: In function 'main':
configure:3073:7: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
configure:3083: $? = 0
configure:3085: ./conftest
configure:3088: $? = 0
configure:3103: result: yes
configure:3127: checking for sys/types.h
configure:3144: gcc  -c -g -O2  conftest.c >&5
configure:3147: $? = 0
configure:3150: test -s conftest.o
configure:3153: $? = 0
configure:3164: result: yes
configure:3127: checking for sys/stat.h
configure:3144: gcc  -c -g -O2  conftest.c >&5
configure:3147: $? = 0
configure:3150: test -s conftest.o
configure:3153: $? = 0
configure:3164: result: yes
configure:3127: checking for stdlib.h
configure:3144: gcc  -c -g -O2  conftest.c >&5
configure:3147: $? = 0
configure:3150: test -s conftest.o
configure:3153: $? = 0
configure:3164: result: yes
configure:3127: checking for string.h
configure:3144: gcc  -c -g -O2  conftest.c >&5
configure:3147: $? = 0
configure:3150: test -s conftest.o
configure:3153: $? = 0
configure:3164: result: yes
configure:3127: checking for memory.h
configure:3144: gcc  -c -g -O2  conftest.c >&5
configure:3147: $? = 0
configure:3150: test -s conftest.o
configure:3153: $? = 0
configure:3164: result: yes
configure:3127: checking for strings.h
configure:3144: gcc  -c -g -O2  conftest.c >&5
configure:3147: $? = 0
configure:3150: test -s conftest.o
configure:3153: $? = 0
configure:3164: result: yes
configure:3127: checking for inttypes.h
configure:3144: gcc  -c -g -O2  conftest.c >&5
configure:3147: $? = 0
configure:3150: test -s conftest.o
configure:3153: $? = 0
configure:3164: result: yes
configure:3127: checking for stdint.h
configure:3144: gcc  -c -g -O2  conftest.c >&5
configure:3147: $? = 0
configure:3150: test -s conftest.o
configure:3153: $? = 0
configure:3164: result: yes
configure:3127: checking for unistd.h
configure:3144: gcc  -c -g -O2  conftest.c >&5
configure:3147: $? = 0
configure:3150: test -s conftest.o
configure:3153: $? = 0
configure:3164: result: yes
configure:3186: checking ckitcfg.h usability
configure:3199: gcc  -c -g -O2  conftest.c >&5
configure:3240:21: fatal error: ckitcfg.h: No such file or directory
compilation terminated.
configure:3202: $? = 1
configure: failed program was:
| #line 3188 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <ckitcfg.h>
configure:3218: result: no
configure:3222: checking ckitcfg.h presence
configure:3233: gcc -E  conftest.c
configure:3242:21: fatal error: ckitcfg.h: No such file or directory
compilation terminated.
configure:3239: $? = 1
configure: failed program was:
| #line 3224 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <ckitcfg.h>
configure:3258: result: no
configure:3294: checking for ckitcfg.h
configure:3301: result: no
configure:3310: checking guess of Ckit includes location
configure:3313: result: ../../Ckit/include
configure:3342: checking Elixir.h usability
configure:3355: gcc  -c -g -O2  conftest.c >&5
configure:3396:20: fatal error: Elixir.h: No such file or directory
compilation terminated.
configure:3358: $? = 1
configure: failed program was:
| #line 3344 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <Elixir.h>
configure:3374: result: no
configure:3378: checking Elixir.h presence
configure:3389: gcc -E  conftest.c
configure:3398:20: fatal error: Elixir.h: No such file or directory
compilation terminated.
configure:3395: $? = 1
configure: failed program was:
| #line 3380 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <Elixir.h>
configure:3414: result: no
configure:3450: checking for Elixir.h
configure:3457: result: no
configure:3466: checking guess of Elixir includes location
configure:3469: result: ../include
configure:3483: checking for an ANSI C-conforming const
configure:3551: gcc  -c -g -O2  conftest.c >&5
configure:3554: $? = 0
configure:3557: test -s conftest.o
configure:3560: $? = 0
configure:3571: result: yes
configure:3595: checking for getcwd
configure:3645: gcc  -o conftest -g -O2   conftest.c  >&5
configure:3648: $? = 0
configure:3651: test -s conftest
configure:3654: $? = 0
configure:3665: result: yes
configure:3595: checking for getwd
configure:3645: gcc  -o conftest -g -O2   conftest.c  >&5
configure:3648: $? = 0
configure:3651: test -s conftest
configure:3654: $? = 0
configure:3665: result: yes
configure:3595: checking for memcpy
configure:3645: gcc  -o conftest -g -O2   conftest.c  >&5
configure:3636:6: warning: conflicting types for built-in function 'memcpy' [enabled by default]
configure:3648: $? = 0
configure:3651: test -s conftest
configure:3654: $? = 0
configure:3665: result: yes
configure:3595: checking for qsort
configure:3645: gcc  -o conftest -g -O2   conftest.c  >&5
configure:3648: $? = 0
configure:3651: test -s conftest
configure:3654: $? = 0
configure:3665: result: yes
configure:3595: checking for random
configure:3645: gcc  -o conftest -g -O2   conftest.c  >&5
configure:3648: $? = 0
configure:3651: test -s conftest
configure:3654: $? = 0
configure:3665: result: yes
configure:3595: checking for rand
configure:3645: gcc  -o conftest -g -O2   conftest.c  >&5
configure:3648: $? = 0
configure:3651: test -s conftest
configure:3654: $? = 0
configure:3665: result: yes
configure:3595: checking for setpwent
configure:3645: gcc  -o conftest -g -O2   conftest.c  >&5
configure:3648: $? = 0
configure:3651: test -s conftest
configure:3654: $? = 0
configure:3665: result: yes
configure:3595: checking for strchr
configure:3645: gcc  -o conftest -g -O2   conftest.c  >&5
configure:3641:6: warning: conflicting types for built-in function 'strchr' [enabled by default]
configure:3648: $? = 0
configure:3651: test -s conftest
configure:3654: $? = 0
configure:3665: result: yes
configure:3595: checking for strerror
configure:3645: gcc  -o conftest -g -O2   conftest.c  >&5
configure:3648: $? = 0
configure:3651: test -s conftest
configure:3654: $? = 0
configure:3665: result: yes
configure:3595: checking for mkstemp
configure:3645: gcc  -o conftest -g -O2   conftest.c  >&5
configure:3648: $? = 0
configure:3651: test -s conftest
configure:3654: $? = 0
configure:3665: result: yes
configure:3691: checking sys/time.h usability
configure:3704: gcc  -c -g -O2  conftest.c >&5
configure:3707: $? = 0
configure:3710: test -s conftest.o
configure:3713: $? = 0
configure:3723: result: yes
configure:3727: checking sys/time.h presence
configure:3738: gcc -E  conftest.c
configure:3744: $? = 0
configure:3763: result: yes
configure:3799: checking for sys/time.h
configure:3806: result: yes
configure:3682: checking for unistd.h
configure:3687: result: yes
configure:3819: checking for ANSI C header files
configure:3969: result: yes
configure:3987: checking for dirent.h that defines DIR
configure:4012: gcc  -c -g -O2  conftest.c >&5
configure:4015: $? = 0
configure:4018: test -s conftest.o
configure:4021: $? = 0
configure:4032: result: yes
configure:4045: checking for library containing opendir
configure:4076: gcc  -o conftest -g -O2   conftest.c  >&5
configure:4079: $? = 0
configure:4082: test -s conftest
configure:4085: $? = 0
configure:4144: result: none required
configure:4261: checking for X
configure:4367: gcc -E  conftest.c
configure:4390:27: fatal error: X11/Intrinsic.h: No such file or directory
compilation terminated.
configure:4373: $? = 1
configure: failed program was:
| #line 4358 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETCWD 1
| #define HAVE_GETWD 1
| #define HAVE_MEMCPY 1
| #define HAVE_QSORT 1
| #define HAVE_RANDOM 1
| #define HAVE_RAND 1
| #define HAVE_SETPWENT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRERROR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DIRENT_H 1
| /* end confdefs.h.  */
| #include <X11/Intrinsic.h>
configure:4423: gcc  -o conftest -g -O2   conftest.c -lXt  >&5
configure:4438:27: fatal error: X11/Intrinsic.h: No such file or directory
compilation terminated.
configure:4426: $? = 1
configure: failed program was:
| #line 4406 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETCWD 1
| #define HAVE_GETWD 1
| #define HAVE_MEMCPY 1
| #define HAVE_QSORT 1
| #define HAVE_RANDOM 1
| #define HAVE_RAND 1
| #define HAVE_SETPWENT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRERROR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DIRENT_H 1
| /* end confdefs.h.  */
| #include <X11/Intrinsic.h>
| int
| main ()
| {
| XtMalloc (0)
|   ;
|   return 0;
| }
configure:4471: result: no
configure:5458: checking for XawDialogGetValueString in -lXaw
configure:5489: gcc  -o conftest -g -O2   conftest.c -lXaw   -lXt -lXmu -lX11 -lXext   >&5
/usr/bin/ld: cannot find -lXaw
/usr/bin/ld: cannot find -lXt
/usr/bin/ld: cannot find -lXmu
/usr/bin/ld: cannot find -lX11
/usr/bin/ld: cannot find -lXext
collect2: error: ld returned 1 exit status
configure:5492: $? = 1
configure: failed program was:
| #line 5465 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETCWD 1
| #define HAVE_GETWD 1
| #define HAVE_MEMCPY 1
| #define HAVE_QSORT 1
| #define HAVE_RANDOM 1
| #define HAVE_RAND 1
| #define HAVE_SETPWENT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRERROR 1
| #define HAVE_MKSTEMP 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DIRENT_H 1
| #define X_DISPLAY_MISSING 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 XawDialogGetValueString ();
| int
| main ()
| {
| XawDialogGetValueString ();
|   ;
|   return 0;
| }
configure:5510: result: no
configure:5521: WARNING: No support for Xaw (or Xmu) -- cannot build
configure:5630: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status

on chyalexcheng

config.status:634: creating Makefile
config.status:737: creating ../include/Ecfg.h

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

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_build_alias=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=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_getcwd=yes
ac_cv_func_getwd=yes
ac_cv_func_memcpy=yes
ac_cv_func_mkstemp=yes
ac_cv_func_qsort=yes
ac_cv_func_rand=yes
ac_cv_func_random=yes
ac_cv_func_setpwent=yes
ac_cv_func_strchr=yes
ac_cv_func_strerror=yes
ac_cv_have_x=have_x=no
ac_cv_header_Elixir_h=no
ac_cv_header_ckitcfg_h=no
ac_cv_header_dirent_dirent_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_host_alias=x86_64-pc-linux-gnu
ac_cv_lib_Xaw_XawDialogGetValueString=no
ac_cv_lib_ckit__get_list_next=no
ac_cv_objext=o
ac_cv_path_M4=/usr/bin/m4
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
ac_cv_prog_rslt=yes
ac_cv_search_opendir='none required'
ac_cv_search_strerror='none required'

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

CC='gcc '
CFLAGS='-g -O2'
CKIT_INCLUDES='-I../../Ckit/include'
CKIT_LIB='../../Ckit/src/libckit.a'
CPP='gcc -E'
CPPFLAGS=''
DEFS='-DHAVE_CONFIG_H'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
ELIXIR_INCLUDES='-I../include'
ELIXIR_LIB=''
ESI_LIB=''
EXEEXT=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LN_S='ln -s'
LTLIBOBJS=''
M4='/usr/bin/m4'
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/bash'
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC='gcc'
ac_ct_RANLIB='ranlib'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='${prefix}'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
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/local'
program_transform_name='s,x,x,'
rslt='yes'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
srcdir='.'
sysconfdir='${prefix}/etc'
target_alias=''
top_srcdir=''
x_includes='NONE'
x_libraries='NONE'

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

#define HAVE_DIRENT_H 1
#define HAVE_GETCWD 1
#define HAVE_GETWD 1
#define HAVE_INTTYPES_H 1
#define HAVE_MEMCPY 1
#define HAVE_MEMORY_H 1
#define HAVE_MKSTEMP 1
#define HAVE_QSORT 1
#define HAVE_RAND 1
#define HAVE_RANDOM 1
#define HAVE_SETPWENT 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRCHR 1
#define HAVE_STRERROR 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1
#define STDC_HEADERS 1
#define X_DISPLAY_MISSING 1

configure: exit 0

6

Re: Problems with Ckit installation

Hi, I went quickly through the log you have provided:

configure:3396:20: fatal error: Elixir.h: No such file or directory
configure:4390:27: fatal error: X11/Intrinsic.h: No such file or directory
/usr/bin/ld: cannot find -lXaw

Seems that you don't have X-windows libraries  installed (development version is required), please also check you have Xmu and Xaw libraries (development package required as well). However, the first error is really strange, as the configure seems not to find Elixir.h file.
Also please add large listings as attachments (can be added when editing the post) instead of copying them into the message field.

Re: Problems with Ckit installation

Sorry for posting the large listing directly. You are right. I don't have xorg-dev. I installed xorg-dev which includes both Xmu and Xaw libraries. But the compilation still fails.
I checked the config.log of Ckit again and found the following warning. Is there anything wrong with my Ckit?

configure: In function 'main':
configure:843:67: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
                                                                   ^

Re: Problems with Ckit installation

I don't think there is anything you need to worry about on that particular line. After all, it is just a warning.
The Elixir errors i think are harmless as well (i have them in my config.log as well, but later on it does find ../include/Elixir.h as it should.

So, unless there are any objections in the terminal after running ./configure, i think you're all set to compile it.