ports/129830: hplip configure thinks python2.5 < phython2.2

Brad Huntting huntting at glarp.com
Sun Dec 21 21:40:04 UTC 2008


>Number:         129830
>Category:       ports
>Synopsis:       hplip configure thinks python2.5 < phython2.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 21 21:40:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Brad Huntting
>Release:        7.0-RELEASE
>Organization:
>Environment:
FreeBSD paper.glarp.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Wed Oct  8 16:54:28 MDT 2008     root at paper.glarp.com:/usr/src/sys/i386/compile/PAPER  i386

>Description:
/usr/ports/print/hplip fails to configure.  I tried adding a USE_AUTOTOOLS=autoconf:262, but this also breaks.

The problem seems to be in the way it checks the python version.  I've also tried to remove this code from the configure script, but to no avail.  Configure gets as far as this:


..
checking for net-snmp/net-snmp-config.h... yes
checking for cupsDoFileRequest in -lcups... yes
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
checking for usb_init in -lusb... yes
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
checking whether /usr/local/bin/python2.5 version >= 2.2... configure: error: too old
===>  Script "configure" failed unexpectedly.
Please report the problem to amistry at am-productions.biz [maintainer] and
attach the
"/var/tmp/ports/.amd_mnt/antediluvian/host/home/huntting/src/hplip/work/hplip-2.8.2/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /.amd_mnt/antediluvian/host/home/huntting/src/hplip.
*** Error code 1

Stop in /.amd_mnt/antediluvian/host/home/huntting/src/hplip.
paper$

>How-To-Repeat:
Install python2.5 and then trying to compile hplip.
>Fix:
Expunge the version test from configure and add USE_PYTHON=2.2+ to the port Makefile.

Alas, I havnt been able to do this.

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



More information about the freebsd-ports-bugs mailing list