From owner-freebsd-ports Thu Jul 5 12: 0:17 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 51B0437B401 for ; Thu, 5 Jul 2001 12:00:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f65J0DX95913; Thu, 5 Jul 2001 12:00:13 -0700 (PDT) (envelope-from gnats) Received: from cauchy.math.missouri.edu (cauchy.math.missouri.edu [128.206.49.166]) by hub.freebsd.org (Postfix) with ESMTP id ECE4537B403; Thu, 5 Jul 2001 11:56:28 -0700 (PDT) (envelope-from stephen@cauchy.math.missouri.edu) Received: (from stephen@localhost) by cauchy.math.missouri.edu (8.11.4/8.11.4) id f65IuS645040; Thu, 5 Jul 2001 13:56:28 -0500 (CDT) (envelope-from stephen) Message-Id: <200107051856.f65IuS645040@cauchy.math.missouri.edu> Date: Thu, 5 Jul 2001 13:56:28 -0500 (CDT) From: Stephen Montgomery-Smith Reply-To: Stephen Montgomery-Smith To: FreeBSD-gnats-submit@freebsd.org Cc: will@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/28728: qt-2.3.1 port will not build with XFree86 version 3.3.6 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 28728 >Category: ports >Synopsis: qt-2.3.1 port will not build with XFree86 version 3.3.6 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 05 12:00:12 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Stephen Montgomery-Smith >Release: FreeBSD 4.3-STABLE i386 >Organization: University of Missouri >Environment: System: FreeBSD cauchy 4.3-STABLE FreeBSD 4.3-STABLE #0: Tue Jun 26 20:41:11 CDT 2001 stephen@cauchy:/usr/obj/usr/src/sys/cauchy i386 Using XFree86-3.3.6_7 >Description: If I try to make the qt-2.3.1 port under XFree86-3.3.6 then the make fails with lines like: c++ -pthread -D_THREAD_SAFE -DQT_THREAD_SUPPORT -c -I/usr/X11R6/include -I/usr/ports-current/x11-toolkits/qt23/work/qt-2.3.1/include -pthread -D_THREAD_SAFE -I/usr/X11R6/include -DQT_PREFIX=\"/usr/X11R6\" -pipe -O -fno-exceptions -O -pipe -march=pentiumpro -DCOMPAT_LINUX_THREADS -DVM_STACK -I/usr/include -D_PTH_H_ -D_PTH_PTHREAD_H_ -frerun-cse-after-loop -fPIC -DQT_BUILTIN_GIF_READER=1 -DQT_XFT -fno-exceptions -I/usr/local/include -o kernel/qpsprinter.o kernel/qpsprinter.cpp In file included from kernel/qpsprinter.cpp:96: kernel/qt_x11.h:76: X11/Xft/Xft.h: No such file or directory The problem is that Xft.h is not part of XFree86-3.3.6. >How-To-Repeat: Completely erase any XFree86-4 you may have. Install XFree86-3.3.6. cd /usr/ports/x11-toolkits/qt23 make >Fix: An easy fix is: --- qt23-old/Makefile Wed Jul 4 18:11:22 2001 +++ qt23/Makefile Thu Jul 5 13:33:12 2001 @@ -25,7 +25,7 @@ USE_NEWGCC= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= -system-zlib -system-libpng -system-jpeg -sm -gif \ - -system-libmng -thread -no-opengl -xft \ + -system-libmng -thread -no-opengl \ -no-g++-exceptions -I${LOCALBASE}/include -L${LOCALBASE}/lib .if defined(QT_DEBUG) but probably you want something more sophisticated so that the -xft option is there only if ${XFREE86_VERSION} is 4. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message