qt22 port and XFree86-4.0.1

qt22 port and XFree86-4.0.1

Post by Rasaki Bidemi Bolanle Temidir » Thu, 28 Sep 2000 13:28:52



Hi Everyone,

I am trying to install the qt22 port on my FreeBSD-4.1.x STABLE
workstation which has XFree86-4.0.1 on it.  I would like to try out the
latest kde2 port.  But the compile of the qt22 port keeps stopping with
the following errors related to GL and the include file GL/glu.h:

c++  -c -I/usr/ports/x11-toolkits/qt22/work/qt-2.2.0/include
-I/usr/X11R6/include -O -pipe -fPIC -DQT_BUILTIN_GIF_READER=0
-DQT_NO_IMAGEIO_MNG  -I/usr/local/include -I/usr/X11R6/include  -o
opengl/qgl.o opengl/qgl.cpp In file included from opengl/qgl.cpp:38:
opengl/qgl.h:64: GL/gl.h: No such file or directory In file included from
opengl/qgl.h:65,
                 from opengl/qgl.cpp:38:
/usr/X11R6/include/GL/glu.h:38: GL/gl.h: No such file or directory
In file included from opengl/qgl.h:65,
                 from opengl/qgl.cpp:38:
/usr/X11R6/include/GL/glu.h:254: syntax error before `,'
/usr/X11R6/include/GL/glu.h:260: syntax error before `,'
/usr/X11R6/include/GL/glu.h:264: syntax error before `,'
/usr/X11R6/include/GL/glu.h:268: syntax error before `,'
/usr/X11R6/include/GL/glu.h:272: syntax error before `('
/usr/X11R6/include/GL/glu.h:279: syntax error before `('
/usr/X11R6/include/GL/glu.h:287: syntax error before `*'
/usr/X11R6/include/GL/glu.h:297: syntax error before `('
/usr/X11R6/include/GL/glu.h:303: syntax error before `('
/usr/X11R6/include/GL/glu.h:307: syntax error before `('
/usr/X11R6/include/GL/glu.h:325: syntax error before `)'
/usr/X11R6/include/GL/glu.h:328: syntax error before `)'
/usr/X11R6/include/GL/glu.h:331: syntax error before `)'
/usr/X11R6/include/GL/glu.h:334: syntax error before `)'
/usr/X11R6/include/GL/glu.h:337: syntax error before `,'
/usr/X11R6/include/GL/glu.h:340: syntax error before `,'
/usr/X11R6/include/GL/glu.h:346: syntax error before `,'
/usr/X11R6/include/GL/glu.h:349: syntax error before `,'
/usr/X11R6/include/GL/glu.h:352: syntax error before `,'
/usr/X11R6/include/GL/glu.h:370: syntax error before `['
/usr/X11R6/include/GL/glu.h:374: syntax error before `,'
/usr/X11R6/include/GL/glu.h:377: syntax error before `,'
/usr/X11R6/include/GL/glu.h:384: syntax error before `,'
/usr/X11R6/include/GL/glu.h:394: syntax error before `,'
/usr/X11R6/include/GL/glu.h:405: syntax error before `,'
/usr/X11R6/include/GL/glu.h:408: syntax error before `,'
/usr/X11R6/include/GL/glu.h:453: syntax error before `,'
/usr/X11R6/include/GL/glu.h:462: syntax error before `)'
/usr/X11R6/include/GL/glu.h:464: syntax error before `['
/usr/X11R6/include/GL/glu.h:478: syntax error before `*'
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[1]: *** [opengl/qgl.o] Error 1
gmake[1]: Leaving directory
`/usr/ports/x11-toolkits/qt22/work/qt-2.2.0/src' gmake: *** [sub-src]
Error 2
*** Error code 2

Stop in /usr/ports/x11-toolkits/qt22.
*** Error code 1

Stop in /usr/ports/x11-toolkits/qt22.
*** Error code 1

Has anyone else seen these errors when installing this port and how did
they get around them?  Any help would be much appreciated.

Thanks in advance.

Bidemi Temidire

 
 
 

qt22 port and XFree86-4.0.1

Post by Roland Hammerl » Thu, 28 Sep 2000 04:00:00




Quote:> Hi Everyone,

> I am trying to install the qt22 port on my FreeBSD-4.1.x STABLE
> workstation which has XFree86-4.0.1 on it.  I would like to try out
> the latest kde2 port

Do you have Mesa installed? It is required by the OpenGL module in QT
2.2.

Roland

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

qt22 port and XFree86-4.0.1

Post by Bidemi Temidir » Thu, 28 Sep 2000 04:00:00


Hi,

I do have the required Mesa3 port installed.  In fact, I was having
problems installing that port last week.  The errors that it gave me were
related to GL and GL/glu.h as well.  Someone told me to remove the
/usr/X11R6/include/GL directory before trying to install Mesa3.  This made
the compile problems go away and Mesa3 was installed.  That port installed
its own /usr/X11R6/include/GL directory complete with GL/glu.h but qt22
won't install with it either.

Any clues?

Bidemi Temidire





>> Hi Everyone,

>> I am trying to install the qt22 port on my FreeBSD-4.1.x STABLE
>> workstation which has XFree86-4.0.1 on it.  I would like to try out the
>> latest kde2 port

> Do you have Mesa installed? It is required by the OpenGL module in QT
> 2.2.

> Roland

> Sent via Deja.com http://www.deja.com/ Before you buy.

 
 
 

1. Mesa3 ports and XFree86-4.0.1

Hi Everyone,

I am trying to install the Mesa3 port.  It is required for the new kde2
ports.  Unfortunately, it  will not compile under XFree86-4... at least
not on my FreeBSD 4.1.x-STABLE server.   I get the following errors when
trying to install the port:

gmake[2]: Entering directory
`/usr/ports/graphics/Mesa3/work/Mesa-3.2.1/src-glu'/bin/sh
../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/X11R6/include
-I/usr/ports/graphics/Mesa3/work/Mesa-3.2.1/include -DGLCALLBACKPCAST=\*  
 -O
-pipe -c glu.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include
-I/usr/ports/graphics/Mesa3/work/Mesa-3.2.1/include "-DGLCALLBACKPCAST=*"
-O
-pipe -c glu.c  -fPIC -DPIC -o glu.lo

In file included from gluP.h:35,
                 from glu.c:32:
/usr/X11R6/include/GL/glu.h:298: syntax error before `*'
/usr/X11R6/include/GL/glu.h:298: syntax error before `)'
/usr/X11R6/include/GL/glu.h:370: syntax error before `*'
/usr/X11R6/include/GL/glu.h:370: syntax error before `)'
/usr/X11R6/include/GL/glu.h:383: syntax error before `*'
/usr/X11R6/include/GL/glu.h:383: syntax error before `)'
gmake[2]: *** [glu.lo] Error 1 gmake[2]: Leaving directory
`/usr/ports/graphics/Mesa3/work/Mesa-3.2.1/src-glu' gmake[1]: ***
[all-recursive] Error 1 gmake[1]: Leaving directory
`/usr/ports/graphics/Mesa3/work/Mesa-3.2.1' gmake: *** [all-recursive-am]
Error 2
*** Error code 2

Stop in /usr/ports/graphics/Mesa3.
*** Error code 1

Stop in /usr/ports/graphics/Mesa3.
*** Error code 1

Stop in /usr/ports/graphics/Mesa3.
*** Error code 1

Stop in /usr/ports/graphics/Mesa3.

Has nayone else seen these problems?  Is there a workaround?  I would
appreciate any suggestions.  I would like to switch over to kde2 from
GNOME as it keeps freezing  periodically on my machine.

Thanks in advance.

Bidemi Temidire

2. Network Information Trap in Solaris ?

3. :Porting from SC3.0.1 to SC4.0.1

4. E450s and "large" SCSI hard disks

5. Mesa from XFree86-4.0.1

6. MOBO Recommendations

7. Multi-headed setup in XFree86-4.0.1

8. Error 403

9. Xfree86-4.0.1

10. XFree86-4.0.1. on i815 problems

11. nVidia gforce2 & Xfree86-4.0.1 using 126M ram!

12. Rage 128 driver and XFree86-4.0.1

13. Winfast Geforce2 MX + Xfree86-4.0.1 + TV-out?