Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jan 2003 17:21:18 +0100 (CET)
From:      Bram Moolenaar <mool@moolenaar.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47107: sip port doesn't build
Message-ID:  <200301151621.h0FGLIQ05025@moolenaar.net>

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

>Number:         47107
>Category:       ports
>Synopsis:       sip port doesn't build
>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:   Wed Jan 15 08:30:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Bram Moolenaar
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
>Environment:
System: FreeBSD masaka.moolenaar.net 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Sun Feb 24 13:16:55 CET 2002 mool@masaka.moolenaar.net:/usr/src/sys/compile/MASAKA i386


	
>Description:
	Building the devel/sip port doesn't work.
	A dependency on "tmake" is missing, that can be added.
	An include file can't be found, that can be fixed by adding an option.
	Then it complains about not finding a configuration file, I don't know
	how to fix this.  Output of "make":
	===>  Configuring for sip-3.4
	******************************************************************************
	Building the GPL version of SIP 3.4 for Python 2.2.2 on freebsd4.
	******************************************************************************
	******************************************************************************
	/usr/ports/devel/sip/work/modules is the SIP module installation directory.
	******************************************************************************
	******************************************************************************
	/usr/local/include/python2.2 contains Python.h.
	******************************************************************************
	******************************************************************************
	/usr/X11R6 is the Qt base directory.
	******************************************************************************
	******************************************************************************
	/usr/X11R6/include/qt2/ contains qglobal.h.
	******************************************************************************
	******************************************************************************
	Qt 2.3.0 is being used.
	******************************************************************************
	******************************************************************************
	/usr/local/bin/tmake will be used to generate Makefiles.
	******************************************************************************
	******************************************************************************
	The qt Qt library was found.
	******************************************************************************
	******************************************************************************
	Qt thread support is disabled.
	******************************************************************************
	******************************************************************************
	/usr/bin/make will be used as the make program.
	******************************************************************************
	tmake error: Template file tmake.conf not found
	******************************************************************************
	Error: /usr/local/bin/tmake failed with an exit code of 1.
	******************************************************************************
	*** Error code 1


>How-To-Repeat:
	cd /usr/ports/devel/sip
	make
>Fix:

	Some of the problems can be fixed with this patch, but not everything:


diff -cr ../sip.orig/Makefile ./Makefile
*** ../sip.orig/Makefile	Wed Jan 15 17:04:26 2003
--- ./Makefile	Wed Jan 15 17:15:37 2003
***************
*** 13,18 ****
--- 13,20 ----
  
  MAINTAINER=	nbm@FreeBSD.org
  
+ BUILD_DEPENDS=	tmake:${PORTSDIR}/devel/tmake
+ 
  USE_PYTHON=	yes
  USE_QT_VER=	3
  INSTALLS_SHLIB=	yes
***************
*** 22,28 ****
  
  do-configure:
  	@${MKDIR} ${WRKDIR}/headers ${WRKDIR}/binaries ${WRKDIR}/modules
! 	@( cd ${WRKSRC} && ${PYTHON_CMD} build.py -q ${X11BASE} \
  		-e ${WRKDIR}/headers -b ${WRKDIR}/binaries -d ${WRKDIR}/modules )
  
  do-install:
--- 24,31 ----
  
  do-configure:
  	@${MKDIR} ${WRKDIR}/headers ${WRKDIR}/binaries ${WRKDIR}/modules
! 	@( cd ${WRKSRC} && env TMAKEPATH=-unix ${PYTHON_CMD} build.py -q ${X11BASE} \
! 		-i/usr/X11R6/include/qt2/ \
  		-e ${WRKDIR}/headers -b ${WRKDIR}/binaries -d ${WRKDIR}/modules )
  
  do-install:


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301151621.h0FGLIQ05025>