installing KDE4 - kde4-workspace requires modern libGL

Hello everyone,

I just started 10 days ago in working with FreeBSD and went through several Tutorials in the basics of the system.

My setup looks as follows:
-VirtualBox VM on a Win7 host laptop
-FreeBSD 10 installed
-xorg window manager installed

and now I am in the middle of installing KDE from ports.

However, whenever the installation got stuck, I installed the failed program manually with ports or package and usually it worked for me.

Now the installation got stuck at installing
Code:
kde4-workspace
with Error code 1. I tried to install it manually then:

Code:
/usr/ports/x11/kde4-workspace # make install clean
===> kde-workspace-4.11.8 requires modern libGL. Please, set WITH_NEW_XORG and update your ports.
*** Error code 1

Stop.

This is what I did to solve the problem, but it didnt help:
-create /etc/make.conf and add the line WITH_NEW_XORG= yes
-updated ports

Does anyone have an idea, how to solve this?

Thanks in advance,
Greetz
 
Check if you got newer versions for a few Xorg parts:
Code:
root@molly:~ # pkg version -vIl'>'
dri-9.1.7_3,2                      >   succeeds index (index has 7.6.1_3,2)
libGL-9.1.7                        >   succeeds index (index has 7.6.1_4)
libdrm-2.4.50                      >   succeeds index (index has 2.4.17_1)
xf86-video-intel-2.21.15_1         >   succeeds index (index has 2.7.1_6)
xorg-server-1.12.4_4,1             >   succeeds index (index has 1.7.7_11,1)

If you don't have Intel graphics you don't need to have the xf86-video-intel port.
 
Thanks for the fast reply.

Sorry for the noob question.. How exactly can I check for new version?

What I did, is let portmaster(8) update all ports with
Code:
portmaster -a
. Did that do the trick?
 
These are the versions:

Code:
libdrm-2.4.17_1
xf86-video-intel-2.7.1_6
xorg-server-1.7.7_11,1

libGL and dri were not there when i checked with
Code:
pkg version
so i installed them from ports. Now these versions are installed:

Code:
dri-7.6.1_3,2
libGL-7.6.1_4

How can I install newer version? I updated port collection but still these versions are being installed...?
 
FreeBSDmeetsKDE said:
What I did, is let portmaster update all ports with
Code:
portmaster -a
. Did that do the trick?
No, this only updates ports that happen to be out of date. Strictly speaking xorg-server isn't out of date.

You need to, explicitly, rebuild those 5 ports. If WITH_NEW_XORG is set it will automatically install the newer versions.
 
I did the following:
Code:
portsnap fetch extract
portmaster -L --index-only
And it didn't say that there are new versions for libGL and the other ports.

Any solution? :)
 
FreeBSDmeetsKDE said:
And it didn't say that there are new versions for libGL and the other ports.
No, that's correct. You won't know they exist until you've installed them. It's one of the weird and wonderful quirks of the ports system unfortunately.

I build my own repository so it's been a while since I used portmaster(8) but I think this tries to do the right thing: portmaster -f libdrm libGL dri xorg-server
 
Building the new versions with the old already in place might fail. So delete the old ones first:
pkg delete -f libGL dri
 
Back
Top