From owner-freebsd-current Tue Aug 21 6:43: 9 2001 Delivered-To: freebsd-current@freebsd.org Received: from po3.wam.umd.edu (po3.wam.umd.edu [128.8.10.165]) by hub.freebsd.org (Postfix) with ESMTP id ED88337B41A for ; Tue, 21 Aug 2001 06:42:39 -0700 (PDT) (envelope-from culverk@wam.umd.edu) Received: from rac2.wam.umd.edu (IDENT:root@rac2.wam.umd.edu [128.8.10.142]) by po3.wam.umd.edu (8.9.3/8.9.3) with ESMTP id JAA13011; Tue, 21 Aug 2001 09:42:34 -0400 (EDT) Received: from rac2.wam.umd.edu (IDENT:sendmail@localhost [127.0.0.1]) by rac2.wam.umd.edu (8.9.3/8.9.3) with SMTP id JAA27751; Tue, 21 Aug 2001 09:42:34 -0400 (EDT) Received: from localhost (culverk@localhost) by rac2.wam.umd.edu (8.9.3/8.9.3) with ESMTP id JAA27747; Tue, 21 Aug 2001 09:42:34 -0400 (EDT) X-Authentication-Warning: rac2.wam.umd.edu: culverk owned process doing -bs Date: Tue, 21 Aug 2001 09:42:34 -0400 (EDT) From: Kenneth Wayne Culver To: Salvo Bartolotta Cc: freebsd-current@FreeBSD.ORG Subject: Re: QT23 not building In-Reply-To: <998353312.3b81a9a0784ff@webmail.neomedia.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You are building from the ports tree right? Did you check to make sure you have The include path and library path for OpenGL libraries in the QT Makefile? On Tue, 21 Aug 2001, Salvo Bartolotta wrote: > Dear FreeBSD'ers, > > I am running -CURRENT as of August 18, 2001 -- yet another entry in the > -current userbase, BTW. > > I am using XFree4 and my /etc/make.conf contains the required XFree86 version > string. > > Qt23 will NOT build. It dies here: > > > gmake[2]: Leaving directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/tools' > gmake[1]: Leaving directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/tools' > > The Qt library is now built in ./lib > The Qt examples are built in the directories in ./examples > The Qt tutorials are built in the directories in ./tutorial > > Note: be sure to set $QTDIR to point to here or to wherever > you move these directories. > > Enjoy! - the Trolltech team > > (cd /usr/ports/x11-toolkits/qt23/work/qt-2.3.1/src && /usr/bin/env > QTDIR=/usr/ports/x11-toolkits/qt23/work/qt-2.3.1 > LD_LIBRARY_PATH=/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/lib > PORTOBJFORMAT=elf PREFIX=/usr/X11R6 LOCALBASE=/usr/local X11BASE=/usr/X11R6 > MOTIFLIB="-L/usr/X11R6/lib -lXm -lXp" LIBDIR="/usr/lib" CFLAGS="-O -pipe > -march=pentiumpro" CXXFLAGS=" -O -pipe -march=pentiumpro" > BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m 555" > BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555" > BSD_INSTALL_DATA="install -c -o root -g wheel -m 444" > BSD_INSTALL_MAN="install -c -o root -g wheel -m 444" gmake -f Makefile > opengl/qgl.o opengl/qgl_x11.o opengl/moc_qgl.o) > c++ -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 -O -fno-exceptions -O > -pipe -march=pentiumpro -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 opengl/qgl.o opengl/qgl.cpp > In file included from opengl/qgl.cpp:38: > opengl/qgl.h:63: GL/gl.h: No such file or directory > opengl/qgl.h:64: GL/glu.h: No such file or directory > opengl/qgl.cpp: In method `void QGLWidget::glDraw()': > opengl/qgl.cpp:1604: `GL_FRONT_LEFT' undeclared (first use this function) > opengl/qgl.cpp:1604: (Each undeclared identifier is reported only once > opengl/qgl.cpp:1604: for each function it appears in.) > opengl/qgl.cpp:1604: implicit declaration of function `int glDrawBuffer(...)' > opengl/qgl.cpp:1616: implicit declaration of function `int glFlush(...)' > opengl/qgl.cpp: In method `void QGLWidget::qglColor(const QColor &) const': > opengl/qgl.cpp:1634: implicit declaration of function `int glColor3ub(...)' > opengl/qgl.cpp:1636: implicit declaration of function `int glIndexi(...)' > opengl/qgl.cpp: In method `void QGLWidget::qglClearColor(const QColor &) > const': > opengl/qgl.cpp:1654: `GLfloat' undeclared (first use this function) > opengl/qgl.cpp:1654: syntax error before `.' > opengl/qgl.cpp:1659: confused by earlier errors, bailing out > gmake: *** [opengl/qgl.o] Error 1 > *** Error code 2 > > Stop in /usr/ports/x11-toolkits/qt23. > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/qt23. > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/qt23. > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/qt23. > > > > The archives (-questions, -current, -ports) seem to contain other complaints. > > Is qt supposed to build with XFree86-4 under -CURRENT? What am I missing ? > > -- Salvo (If I've missed something rivial, many apologies for the noise) > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message