bash 4.0 build error (Mac OS X)

2009-02-28 Thread Marius Schamschula

Hi,

I just tried building bash 4.0 under Mac OS X. Under 10.3.9, 10.4.11  
and 10.5.6 I get the following error:


./lib/sh/libsh.a(getenv.o) definition of _setenv in section  
(__TEXT,__text)
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libc.dylib(setenv.So)  
definition of _setenv

/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_rl_menu_completion_entry_function
_rl_completion_invoking_key
collect2: ld returned 1 exit status
make: *** [bash] Error 1


Marius
--
Marius Schamschula
Webmaster

The Huntsville Macintosh Users Group
www.hmug.org

webmaster at hmug dot org
marius at schamschula dot com





Re: ru.po in bash 3.2 p1

2006-10-21 Thread Marius Schamschula

Thanks guys,

The patch works for me.

On Oct 21, 2006, at 11:24 AM, Dmitry V. Levin wrote:


On Sat, Oct 21, 2006 at 11:42:48AM -0400, Chet Ramey wrote:

Marius Schamschula wrote:

Chet,

I have built bash 3.2 patchlevel 1 under Mac OS X 10.4.8 (both  
PPC and

Intel) and I get the following error while installing:

make[2]: [EMAIL PROTECTED]' is up to date.
rm -f ru.gmo && /usr/local/bin/msgfmt -c --statistics -o ru.gmo  
ru.po

ru.po:21:9: invalid multibyte sequence


The following patch has been reported to fix the problem
(http://lists.gnu.org/archive/html/bug-bash/2006-10/msg00076.html):


I confirm, the fix is correct, Cc'ed to ru.po maintainer.


*** ../bash-3.2/po/ru.poTue Jan 10 17:51:03 2006
--- po/ru.poMon Oct 16 15:13:23 2006
***
*** 13,17 
  "Language-Team: Russian <[EMAIL PROTECTED]>\n"
  "MIME-Version: 1.0\n"
! "Content-Type: text/plain; charset=UTF-8\n"
  "Content-Transfer-Encoding: 8bit\n"
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n% 
10>=2 &&

n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
--- 13,17 
  "Language-Team: Russian <[EMAIL PROTECTED]>\n"
  "MIME-Version: 1.0\n"
! "Content-Type: text/plain; charset=KOI8-R\n"
  "Content-Transfer-Encoding: 8bit\n"
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n% 
10>=2 &&

n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"



--
ldv


Marius
--
Marius Schamschula,  Alabama A & M University, Department of Physics

The Center for Hydrology Soil Climatology and Remote Sensing
   http://optics.physics.aamu.edu/ - http://www.physics.aamu.edu/
  http://wx.aamu.edu/ - http://www.aamu.edu/hscars/



___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash


ru.po in bash 3.2 p1

2006-10-20 Thread Marius Schamschula

Chet,

I have built bash 3.2 patchlevel 1 under Mac OS X 10.4.8 (both PPC  
and Intel) and I get the following error while installing:


make[2]: [EMAIL PROTECTED]' is up to date.
rm -f ru.gmo && /usr/local/bin/msgfmt -c --statistics -o ru.gmo ru.po
ru.po:21:9: invalid multibyte sequence
ru.po:21:10: invalid multibyte sequence
ru.po:21:11: invalid multibyte sequence
ru.po:21:12: invalid multibyte sequence
ru.po:21:13: invalid multibyte sequence
ru.po:21:14: invalid multibyte sequence
ru.po:21:15: invalid multibyte sequence
ru.po:21:16: invalid multibyte sequence
ru.po:21:17: invalid multibyte sequence
ru.po:21:18: invalid multibyte sequence
ru.po:21:19: invalid multibyte sequence
ru.po:21:20: invalid multibyte sequence
ru.po:21:22: invalid multibyte sequence
ru.po:21:23: invalid multibyte sequence
ru.po:21:24: invalid multibyte sequence
ru.po:21:25: invalid multibyte sequence
ru.po:21:26: invalid multibyte sequence
ru.po:21:27: invalid multibyte sequence
ru.po:21:29: invalid multibyte sequence
ru.po:21:30: invalid multibyte sequence
/usr/local/bin/msgfmt: too many errors, aborting
make[2]: *** [ru.gmo] Error 1
make[1]: *** [stamp-po] Error 2
make: [install] Error 2 (ignored)

I built with the following dependancies:

expat 2.0.0
g95 (from g95.org)
gawk 3.1.5
gettext 0.15
libiconv 1.11
ncurses 5.5
readline 5.2


Marius


___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash