lilypond-user
[Top][All Lists]
Advanced

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

Re: Compilation on FreeBSD


From: Jan Nieuwenhuizen
Subject: Re: Compilation on FreeBSD
Date: Mon, 28 Feb 2005 10:49:43 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Zbyněk Burget writes:

> I try compile Lilypond 2.4.4 on my FreeBSD 5.3
>
> During compilation process i get this error:

I'm not a freebsd user, but should this bug not (also) be reported to
freebsd/the ports maintainer?

> ./out/lily-guile.o(.text+0x34d8]: In function
> ly_gettext(scm_unused_strct*)`:
> /usr/home/.../lilypond-2.4.4/lily/lily-guile.cc:839: undefined
> reference to `gettext`
>
> this error occurs during g++ -o out/lilypond .......
>
> Can anyone help me?

Install libintl, or try the patch below.

Thanks,
Jan.

--- lily-guile.cc       07 okt 2004 21:39:50 +0200      1.180
+++ lily-guile.cc       28 feb 2005 10:47:46 +0100      
@@ -836,6 +836,6 @@ LY_DEFINE (ly_gettext, "ly:gettext",
 {
   SCM_ASSERT_TYPE (scm_is_string (string), string, SCM_ARG1,
                   __FUNCTION__, "string");
-  return scm_makfrom0str (gettext (scm_i_string_chars (string)));
+  return scm_makfrom0str (_ (scm_i_string_chars (string)));
 }
 

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

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