[ClusterIt-CVS] ClusterIT 2 compilation problems on debian stable
Brought to you by:
garbled
|
From: Ivan T. <iv...@ge...> - 2007-02-01 14:06:08
|
Hi there, Whilst trying to compile clusterit-2.4 on a debian stable machine I ran into two problems. 1. gcc -g -O2 -o dvt dvt.o common.o netbsd.o -lX11 -lnsl /usr/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status make[2]: *** [dvt] Error 1 2. make[2]: Entering directory `/apps/src/clusterit/clusterit-2.4/dvt' gcc -g -O2 -o dvt dvt.o common.o netbsd.o -lX11 -lnsl /usr/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status make[2]: *** [dvt] Error 1 It turns out that the /usr/X11R6/lib directory isn't part of the default ld(1) search path, so I needed to have the flag "-L/usr/X11R6/lib" somewhere before "-lX11" in the offending command. I wonder if the above information can correct this bug ( is it a bug ?) Thank you in advance. |