ports/174525: [PATCH] print/lilypond: build failed - configure can't find python

Vladimir Timofeev vovkasm at gmail.com
Mon Dec 17 20:00:00 UTC 2012


>Number:         174525
>Category:       ports
>Synopsis:       [PATCH] print/lilypond: build failed - configure can't find python
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 17 20:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir Timofeev
>Release:        FreeBSD 9.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD vov.home 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #4 r243761: Sat Dec  1 23:48:12
>Description:
Configure fails with this message:
...
checking for python-config... python-config
checking Python.h usability... no
checking Python.h presence... no
checking for Python.h... no
...
WARNING: Please consider installing optional programs:  dblatex rsync

ERROR: Please install required programs:  Python.h (python-devel, python-dev or libpython-dev package)

This patch should fix it by provide correct path to python include dir to configure script.

Port maintainer (gahr at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- lilypond-2.16.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/print/lilypond/Makefile ./Makefile
--- /usr/ports/print/lilypond/Makefile	2012-12-17 23:43:36.701338976 +0400
+++ ./Makefile	2012-12-17 23:39:27.301334995 +0400
@@ -55,7 +55,8 @@
 MAKE_JOBS_UNSAFE=	yes
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=--with-ncsb-dir=${LOCALBASE}/share/ghostscript/fonts
+CONFIGURE_ARGS+=--with-ncsb-dir=${LOCALBASE}/share/ghostscript/fonts \
+		--with-python-include=${PYTHON_INCLUDEDIR}
 CONFIGURE_ENV+=	ac_cv_prog_MAKEINFO="${LOCALBASE}/bin/makeinfo" \
 		FLEX=${FLEX} YACC=${YACC}
 
--- lilypond-2.16.1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list