Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2012 23:51:55 +0400
From:      Vladimir Timofeev <vovkasm@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gahr@FreeBSD.org
Subject:   ports/174525: [PATCH] print/lilypond: build failed - configure can't find python
Message-ID:  <50cf784d.6358700a.7ab0.ffffe7c4@mx.google.com>
Resent-Message-ID: <201212172000.qBHK00jB048270@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50cf784d.6358700a.7ab0.ffffe7c4>