bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] gettext 0.18.1.1 build failure on Solaris 10


From: Stefano Lattarini
Subject: [bug-gettext] gettext 0.18.1.1 build failure on Solaris 10
Date: Wed, 20 Jul 2011 10:03:08 +0200
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

Here is the failure I'm experiencing:

 $ cd gettext-0.18.1.1
 $ ./configure
 checking whether build environment is sane... yes
 ...
 config.status: executing po-directories commands
 $ make
 ...
 In end of data:
 po-mode.el:3564:1:Warning: the following functions are not known to be
    defined: make-extent, set-extent-face, set-extent-endpoints,
    detach-extent, ediff-quit
 Wrote /home/latta/tmp/gettext-0.18.1.1/gettext-tools/misc/elc.11925/po-mode.elc
 Wrote 
/home/latta/tmp/gettext-0.18.1.1/gettext-tools/misc/elc.11925/start-po.elc
 if test -f archive.dir.tar.gz; then \
   inputfile=archive.dir.tar.gz; \
 else \
   inputfile='.'/archive.dir.tar.gz; \
 fi; \
 ./convert-archive dir git "$inputfile" archive.git.tar.gz
 ./convert-archive: syntax error at line 67: `}' unexpected
 make[3]: *** [archive.git.tar.gz] Error 2
 make[3]: Leaving directory 
`/scratch/latta/tmp/gettext-0.18.1.1/gettext-tools/misc'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/scratch/latta/tmp/gettext-0.18.1.1/gettext-tools'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/scratch/latta/tmp/gettext-0.18.1.1/gettext-tools'
 make: *** [all-recursive] Error 1

The following change fixes the problem for me:

 --- gettext-tools/misc/convert-archive.orig
 +++ gettext-tools/misc/convert-archive
 @@ -64,9 +64,11 @@
 
  # Command-line option processing.
 
 -if ! { { test $# = 2 || test $# = 3 || test $# = 4; } \
 +if { { test $# = 2 || test $# = 3 || test $# = 4; } \
         && case "$1" in dir | cvs | git ) true;; *) false;; esac \
         && case "$2" in dir | cvs | git ) true;; *) false;; esac; }; then
 +  :
 +else
    echo "Usage: convert-archive {dir|cvs|git} {dir|cvs|git} [fromfile 
[tofile]]"
    exit 1
  fi

Let me know if you need more information.

HTH,
  Stefano



reply via email to

[Prev in Thread] Current Thread [Next in Thread]