| Summary: | Build Error | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Beech Rintoul <akbeech> |
| Component: | Individual Port(s) | Assignee: | freebsd-kde (group) <kde> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Try to delete and reinstall freetype. I also had this problem. Or just change in the header file XftFreetype.h #include <freetype/freetype.h> with #include <freetype2/freetype/freetype.h> On Sun, 28 Apr 2002, Beech Rintoul wrote: > > >Number: 37522 > >Category: ports > >Synopsis: Build Error > >Confidential: no > >Severity: serious > >Priority: medium > >Responsible: freebsd-ports > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Sun Apr 28 02:10:01 PDT 2002 > >Closed-Date: > >Last-Modified: > >Originator: Beech Rintoul > >Release: 5.0 -current > >Organization: > Sinbad Network Communications > >Environment: > FreeBSD nova.anchoragerescue.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Fri Apr 26 > 10:41:08 AKDT 2002 akbeech@nova.anchoragerescue.org:/usr/obj/usr/src/sys/NOVA i386 > > >Description: > Build errors with the following: > cd src && gmake > gmake[1]: Entering directory `/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.3/src' > g++ -c -pipe -fno-exceptions -I/usr/local/include -Wall -W -g -pthread -D_THREAD_SAFE -fPIC -DQT_SHARED -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_NIS -DQT_NO_XINERAMA -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_MAC -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_COMPACT -I/usr/X11R6/include/freetype2 -I/usr/local/include -I/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.3/include -I/usr/X11R6/include -I.moc/debug-mt/ -I/usr/ports/x11-toolkits/qt30/wor k/qt-x11-free-3.0.3/mkspecs/freebsd-g++ -o .obj/debug-mt/qapplication_x11.o kernel/qapplication_x11.cpp > In file included from kernel/qt_x11.h:143, > from kernel/qinputcontext_p.h:5, > from kernel/qapplication_x11.cpp:77: > /usr/X11R6/include/X11/Xft/XftFreetype.h:34: syntax error before `;' > /usr/X11R6/include/X11/Xft/XftFreetype.h:37: syntax error before `;' > /usr/X11R6/include/X11/Xft/XftFreetype.h:41: syntax error before `;' > /usr/X11R6/include/X11/Xft/XftFreetype.h:54: syntax error before `;' > /usr/X11R6/include/X11/Xft/XftFreetype.h:71: syntax error before `,' > gmake[1]: *** [.obj/debug-mt/qapplication_x11.o] Error 1 > gmake[1]: Leaving directory `/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.3/src' > gmake: *** [sub-src] Error 2 > *** Error code 2 > > Stop in /usr/ports/x11-toolkits/qt30. > > >How-To-Repeat: > make clean && make > >Fix: > > >Release-Note: > >Audit-Trail: > >Unformatted: > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message > > On Sun, 28 Apr 2002, Beech Rintoul wrote: > > >Number: 37522 > > >Category: ports > > >Synopsis: Build Error > > >Confidential: no > > >Severity: serious > > >Priority: medium > > >Responsible: freebsd-ports > > >State: open > > >Quarter: > > >Keywords: > > >Date-Required: > > >Class: sw-bug > > >Submitter-Id: current-users > > >Arrival-Date: Sun Apr 28 02:10:01 PDT 2002 > > >Closed-Date: > > >Last-Modified: > > >Originator: Beech Rintoul > > >Release: 5.0 -current > > >Organization: > > > > Sinbad Network Communications > > > > >Environment: > > > > FreeBSD nova.anchoragerescue.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Fri > > Apr 26 10:41:08 AKDT 2002 > > akbeech@nova.anchoragerescue.org:/usr/obj/usr/src/sys/NOVA i386 > > > > >Description: > > > > Build errors with the following: > > cd src && gmake > > gmake[1]: Entering directory > > `/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.3/src' g++ -c -pipe > > -fno-exceptions -I/usr/local/include -Wall -W -g -pthread -D_THREAD_SAFE > > -fPIC -DQT_SHARED -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_NIS > > -DQT_NO_XINERAMA -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG > > -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_MAC > > -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_COMPACT > > -I/usr/X11R6/include/freetype2 -I/usr/local/include > > -I/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.3/include > > -I/usr/X11R6/include -I.moc/debug-mt/ > > -I/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.3/mkspecs/freebsd-g++ > > -o .obj/debug-mt/qapplication_x11.o kernel/qapplication_x11.cpp In file > > included from kernel/qt_x11.h:143, > > from kernel/qinputcontext_p.h:5, > > from kernel/qapplication_x11.cpp:77: > > /usr/X11R6/include/X11/Xft/XftFreetype.h:34: syntax error before `;' > > /usr/X11R6/include/X11/Xft/XftFreetype.h:37: syntax error before `;' > > /usr/X11R6/include/X11/Xft/XftFreetype.h:41: syntax error before `;' > > /usr/X11R6/include/X11/Xft/XftFreetype.h:54: syntax error before `;' > > /usr/X11R6/include/X11/Xft/XftFreetype.h:71: syntax error before `,' > > gmake[1]: *** [.obj/debug-mt/qapplication_x11.o] Error 1 > > gmake[1]: Leaving directory > > `/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.3/src' gmake: *** > > [sub-src] Error 2 > > *** Error code 2 > > > > Stop in /usr/ports/x11-toolkits/qt30. > > > > >How-To-Repeat: > > > > make clean && make > > > > >Fix: > > > > > >Release-Note: > > >Audit-Trail: > > >Unformatted: > > On Sunday 28 April 2002 11:00 am, Isaac Mushinsky wrote: > Try to delete and reinstall freetype. I also had this problem. Or just > change in the header file XftFreetype.h > > #include <freetype/freetype.h> > with > #include <freetype2/freetype/freetype.h> > Thank you, that fixed the problem. Beech -- ------------------------------------------------------------------- Beech Rintoul - SysAdmin - akbeech@sinbad.net /"\ ASCII Ribbon Campaign | Sinbad Network Communications \ / - NO HTML/RTF in e-mail | 3101 Penland Parkway #K-38 X - NO Word docs in e-mail | Anchorage, AK 99508-1957 / \ ----------------------------------------------------------------- Responsible Changed From-To: freebsd-ports->kde Over to maintainers. State Changed From-To: open->closed This was another classic example of the ports dependency problem. The result was that your freetype2 was out of date compared to what Qt really needs. Workaround was, as you discovered, to upgrade freetype2. |
Build errors with the following: cd src && gmake gmake[1]: Entering directory `/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.3/src' g++ -c -pipe -fno-exceptions -I/usr/local/include -Wall -W -g -pthread -D_THREAD_SAFE -fPIC -DQT_SHARED -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_NIS -DQT_NO_XINERAMA -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_MAC -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_COMPACT -I/usr/X11R6/include/freetype2 -I/usr/local/include -I/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.3/include -I/usr/X11R6/include -I.moc/debug-mt/ -I/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.3/mkspecs/freebsd-g++ -o .obj/debug-mt/qapplication_x11.o kernel/qapplication_x11.cpp In file included from kernel/qt_x11.h:143, from kernel/qinputcontext_p.h:5, from kernel/qapplication_x11.cpp:77: /usr/X11R6/include/X11/Xft/XftFreetype.h:34: syntax error before `;' /usr/X11R6/include/X11/Xft/XftFreetype.h:37: syntax error before `;' /usr/X11R6/include/X11/Xft/XftFreetype.h:41: syntax error before `;' /usr/X11R6/include/X11/Xft/XftFreetype.h:54: syntax error before `;' /usr/X11R6/include/X11/Xft/XftFreetype.h:71: syntax error before `,' gmake[1]: *** [.obj/debug-mt/qapplication_x11.o] Error 1 gmake[1]: Leaving directory `/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.3/src' gmake: *** [sub-src] Error 2 *** Error code 2 Stop in /usr/ports/x11-toolkits/qt30. How-To-Repeat: make clean && make