Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Problems building 4.3.4 on FreeBSD



On 7/25/07, Renato Botelho <rbgarga@xxxxxxxxx> wrote:
On 7/25/07, Renato Botelho <rbgarga@xxxxxxxxx> wrote:
> Hello,
>
> I'm working to upgrade zsh on FreeBSD ports tree from 4.3.2 to 4.3.4
> and i had a problem building it.
>
> When iconv was not found, Src/utils.c didn't build, i made this change
> and everything built file:
>
> --- Src/utils.c.orig    Tue Apr 17 10:57:15 2007
> +++ Src/utils.c Wed Jul 25 15:13:58 2007
> @@ -4569,11 +4570,11 @@
>      int count;
>  #else
>      unsigned int wval;
> +    size_t count;
>  # if defined(HAVE_NL_LANGINFO) && defined(CODESET) && defined(HAVE_ICONV)
>      iconv_t cd;
>      char inbuf[4];
>      size_t inbytes, outbytes;
> -    size_t count;
>  # endif
>  #endif

Now all built fine, but I have a problem at install time:

cc  -s -shared -o zutil.so   zutil..o    -lncurses -lm  -lc
/bin/sh ../../mkinstalldirs /tmp/zsh-4.3.4/lib/zsh/4.3.4/zsh
install  -s -o root -g wheel -m 555  zutil.so
/tmp/zsh-4.3.4/lib/zsh/4.3.4/zsh/zutil.so
/bin/sh ../../mkinstalldirs /tmp/zsh-4.3.4/lib/zsh/4.3.4/zsh
install  -s -o root -g wheel -m 555  compctl.so
/tmp/zsh-4.3.4/lib/zsh/4.3.4/zsh/compctl.so
/bin/sh ../../mkinstalldirs /tmp/zsh-4.3.4/lib/zsh/4.3.4/zsh
install  -s -o root -g wheel -m 555  complete.so
/tmp/zsh-4.3.4/lib/zsh/4.3.4/zsh/complete.so
/bin/sh ../../mkinstalldirs /tmp/zsh-4.3.4/lib/zsh/4.3.4/zsh
install  -s -o root -g wheel -m 555  complist.so
/tmp/zsh-4.3.4/lib/zsh/4.3.4/zsh/complist.so
/bin/sh ../../mkinstalldirs /tmp/zsh-4.3.4/lib/zsh/4.3.4/zsh
install  -s -o root -g wheel -m 555  computil.so
/tmp/zsh-4.3.4/lib/zsh/4.3.4/zsh/computil.so
/bin/sh ../../mkinstalldirs /tmp/zsh-4.3.4/lib/zsh/4.3.4/zsh
install  -s -o root -g wheel -m 555  deltochar.so
/tmp/zsh-4.3.4/lib/zsh/4.3.4/zsh/deltochar.so
/bin/sh ../../mkinstalldirs /tmp/zsh-4.3.4/lib/zsh/4.3.4/zsh
install  -s -o root -g wheel -m 555  zle.so
/tmp/zsh-4.3.4/lib/zsh/4.3.4/zsh/zle.so
/bin/sh ../../mkinstalldirs /tmp/zsh-4.3.4/lib/zsh/4.3.4/zsh
install  -s -o root -g wheel -m 555  zleparameter.so
/tmp/zsh-4.3.4/lib/zsh/4.3.4/zsh/zleparameter.so
if test x/tmp/zsh-4.3.4/share/zsh/4.3.4/functions != x && test
x/tmp/zsh-4.3.4/share/zsh/4.3.4/functions != xno; then  test
x/tmp/zsh-4.3.4/share/zsh/site-functions != xno &&  /bin/sh
./mkinstalldirs /tmp/zsh-4.3.4/share/zsh/site-functions;  sdir_top="."
fndir="/tmp/zsh-4.3.4/share/zsh/4.3.4/functions" dir_top="."
scriptdir="/tmp/zsh-4.3.4/share/zsh/4.3.4/scripts"
FUNCTIONS_SUBDIRS="yes"  INSTALL_DATA="install  -o root -g wheel -m
444"  INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"
DESTDIR="" VERSION="4.3.4"  /bin/sh ./Config/installfns.sh || exit 1;
fi;  exit 0
mkdir /tmp/zsh-4.3.4/share/zsh
mkdir /tmp/zsh-4.3.4/share/zsh/site-functions
mkdir /tmp/zsh-4.3.4/share/zsh/4.3.4
mkdir /tmp/zsh-4.3.4/share/zsh/4.3.4/functions
mkdir /tmp/zsh-4.3.4/share/zsh/4.3.4/functions/Exceptions
mkdir /tmp/zsh-4.3.4/share/zsh/4.3.4/functions/Misc
strip: /tmp/zsh-4.3.4/share/zsh/4.3.4/functions/Misc/harden: File
format not recognized
install: wait: No such file or directory
*** Error code 1

Somebody can give me some help? The problem seems to be on Config/installfns.sh

I figured it out, the problem is caused because some Functions and
Completions has 0755 permissions, so, installfns.sh consider it
executable and call install with -s.

--
Renato Botelho



Messages sorted by: Reverse Date, Date, Thread, Author