make bind-9.7.4-P1 fails when --prefix and --exec-prefix switches are used
Mark Andrews
marka at isc.org
Thu Nov 17 23:45:15 UTC 2011
In message <CAHu+3OywMvbkGhYTnO7HcJpUD4vV4inahzGVv-Qgz1NGU56Z0Q at mail.gmail.com>, Red Cricket writes:
> That's it! THANK YOU!
>
> my /usr/bin/gcc was this ...
>
> #!/bin/sh
>
> if [ -n "$GCC10G" ]; then
> # Use the standard gcc
> exec /usr/bin/gcc323 $@
> elif id | grep -q gcc296; then
> #Use the compat gcc
> exec /usr/bin/gcc296 $@
> elif [ -n "$GCC296" ]; then
> # Use the compat gcc
> exec /usr/bin/gcc296 $@
> else
> # Use the standard gcc
> exec /usr/bin/gcc323 $@
> fi
>
> .. when I changed it to this ...
>
> #!/bin/sh
>
> if [ -n "$GCC10G" ]; then
> # Use the standard gcc
> exec /usr/bin/gcc323 $@
> elif id | grep -q gcc296; then
> #Use the compat gcc
> exec /usr/bin/gcc296 $@
> elif [ -n "$GCC296" ]; then
> # Use the compat gcc
> exec /usr/bin/gcc296 $@
> else
> # Use the standard gcc
> #exec /usr/bin/gcc323 $@
> exec /usr/bin/gcc323 "$@"
> fi
>
> ... the make work fine now.
But is still broken for all the other calls.
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: marka at isc.org
More information about the bind-users
mailing list