make bind-9.7.4-P1 fails when --prefix and --exec-prefix switches are used
Red Cricket
red.cricket.blog at gmail.com
Thu Nov 17 23:39:35 UTC 2011
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.
On Thu, Nov 17, 2011 at 1:36 PM, Mark Andrews <marka at isc.org> wrote:
>
> You need to fix your gcc wrapper as it is not handling command line
> arguments that contain spaces. This is a common error when people
> write shell script wrappers. They fail to account for arguments
> with spaces.
>
> Mark
>
> In message <CAHu+3Ox-RfgnwjopO_ebb48Da=MYyBdgh+q93=SMy+-vL6ua_Q at mail.gmail.com>, Red Cricket writes:
>> gcc.orig: '--prefix=/users/rcricket/BIND_INSTALL_DIR': No such file or directory
>> gcc.orig: '--exec-prefix=/users/rcricket/BIND_INSTALL_DIR'": No such
> --
> 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