Problem while compiling expect 5.42.1

suse64 at suse64 at
Mon Jan 24 01:36:33 PST 2005

I'm trying to build an LFS from a SuSE 9.2 pro. My arch is a 64bit one.
All went fine til I tried to install expect. Here is the output:

pc236:/mnt/lfs/sources/expect-5.42 # make SCRIPTS='' install
make: Warning: File `expect' has modification time 1.3e+04 s in the future
make[1]: Entering directory `/mnt/lfs/sources/expect-5.42'
Making binaries in testsuite...
make[2]: Entering directory `/mnt/lfs/sources/expect-5.42/testsuite'
make[2]: Nothing to be done for `binaries'.
make[2]: Leaving directory `/mnt/lfs/sources/expect-5.42/testsuite'
make[1]: Leaving directory `/mnt/lfs/sources/expect-5.42'
./mkinstalldirs /tools/lib/expect5.42
if [ -s libexpect5.42.a ] ; then \
  /usr/bin/install -c -m 644 libexpect5.42.a
/tools/lib/expect5.42/libexpect5.42.a ; \
  ranlib /tools/lib/expect5.42/libexpect5.42.a ; \
  /usr/bin/install -c -m 644 libexpect5.42.a /tools/lib/libexpect5.42.a ; \
  ranlib /tools/lib/libexpect5.42.a ; \
else true; fi
if [ -s reconfigure_Tcl_for_shared_library ] ; then \
  /usr/bin/install -c reconfigure_Tcl_for_shared_library
/tools/lib/reconfigure_Tcl_for_shared_library ; \
  /usr/bin/install -c pkgIndex /tools/lib/expect5.42/pkgIndex.tcl ; \
else true; fi
gcc -pipe    -Wl,--export-dynamic -o expect_installed exp_main_exp.o
-L/tools/lib -lexpect5.42 -L/tools/lib -ltcl8.4  -ldl  -lieee -lm
gcc: installation problem, cannot exec `-m': No such file or directory
make: *** [expect_installed] Error 1
pc236:/mnt/lfs/sources/expect-5.42 #

So I' trying to install it as root unsuccessfuly as u can see.
Does anyone got an idea?

More information about the lfs-support mailing list