Error while compiling Xfont [/usr/bin/ld: no input files]

ZIYAD A. M. AL-BATLY zamb@bigfoot.com
Sun, 21 Dec 2003 21:55:37 +0300


Hi every one...

I'm trying to compile Xserver (and the other gang) as described in:
<http://freedesktop.org/Software/XserverInstallGuide>
but I always get the same error:

----8<----
make[2]: Entering directory `/home/zamb/hda2/CVS/GNOME2/Xfont'
/bin/sh ./libtool --mode=link gcc  -Wall -Wpointer-arith 
-Wstrict-prototypes    -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -s -O2 
-I/home/zamb/G-CVS-00/include   -o libXfont.la -rpath 
/home/zamb/G-CVS-00/lib -version-number 1:4:1   bitmap/libbitmap.la 
builtins/libbuiltins.la  fontfile/libfontfile.la util/libutil.la 
stubs/libstubs.la
mkdir .libs
./libtool: line 4091: test: : integer expression expected
./libtool: line 4091: test: : integer expression expected
creating reloadable object files...
creating a temporary reloadable object file: .libs/libXfont.la-1.o
/usr/bin/ld -r -o .libs/libXfont.la-1.o
/usr/bin/ld: no input files
make[2]: *** [libXfont.la] Error 1
make[2]: Leaving directory `/home/zamb/hda2/CVS/GNOME2/Xfont'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zamb/hda2/CVS/GNOME2/Xfont'
make: *** [all] Error 2
---->8----

Configuration:
./configure --enable-maintainer-mode --prefix /home/zamb/G-CVS-00 
--libexecdir=/home/zamb/G-CVS-00/lib/libexec 
--infodir=/home/zamb/G-CVS-00/share/info 
--mandir=/home/zamb/G-CVS-00/share/man --disable-static --disable-gtk-doc


Other information:
Debian GNU/Linux Unstable, gcc 3.3.2, glibc 2.3.2, autoconf 1.58, 
automake 1.7.9, automake-1.4 1.4-p6, automake-1.6 1.6.3, make 3.79.1,
libtool 1.5a (1.1331 2003/11/14 17:33:04)


(I had XFree86 -devel files installed, then I noticed it makes some 
programs confused at configuration/building, so I de-installed it.
free-type 2.1.5-1 and it's devel are installed)

(I installed Xfont from the tarball "libXfont-1.4.1.tar.bz2" and it 
worked OK, So this is not critical.  But why the CVS version isn't working?)

What should I do?
Thanks.

Ziyad
(Forgive me for my style/spelling/grammar, English is not my main language)