Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2005 12:21:42 -0600
From:      "Andrew Predoehl" <apredoehl@go.mailsvc.com>
To:        no-html@jonathan-glaschke.de
Cc:        freebsd-questions@freebsd.org
Subject:   SOLVED: KPovModeler port problem: why no OpenGL?
Message-ID:  <web-246400966@mailsvc.com>

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

>> I found a problem when I recompiled the
>> graphics/kdegraphics3 port; the build and install were
>> OK, but now when I run KPovModeler, it tells me, "No
>> OpenGL support" and does not show wireframes anymore.
>>
>> I'm running FreeBSD-5.4-RELEASE-p4, and recompiling
>> because I'm just doing an ordinary portupgrade on
>> kdegraphics3.
>>
>> There was no problem during the configure step. Configure
>> found GL, GLU, GLX, but found them....
>>
>> checking GL/gl.h usability... yes
>> checking GL/gl.h presence... yes
>> checking for GL/gl.h... yes
>> checking GL/glu.h usability... yes
>> checking GL/glu.h presence... yes
>> checking for GL/glu.h... yes
>> checking GL/glx.h usability... yes
>> checking GL/glx.h presence... yes
>> checking for GL/glx.h... yes
>> checking for GL... yes
>>
>> The only thing configure said I was missing was libsane,
>> which I don't even need because I don't have a scanner.
>>
>> I'd really like to be able to use KPovModeler properly.
>> Does anyone know how to fix this? Should I just give up
>> and use a package? Do I need to install Mesa? It is not
>> listed as a dependency, and in fact when I tried to make
>> the graphics/mesagl port it says this:
>>
>> landru# cd /usr/ports/graphics/mesagl/
>> landru# make configure
>> ===> Mesa-5.0.1_3 is unnecessary because libGL and libGLU
>> come with XFree86 4.0 and higher.
>>
>> I have libglut-6.0.1 and xorg 6.8.2 already installed,
>> along with the all the rest of KDE 3.4.1.
>>
>> Thanks,
>>
>> Andrew Predoehl
>
>Uncomment Load "glx" and Load "dri" in /etc/X11/xorg.conf, >and restart X.
>That may help you.
>
># This loads the GLX module
>    Load "glx"
># This loads the DRI module
>    Load "dri"
>
>Jonathan

Thanks Jonathan, that solved it!  I didn't have either 
module loaded.

For the record, just plain Load "glx" alone was enough
to solve the problem.  I had removed both of these Load
commands when I upgraded from XFree86 to Xorg, and
I thought maybe I didn't need them anymore, since the
example xorg.conf file
/usr/X11R6/lib/X11/xorg.conf.eg does not indicate loading
these modules.  Then, I forgot that I'd removed them...

Thanks again!
AMP



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?web-246400966>