I can think of 2 things that might be wrong: 1) no gcc; check by typing gcc in a command line 2) permissions on install directory are incorrect check by 'cd'ing to your install directory, and typing "touch x" . You should get no errors.
Let us know the results. -- Pat On Sat, Feb 6, 2010 at 2:11 PM, someone <plu...@robinson-west.com> wrote: > lfs:~/mpfr$ env > TERM=xterm > LIBRARY_PATH=/tools/lib > OLDPWD=/home/lfs > LC_ALL=POSIX > LFS=/home/lfs/LFS > PATH=/tools/bin:/bin:/usr/bin > PWD=/home/lfs/mpfr > LFS_TGT=i686-lfs-linux-gnu > PS1=\u:\w\$ > SHLVL=1 > HOME=/home/lfs > _=/bin/env > > The only thing I added was the LIBRARY_PATH. I'm trying to follow the > linux from scratch book online. > > lfs:~/mpfr$ ./configure --prefix=/tools --with-gmp=/tools/include/gmp.h > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking whether to disable maintainer-specific portions of Makefiles... > yes > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for a sed that does not truncate output... /bin/sed > checking for CC and CFLAGS in gmp.h... no > checking for gcc... gcc > checking for C compiler default output file name... > configure: error: in `/home/lfs/mpfr': > configure: error: C compiler cannot create executables > See `config.log' for more details. > lfs:~/mpfr$ > > My host system is a Slackware 13 system, but I've specifically created > an LF user to minimize strange behavior caused by the host system. > > The instructions appear to call for a direct build of gcc with just > the source directories for gmp and mpfr unpacked, but I get errors > that gmp can't be found when I try to do that. > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > _______________________________________________ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > -- p.j.timl...@ieee.org www.timlick.com 503-476-3119 10990 NE Paren Springs Rd. Dundee OR 97115 _______________________________________________ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug