|
XCIN Mail-list
|
| Indexed By Date: [Previous] [Next] | Indexed By Thread: [Previous] [Next] |
| Subject: | Re: 編譯新版的 libtabe 與 xcin |
| From: | georgeo@NotForMail.com.tw (George O) |
| Organization: | George Garden |
| Date: | 3 Jul 2000 11:23:57 GMT |
| To: | xcin@tlug.sinica.edu.tw |
| Reply-To: | xcin@linux.org.tw |
On 02 Jul 2000 09:13:08 GMT, 居士 wrote:
>不行的話麻煩您將 config.log 的內容貼出來吧。
Xcin 的版本是 2.5.2-pre3。
小弟執行的指令是
../configure \
--with-localedir=/usr/share/locale \
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib \
--with-localedir=/usr/X11R6/lib/X11/locale \
--with-tabeinc=/usr/local/include --with-tabelib=/usr/local/lib \
--with-x
config.log 的內容為
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:588: checking host system type
configure:794: checking for gcc
configure:907: checking whether the C compiler (gcc -Wall -fsigned-char -O2 ) \
works
configure:923: gcc -o conftest -Wall -fsigned-char -O2 conftest.c 1>&5
configure:920: warning: return-type defaults to `int'
configure:949: checking whether the C compiler (gcc -Wall -fsigned-char -O2 ) \
is a cross-compiler
configure:954: checking whether we are using GNU C
configure:963: gcc -E conftest.c
configure:982: checking whether gcc accepts -g
configure:1014: checking how to run the C preprocessor
configure:1035: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1105: checking for a BSD compatible install
configure:1158: checking whether ln -s works
configure:1181: checking for ranlib
configure:1209: checking whether make sets ${MAKE}
configure:1251: checking for gettext
configure:1281: checking for gettext in -lintl
configure:1300: gcc -o conftest -Wall -fsigned-char -O2 conftest.c -lintl \
1>&5
/usr/i386-slackware-linux/bin/ld: cannot open -lintl: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 1289 "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 gettext();
int main() {
gettext()
; return 0; }
configure:1329: checking for gettext
configure:1357: gcc -o conftest -Wall -fsigned-char -O2 conftest.c 1>&5
configure:1384: checking for setlocale in -lxpg4
configure:1403: gcc -o conftest -Wall -fsigned-char -O2 conftest.c -lxpg4 \
1>&5
/usr/i386-slackware-linux/bin/ld: cannot open -lxpg4: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 1392 "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 setlocale();
int main() {
setlocale()
; return 0; }
configure:1428: checking for dlopen in -ldl
configure:1447: gcc -o conftest -Wall -fsigned-char -O2 conftest.c -ldl \
1>&5
configure:1508: checking for db_open in -ldb
configure:1527: gcc -o conftest -Wall -fsigned-char -O2 conftest.c -ldb \
1>&5
configure:1616: checking for tabeZhiInfoLookupYin in -ltabe
configure:1635: gcc -o conftest -Wall -fsigned-char -O2 conftest.c -ltabe \
-ldb -L/usr/local/lib -ldb 1>&5
configure:1667: checking for bimsInit in -lbims
configure:1686: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ldb -L/usr/local/lib -ltabe -ltabe -ldb 1>&5
configure:1784: checking for dirent.h that defines DIR
configure:1797: gcc -c -Wall -fsigned-char -O2 conftest.c 1>&5
configure: In function `main':
configure:1793: warning: unused variable `dirp'
configure:1822: checking for opendir in -ldir
configure:1841: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -ldir -lbims -ltabe -ldb 1>&5
/usr/i386-slackware-linux/bin/ld: cannot open -ldir: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 1830 "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 opendir();
int main() {
opendir()
; return 0; }
configure:1905: checking for ANSI C header files
configure:1918: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1985: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:2009: checking whether sys/types.h defines makedev
configure:2021: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:2115: checking for sys/wait.h that is POSIX.1 compatible
configure:2136: gcc -c -Wall -fsigned-char -O2 conftest.c 1>&5
configure:2166: checking for fcntl.h
configure:2176: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2166: checking for limits.h
configure:2176: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2166: checking for malloc.h
configure:2176: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2166: checking for sys/ioctl.h
configure:2176: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2166: checking for sys/time.h
configure:2176: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2166: checking for unistd.h
configure:2176: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2166: checking for wchar.h
configure:2176: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2204: checking for working const
configure:2258: gcc -c -Wall -fsigned-char -O2 conftest.c 1>&5
configure: In function `main':
configure:2232: warning: unused variable `s'
configure:2252: warning: unused variable `foo'
configure:2220: warning: unused variable `zero'
configure:2214: warning: unused variable `x'
configure:2231: warning: `t' might be used uninitialized in this function
configure:2249: warning: `b' might be used uninitialized in this function
configure:2279: checking for uid_t in sys/types.h
configure:2313: checking for mode_t
configure:2346: checking for pid_t
configure:2379: checking for size_t
configure:2412: checking for st_blksize in struct stat
configure:2425: gcc -c -Wall -fsigned-char -O2 conftest.c 1>&5
configure: In function `main':
configure:2421: warning: statement with no effect
configure:2446: checking for st_blocks in struct stat
configure:2459: gcc -c -Wall -fsigned-char -O2 conftest.c 1>&5
configure: In function `main':
configure:2455: warning: statement with no effect
configure:2482: checking for st_rdev in struct stat
configure:2495: gcc -c -Wall -fsigned-char -O2 conftest.c 1>&5
configure: In function `main':
configure:2491: warning: statement with no effect
configure:2516: checking whether time.h and sys/time.h may both be included
configure:2530: gcc -c -Wall -fsigned-char -O2 conftest.c 1>&5
configure: In function `main':
configure:2526: warning: unused variable `tp'
configure:2551: checking whether struct tm is in sys/time.h or time.h
configure:2564: gcc -c -Wall -fsigned-char -O2 conftest.c 1>&5
configure: In function `main':
configure:2560: warning: statement with no effect
configure:2586: checking for working fnmatch
configure:2601: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:2598: warning: return-type defaults to `int'
configure: In function `main':
configure:2598: warning: implicit declaration of function `fnmatch'
configure:2624: checking whether getpgrp takes no argument
configure:2687: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:2648: warning: return-type defaults to `int'
configure: In function `main':
configure:2649: warning: implicit declaration of function `getpid'
configure:2650: warning: implicit declaration of function `getpgrp'
configure:2662: warning: implicit declaration of function `fork'
configure:2672: warning: implicit declaration of function `setpgrp'
configure:2680: warning: implicit declaration of function `wait'
configure:2711: checking for 8-bit clean memcmp
configure:2729: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:2722: warning: return-type defaults to `int'
configure:2747: checking return type of signal handlers
configure:2769: gcc -c -Wall -fsigned-char -O2 conftest.c 1>&5
configure: In function `main':
configure:2765: warning: unused variable `i'
configure:2788: checking for strftime
configure:2816: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:2884: checking whether utime accepts a null argument
configure:2905: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:2897: warning: return-type defaults to `int'
configure: In function `main':
configure:2899: warning: implicit declaration of function `utime'
configure:2929: checking for vprintf
configure:2957: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:3051: checking for getcwd
configure:3079: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:3051: checking for gethostname
configure:3079: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:3051: checking for gettimeofday
configure:3079: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:3051: checking for mkdir
configure:3079: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:3051: checking for mktime
configure:3079: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:3051: checking for putenv
configure:3079: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:3051: checking for rmdir
configure:3079: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:3051: checking for select
configure:3079: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:3051: checking for strcspn
configure:3079: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:3051: checking for strdup
configure:3079: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:3051: checking for strerror
configure:3079: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:3051: checking for strspn
configure:3079: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:3051: checking for strstr
configure:3079: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:3051: checking for strtol
configure:3079: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:3051: checking for strtoul
configure:3079: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:3051: checking for uname
configure:3079: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:3108: checking for socket
configure:3136: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
configure:3207: checking for mergesort
configure:3235: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lbims -ltabe -ldb 1>&5
/tmp/ccdXQ6He.o: In function `main':
/tmp/ccdXQ6He.o(.text+0x4): undefined reference to `mergesort'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3212 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char mergesort(); 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 mergesort();
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_mergesort) || defined (__stub___mergesort)
choke me
#else
mergesort();
#endif
; return 0; }
configure:3264: checking for X
configure:3494: checking for XmbDrawImageString in -lX11
configure:3513: gcc -o conftest -Wall -fsigned-char -O2 -L/usr/local/lib \
conftest.c -lX11 -L/usr/X11R6/lib -lbims -ltabe -ldb 1>&5
Xcin 2.5-20000124 倒是正常編譯無誤。
謝謝。 :)
--
George O
To Unsubscribe: send mail to majordomo@linux.org.tw
with "unsubscribe xcin" in the body of the message
| Indexed By Date | Previous: |
Re: glibc 2.1.91 (first test release for 2.2) (fwd) From: Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw> |
|---|---|---|
| Next: |
[Update] xcin-2.5.2-pre3.diff3.gz From: thhsieh@linux.org.tw |
|
| Indexed By Thread | Previous: |
Re: glibc 2.1.91 (first test release for 2.2) (fwd) From: Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw> |
| Next: |
[Update] xcin-2.5.2-pre3.diff3.gz From: thhsieh@linux.org.tw |