zsh-workers
 help / color / mirror / code / Atom feed
* Trouble compiling 4.2.4 on Mac OS X.3
@ 2005-02-19  7:52 Quarante-Deux
  2005-02-23  3:04 ` lists
  0 siblings, 1 reply; 4+ messages in thread
From: Quarante-Deux @ 2005-02-19  7:52 UTC (permalink / raw)
  To: zsh-workers


Hello,

I have some trouble compiling zsh 4.2.4 on Mac OS X 10.3.8 (Darwin 
Kernel Version 7.8.0):

gcc -Wl,-x   -o zsh main.o  `cat stamp-modobjs`   -ldl -ltinfo -lm  -lc
ld: Undefined symbols:
_libiconv
_libiconv_close
_libiconv_open
make[1]: *** [zsh] Error 1
make: *** [all] Error 1

zsh 4.2.1 is OK.

Any idea? Thanks

                                                     dom

P.S.: I am not a subscriber.

-- 
Quarante-Deux : quelques pages sur la Science-Fiction
Ellen C. Herzfeld - Dominique O. Martel
http://www.quarante-deux.org/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trouble compiling 4.2.4 on Mac OS X.3
  2005-02-19  7:52 Trouble compiling 4.2.4 on Mac OS X.3 Quarante-Deux
@ 2005-02-23  3:04 ` lists
  2005-02-26 14:18   ` Quarante-Deux
  0 siblings, 1 reply; 4+ messages in thread
From: lists @ 2005-02-23  3:04 UTC (permalink / raw)
  To: zsh-workers; +Cc: Quarante-Deux

Are you still having troubles?  Try the following patch from 
<http://www.zsh.org/mla/workers/2005/msg00143.html>:

Index: configure.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.ac,v
retrieving revision 1.25
diff -d -u -r1.25 configure.ac
--- configure.ac	1 Feb 2005 10:53:10 -0000	1.25
+++ configure.ac	3 Feb 2005 18:42:05 -0000
@@ -729,10 +729,11 @@

  AC_CHECK_LIB(iconv, iconv)

-if test "$host_os" = cygwin; then
-dnl cygwin iconv() is really libiconv()
-AC_CHECK_LIB(iconv, libiconv)
-fi
+case "$host_os" in
+  cygwin | darwin*)
+    dnl cygwin iconv() is really libiconv()
+    AC_CHECK_LIB(iconv, libiconv) ;;
+esac

  if test x$enable_pcre = xyes; then
  dnl pcre-config should probably be employed here



On Feb 19, 2005, at 1:52 AM, Quarante-Deux wrote:

>
> Hello,
>
> I have some trouble compiling zsh 4.2.4 on Mac OS X 10.3.8 (Darwin 
> Kernel Version 7.8.0):
>
> gcc -Wl,-x   -o zsh main.o  `cat stamp-modobjs`   -ldl -ltinfo -lm  -lc
> ld: Undefined symbols:
> _libiconv
> _libiconv_close
> _libiconv_open
> make[1]: *** [zsh] Error 1
> make: *** [all] Error 1
>
> zsh 4.2.1 is OK.
>
> Any idea? Thanks
>
>                                                     dom
>
> P.S.: I am not a subscriber.
>
> -- 
> Quarante-Deux : quelques pages sur la Science-Fiction
> Ellen C. Herzfeld - Dominique O. Martel
> http://www.quarante-deux.org/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trouble compiling 4.2.4 on Mac OS X.3
  2005-02-23  3:04 ` lists
@ 2005-02-26 14:18   ` Quarante-Deux
  2005-02-26 16:15     ` Peter Stephenson
  0 siblings, 1 reply; 4+ messages in thread
From: Quarante-Deux @ 2005-02-26 14:18 UTC (permalink / raw)
  To: zsh-workers


>  Are you still having troubles?  Try the following patch from
>  <http://www.zsh.org/mla/workers/2005/msg00143.html>:

I did apply the patch. Compilation was OK but make check issued the 
following error:

Test ./C02cond.ztst failed: bad status 1, expected 0 from:
   sleep 1
   cat unmodified
   touch newnewnew
   if [[ $OSTYPE == "cygwin" ]]; then
     print -u8 "Warning: not testing [[ -N file ]] (not supported on Cygwin)"
     true
   else
     [[ -N newnewnew && ! -N unmodified ]]
   fi
Was testing: -N cond
./C02cond.ztst: test failed.


I installed nevertheless and it seems to run OK.

Thank you for you help.



                                                     dom

P.S.: I am not a subscriber.

-- 
Quarante-Deux : quelques pages sur la Science-Fiction
Ellen C. Herzfeld - Dominique O. Martel
http://www.quarante-deux.org/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trouble compiling 4.2.4 on Mac OS X.3
  2005-02-26 14:18   ` Quarante-Deux
@ 2005-02-26 16:15     ` Peter Stephenson
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Stephenson @ 2005-02-26 16:15 UTC (permalink / raw)
  To: Quarante-Deux, Zsh hackers list

Quarante-Deux wrote:
> I did apply the patch. Compilation was OK but make check issued the 
> following error:
> 
> Test ./C02cond.ztst failed: bad status 1, expected 0 from:
>    sleep 1
>    cat unmodified
>    touch newnewnew
>    if [[ $OSTYPE == "cygwin" ]]; then
>      print -u8 "Warning: not testing [[ -N file ]] (not supported on Cygwin)"
>      true
>    else
>      [[ -N newnewnew && ! -N unmodified ]]
>    fi
> Was testing: -N cond
> ./C02cond.ztst: test failed.

That's probably fine; there are various file system limitations, for
example (but not just) NFS mounts, that can show this.

-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
Work: pws@csr.com
Web: http://www.pwstephenson.fsnet.co.uk


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-02-26 16:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-19  7:52 Trouble compiling 4.2.4 on Mac OS X.3 Quarante-Deux
2005-02-23  3:04 ` lists
2005-02-26 14:18   ` Quarante-Deux
2005-02-26 16:15     ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).