(Apparently) SOLVED: Re: QT23 not building

2001-08-22 Thread Salvo Bartolotta

++ 21/08/01 02:21 +0200 - Salvo Bartolotta:
|| I am using XFree4 and my /etc/make.conf contains the required XFree86
|| version string.
||
|| opengl/qgl.h:63: GL/gl.h: No such file or directory
|| opengl/qgl.h:64: GL/glu.h: No such file or directory 


| These are included in || the Mesa port, and the qt23 port has a depend for
| Mesa (USE_MESA= yes), but this is broken for XFree86 4.  See my PR at




At least, under -CURRENT. 

On (yet) another slice of mine -- featuring FreeBSD 4-S --, I can see the problematic 
files in place.




| http://www.freebsd.org/cgi/query-pr.cgi?pr=29546, I'm still waiting for
| someone on portmgr@ to commit it.




BTW, I tried your suggestion, but it did NOT work: the same error occurred at the same 
place.


getting lazy...
OTOH, since qt had complained about missing files... I built Mesa3 and put those 
missing files, ie gl.h, glext.h, glu.h, and glx.h in /usr/X11R6/include/GL. Needless 
to say, qt-2.3.1 built without further complaints.

So, rather than delve into the makefiles, I cheated square and fair :-)

-- Salvo

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: QT23 not building

2001-08-21 Thread Kenneth Wayne Culver

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 [EMAIL PROTECTED]
 with unsubscribe freebsd-current in the body of the message
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



QT23 not building

2001-08-20 Thread Salvo Bartolotta

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 [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message