Date: Thu, 5 Jul 2001 13:56:28 -0500 (CDT) From: Stephen Montgomery-Smith <stephen@cauchy.math.missouri.edu> To: FreeBSD-gnats-submit@freebsd.org Cc: will@freebsd.org Subject: ports/28728: qt-2.3.1 port will not build with XFree86 version 3.3.6 Message-ID: <200107051856.f65IuS645040@cauchy.math.missouri.edu>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107051856.f65IuS645040>