Skip to main content
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
Source Link

Here is the reason why:

The point was that the configure and make steps worked because the PATH was prepended with the location of the toolchain (e.g. gcc)

But sudo does not propagate the variablessudo does not propagate the variables. Hence sudo make install ran commands with the wrong toolchain (the old gcc for instance).

One solution is to just use su

su # make install 

Here is the reason why:

The point was that the configure and make steps worked because the PATH was prepended with the location of the toolchain (e.g. gcc)

But sudo does not propagate the variables. Hence sudo make install ran commands with the wrong toolchain (the old gcc for instance).

One solution is to just use su

su # make install 

Here is the reason why:

The point was that the configure and make steps worked because the PATH was prepended with the location of the toolchain (e.g. gcc)

But sudo does not propagate the variables. Hence sudo make install ran commands with the wrong toolchain (the old gcc for instance).

One solution is to just use su

su # make install 
make clearer that it is an answer
Source Link
ederag
  • 360
  • 5
  • 13

Here is the reason why:

The point was that the configure and make steps worked because the PATH was prepended with the location of the toolchain (e.g. gcc)

But sudo does not propagate the variables. Hence sudo make install ran commands with the wrong toolchain (the old gcc for instance).

One solution is to just use su

su # make install 

The point was that the configure and make steps worked because the PATH was prepended with the location of the toolchain (e.g. gcc)

But sudo does not propagate the variables. Hence sudo make install ran commands with the wrong toolchain (the old gcc for instance).

One solution is to just use su

su # make install 

Here is the reason why:

The point was that the configure and make steps worked because the PATH was prepended with the location of the toolchain (e.g. gcc)

But sudo does not propagate the variables. Hence sudo make install ran commands with the wrong toolchain (the old gcc for instance).

One solution is to just use su

su # make install 
Post Undeleted by terdon
Post Deleted by terdon
Source Link
ederag
  • 360
  • 5
  • 13

The point was that the configure and make steps worked because the PATH was prepended with the location of the toolchain (e.g. gcc)

But sudo does not propagate the variables. Hence sudo make install ran commands with the wrong toolchain (the old gcc for instance).

One solution is to just use su

su # make install