Subject: Re: Upgrading print/lilypond to 2.6.5
To: None <nblists@anastigmatix.net>
From: D'Arcy J.M. Cain <darcy@NetBSD.org>
List: tech-pkg
Date: 02/24/2006 17:41:07
[Note subject change]
On Fri, 24 Feb 2006 17:13:32 -0500
"D'Arcy J.M. Cain" <darcy@NetBSD.org> wrote:
> Wow! How did this get released?
I was trying to install the development version. I have adjusted it to build 2.6.5, the latest stable. It still had the same issue though.
> Thanks. That brings me to the next issue:
>
> ERROR: Please install required programs: libfreetype6-dev or freetype?-devel >= 0 (installed: ) libpango1.0-dev or pango?-devel >= 1.6.0 (installed: ) libfontconfig-dev or fontconfig-devel >= 2.2.0 (installed: )
>
> Looks like I need the following. Testing now. Thanks for the hint above.
>
> SCRIPTS_DIR= share/lilypond/${PKGVERSION:S/nb${PKGREVISION}//}/scripts
> @@ -47,6 +46,7 @@ post-install:
> .include "../../lang/guile/buildlink3.mk"
> .include "../../lang/python/application.mk"
> .include "../../textproc/scrollkeeper/omf.mk"
> +.include "../../x11/gnome-libs/buildlink3.mk"
> .include "../../mk/tex.buildlink3.mk"
> .include "../../mk/emacs.mk"
> .include "../../mk/bsd.pkg.mk"
Well, it fixed some errors but I still have the same error message as above. The output gives me things like this:
checking for freetype2 >= 0... Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
I tried putting it in my general environment as well as the following change to the Makefile but I still get the error.
CONFIGURE_ARGS+=--disable-optimising
-CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
-PYTHON_VERSIONS_ACCEPTED= 21 23
+CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig
+PYTHON_VERSIONS_ACCEPTED= 21 23 24
# 22 has some regular expression problem
--
D'Arcy J.M. Cain <darcy@NetBSD.org>
http://www.NetBSD.org/