[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compilation on FreeBSD
From: |
Edward Sanford Sutton |
Subject: |
Re: Compilation on FreeBSD |
Date: |
Mon, 28 Feb 2005 21:57:48 -0700 |
User-agent: |
KMail/1.7.2 |
The following should hint you as to how to modify the Makefile in the ports
directory. I haven't had time to try to push such changes into ports. The
port maintainer has not responded to anything in a long time that I am aware
of.
The lilypond-devel port (2.3.2?) is currently broken due to that and a
couple other issues, but can be pushed up to about 2.3.20 before a solution
has to be worked out since makeinfo (i think that was the culprit) is not up
to date enough to proceed anymore. Either it has to be updated within the
base system (unless there were recent changes to it in stable or current that
i am unaware of) or maybe that tools collection needs to become a port.
Correction: apparently the devel port is now no longer present in my ports
tree. I wish i knew the who or when that made that happen. Seems 2.2.2 is
also now marked as broken.
The GCC definition gets past the autoconf<=2.59. I do not think there is a
newer autoconf, so I lowered the gcc version as it seemed more appropriate
than patching makefiles after configure is ran.
The error during configure that should get your attention (but unfortunately
does not abort the build) is:
configure: WARNING: autoconf <= 2.59 with g++ >= 3.3 gettext test broken.
configure: WARNING: Trying gcc, cross fingers.
Edit /usr/ports/print/Makefile to have the GCC definition (as appears below)
and things should work okay. There appears to be a line that later changes it
under certain FreeBSD versions; I do not know if it interferes as I do not
know where lilypond works or not anymore.
GNU_CONFIGURE= yes
USE_BISON= yes
USE_GCC= 3.2
Hope this helps, but speak up if there is still more necessary.
Ed Sutton
On Monday 28 February 2005 02:49, Jan Nieuwenhuizen wrote:
> 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)));
> }
- Re: Compilation on FreeBSD,
Edward Sanford Sutton <=