Question

I do the following in command line:

1) wget ftp://mirrors.kernel.org/gnu/gcc/gcc-3.4.6/gcc-3.4.6.tar.bz2

2) tar -jxf gcc-3.4.6.tar.bz2

3) cd gcc-3.4.6

4) cd libstdc++-v3

5) ./configure

And I get the following error:

configure: error: cannot find install-sh or install.sh in ./../..

There is actually an "install-sh" file in the gcc-3.4.6 directory, but that's one directory up the current, not two.

The configure script should look for install-sh in "./.." insted of "./../.." ??

What's wrong??

Was it helpful?

Solution

  1. wget ftp://mirrors.kernel.org/gnu/gcc/gcc-3.4.6/gcc-3.4.6.tar.bz2
  2. tar -jxf gcc-3.4.6.tar.bz2
  3. cd gcc-3.4.6
  4. ./configure
  5. make
  6. make install

OTHER TIPS

Suggestion: Consider stow to keep custom installations in /usr/local in some sane order.

Why are you cd:ing down into libstdc++-v3? I thought the correct way was to just run "make" from the directory you ran configure from.

Here's how I built a different package that didn't come with a configure script:

config/autorun.sh
./configure <options>
make
make install
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top