OK, I did:

 make clean
 rm config.cache
 ./configure
 make
 make install

I looked it over, and everything went well, but there were
still errors. What gives?

Script started on Wed Aug  9 15:21:06 2000
[root@localhost black_jack-0.1]# ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for ranlib... ranlib
updating cache ./config.cache
creating ./config.status
creating Makefile
creating black_jack/Makefile
creating black_jack/docs/Makefile
creating black_jack/docs/en/Makefile
creating config.h
config.h is unchanged
[root@localhost black_jack-0.1]# make
make  all-recursive
make[1]: Entering directory `/usr/local/bin/black_jack-0.1'
Making all in black_jack
make[2]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack'
Making all in docs
make[3]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
Making all in en
make[4]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack/docs/en'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack/docs/en'
make[4]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
make[3]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
make[3]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack'
c++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c meny.cpp
meny.cpp: In method `void Meny::Top(int, int, int, int)':
meny.cpp:28: implicit declaration of function `int system(...)'
make[3]: *** [meny.o] Error 1
make[3]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/bin/black_jack-0.1'
make: *** [all-recursive-am] Error 2
[root@localhost black_jack-0.1]# make install
Making install in black_jack
make[1]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack'
Making install in docs
make[2]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
Making install in en
make[3]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack/docs/en'
make[4]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack/docs/en'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack/docs/en'
make[3]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack/docs/en'
make[3]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
make[4]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
make[3]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
make[2]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack/docs'
make[2]: Entering directory `/usr/local/bin/black_jack-0.1/black_jack'
c++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c meny.cpp
meny.cpp: In method `void Meny::Top(int, int, int, int)':
meny.cpp:28: implicit declaration of function `int system(...)'
make[2]: *** [meny.o] Error 1
make[2]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/bin/black_jack-0.1/black_jack'
make: *** [install-recursive] Error 1
[root@localhost black_jack-0.1]# exit
Script done on Wed Aug  9 15:22:49 2000



* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [000809 15:18]:
> 
> 
> On Wed, 9 Aug 2000, Richard Spencer wrote:
> 
> > Hey Lawson,
> >
> > I re-ran hws, and I'd appreciate it if you could take
> > at look a it. I remembered that before I could install
> > the gcc-2.95.1 rpm, I needed to upgrade my binutils package.
> >
> > The package I got wasn't from RedHat, nor one of it's mirrors.
> > Also, I got version 2.10.0.18, and I think it was the wrong one;
> > I needed anything >= binutils-2.9.5.0.12, and RedHat version 6.2
> > comes with version 2.9.5.0.22-6, which is the one I just got.
> >
> > So here's hws's results:
> >
> > Hello World
> 
> curious it doesn't use libstdc++.
> at least you have iostream.h now.
> 
> >     libm.so.6 => /lib/libm.so.6 (0x40019000)
> >     libc.so.6 => /lib/libc.so.6 (0x40035000)
> >     /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> > [root@localhost rks]# exit
> > Script done on Wed Aug  9 12:57:51 2000
> >
> > What do you think? It did make it farther than it did before.
> > And here's what happened when I tried to install that console
> > game of blackjack:
> >
> > Script started on Wed Aug  9 12:37:01 2000
> > [root@localhost black_jack-0.1]# ./configure
> > loading cache ./config.cache
> 
> Any time you pick up a make that you suspended to get something it
> needed (a compiler, library, header file...) do your sanity a favor and
> start it clean.  Who knows what ./configure cached that might not be
> true any more, or what was made wrong.
> 
> 
> make clean
> rm config.cache
> ./configure
> make
> Lawson
> 
---cut here---

-- 
Richard Spencer -- Sao Paulo, Brazil
Running Linux kernel 2.2.16 and Redhat 6.0

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to