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 <ma...@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+-vl6u...@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: ma...@isc.org
>
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to