Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2002 10:32:44 -0400 (EDT)
From:      Adam K Kirchhoff <adamk@voicenet.com>
To:        freebsd-ports@freebsd.org
Subject:   qt23?
Message-ID:  <20020612103234.N453-100000@sorrow.ashke.com>

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

So, is there any way to build qt23 on FreeBSD 4.5?  Unfortunately, I need
it to build mjpegtools, but I can't seem to get it to build.

The build dies with:

c++ -pthread -D_THREAD_SAFE -DQT_THREAD_SUPPORT -c -I/usr/X11R6/include
-I/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/include -pthread
-D_THREAD_SAFE -I/usr/X11R6/include -DQT_PREFIX=\"/usr/X11R6\" -pipe
-fno-exceptions  -O -pipe  -I/usr/include -D_PTH_H_ -D_PTH_PTHREAD_H_ -O
-pipe  -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/qapplication.h:42,
                 from kernel/qpsprinter.cpp:73:
kernel/qwidget.h:129: syntax error before `('
kernel/qwidget.h:417: `WId' was not declared in this scope
kernel/qwidget.h:489: `WId' was not declared in this scope
kernel/qwidget.h:489: syntax error before `='
kernel/qwidget.h:490: variable or field `create' declared void
kernel/qwidget.h:490: ANSI C++ forbids initialization of member `create'
kernel/qwidget.h:490: making `create' static
kernel/qwidget.h:490: ANSI C++ forbids in-class initialization of
non-const static member `create'
kernel/qwidget.h:490: `create' declared as a `virtual' field
kernel/qwidget.h:520: `WId' was not declared in this scope
kernel/qwidget.h:520: variable or field `setWinId' declared void
kernel/qwidget.h:545: syntax error before `;'
kernel/qwidget.h:628: syntax error before `::'
cpp0: output pipe has been closed
gmake[2]: *** [kernel/qpsprinter.o] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/src'
gmake[1]: *** [src-mt] Error 2
gmake[1]: Leaving directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1'
gmake: *** [src-mt] Error 2
*** Error code 2

I've searched for this problem on this mailing list, and have noticed a
number of messages about it since April, so I'm pretty surprised and
disappointed that this is still a problem.

Is there anyway to get this to build?

Adam




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?20020612103234.N453-100000>