Linux文件同步工具Unison的安装问题??

bjamosgavin 2009-08-14 11:11:35
** Configuration summary **

Directories where Objective Caml will be installed:
binaries.................. /usr/local/bin
standard library.......... /usr/local/lib/ocaml
manual pages.............. /usr/local/man (with extension .1)
Configuration for the bytecode compiler:
C compiler used........... gcc
options for compiling..... -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT
options for linking....... -Wl,-E -lm -ldl -lcurses -lpthread
shared libraries are supported
options for compiling..... -fPIC -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT
command for building...... gcc -shared -o lib.so -Wl,-rpath,/a/path objs
Configuration for the native-code compiler:
hardware architecture..... amd64
OS variant................ linux
C compiler used........... gcc
options for compiling..... -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT
options for linking....... -lm
assembler ................ $(AS)
preprocessed assembler ... gcc -c -DSYS_$(SYSTEM)
profiling with gprof ..... supported
Source-level replay debugger: supported
Additional libraries supported:
unix str num dynlink bigarray systhreads threads graph dbm
Configuration for the "num" library:
target architecture ...... amd64 (asm level 1)
Configuration for the "graph" library:
options for compiling .... -I/usr/X11R6/include
options for linking ...... -L/usr/X11R6/lib -lX11
The "labltk" library: not supported

** Objective Caml configuration completed successfully **


上面是./configure 的结果


执行make world 后就出现错误,不知道如何解决,那位兄弟可以帮帮忙啊!!!???


../../ocamlcomp.sh -I ../unix -a -o stdlib.cma pervasives.cmo ../../stdlib/array.cmo ../../stdlib/list.cmo ../../stdlib/char.cmo ../../stdlib/string.cmo ../../stdlib/sys.cmo ../../stdlib/hashtbl.cmo ../../stdlib/sort.cmo marshal.cmo ../../stdlib/obj.cmo ../../stdlib/int32.cmo ../../stdlib/int64.cmo ../../stdlib/nativeint.cmo ../../stdlib/lexing.cmo ../../stdlib/parsing.cmo ../../stdlib/set.cmo ../../stdlib/map.cmo ../../stdlib/stack.cmo ../../stdlib/queue.cmo ../../stdlib/stream.cmo ../../stdlib/buffer.cmo ../../stdlib/printf.cmo ../../stdlib/format.cmo ../../stdlib/scanf.cmo ../../stdlib/arg.cmo ../../stdlib/printexc.cmo ../../stdlib/gc.cmo ../../stdlib/digest.cmo ../../stdlib/random.cmo ../../stdlib/camlinternalOO.cmo ../../stdlib/oo.cmo ../../stdlib/camlinternalMod.cmo ../../stdlib/genlex.cmo ../../stdlib/callback.cmo ../../stdlib/weak.cmo ../../stdlib/lazy.cmo ../../stdlib/filename.cmo ../../stdlib/complex.cmo ../../stdlib/arrayLabels.cmo ../../stdlib/listLabels.cmo ../../stdlib/stringLabels.cmo ../../stdlib/stdLabels.cmo ../../stdlib/moreLabels.cmo
make[1]: Leaving directory `/usr/local/ocaml-3.10.0/otherlibs/threads'
make[1]: Entering directory `/usr/local/ocaml-3.10.0/otherlibs/graph'
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -o open.o open.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -o draw.o draw.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -o fill.o fill.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -o color.o color.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -o text.o text.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -o image.o image.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -o make_img.o make_img.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -o dump_img.o dump_img.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -o point_col.o point_col.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -o sound.o sound.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -o events.o events.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -o subwindow.o subwindow.c
../../boot/ocamlrun ../../tools/ocamlmklib -o graphics open.o draw.o fill.o color.o text.o image.o make_img.o dump_img.o point_col.o sound.o events.o subwindow.o -L/usr/X11R6/lib -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [libgraphics.a] 错误 2
make[1]: Leaving directory `/usr/local/ocaml-3.10.0/otherlibs/graph'
make: *** [otherlibraries] 错误 2
...全文
109 点赞 收藏 1
写回复
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
fengsnow0124 2012-06-08
你好,请问你的问题解决了么?我按装ocaml时也遇到和你一样的问题
回复
发动态
发帖子
UNIX文化
创建于2007-08-27

2152

社区成员

Linux/Unix社区 UNIX文化
申请成为版主
社区公告
暂无公告