pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: adding "../../graphics/MesaLib/builtin.mk" to x11/kdelibs3



(by the way, this is with pkgsrc 2011Q1, and pkg_comp with a 5.0
userland running on 5.1)

On Tue 12 Apr 2011 at 09:32:03 +0200, Rhialto wrote:
> ===> wrapper-message [kdelibs-3.5.10nb10] ===> Creating toolchain wrappers 
> for kdelibs-3.5.10nb10
> ERROR: glu>=3.4.2 glu>=6.0 is not installed; can't buildlink files.
> *** Error code 1

I'm now trying with

.include "../../graphics/glu/buildlink3.mk"

but it wants to install pkgsrc glu, while I have a perfectly fine
version already installed. (After all, the build succeeded with my
orgininal Makefile, for which I showed the patch)

The build of glu succeeds, but buildlinking for kdelibs3 still fails in
the same way but with a different library:

===> wrapper-message [kdelibs-3.5.10nb10] ===> Creating toolchain wrappers for 
kdelibs-3.5.10nb10
ERROR: xcursor>=1.0 xcursor>=1.1.1 is not installed; can't buildlink files.
*** Error code 1

I suppose I'll add another dependency for that..

.  include "../../x11/xcursor/buildlink3.mk"

which will build an unneeded copy of libxcursor of course.

Now it fails with the next library:

ERROR: Xfixes>=2.0.0 is not installed; can't buildlink files.

... this is going down the rabbit hole a bit too far. I'd really prefer
to use the native libraries that I already have and which are perfectly
sufficient..

next 3 tries:

ERROR: Xft2>=2.1 Xft2>=2.1nb2 is not installed; can't buildlink files.
ERROR: fontconfig>=2.4.2 fontconfig>=2.1nb2 is not installed; can't
buildlink files.
ERROR: expat>=1.95.7 expat>=1.95.4 is not installed; can't buildlink
files.

And finally, after adding all these dependencies which build unneeded
new libraries,

.  include "../../graphics/glu/buildlink3.mk"
.  include "../../x11/xcursor/buildlink3.mk"
.  include "../../x11/Xfixes/buildlink3.mk"
.  include "../../x11/libXft/buildlink3.mk"
.  include "../../fonts/fontconfig/buildlink3.mk"
.  include "../../textproc/expat/buildlink3.mk"

it configures, builds and installs.

Still, I don't think doing this is really a solution.
I don't mind the dependencies of course, they seem proper, but I would
like to use the native libraries rather than duplicate pkgsrc ones.
Especially since for some reason this is the only package that seems to
"need" them; I'm sure other packages use the native X libraries.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- There's no point being grown-up if you 
\X/ rhialto/at/xs4all.nl    -- can't be childish sometimes. -The 4th Doctor
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Home | Main Index | Thread Index | Old Index