skype problem with fc10 and worldofgoo-demo

Boris Samorodov bsam at ipt.ru
Tue Sep 15 13:20:54 UTC 2009


"Sergey V. Dyatko" <sergey.dyatko at gmail.com> writes:

> When I'm trying install skype I got following error: 
>
> tiger# make install clean
> ===>  Installing for skype-2.0.0.72,1
> ===>   skype-2.0.0.72,1 depends on file: /compat/linux/bin/sh - found
> ===>   skype-2.0.0.72,1 depends on
> file: /compat/linux/lib/libasound.so.2.0.0 - found ===>
> skype-2.0.0.72,1 depends on file: /compat/linux/usr/lib/libGL.so.1.2 -
> not found ===>    Verifying install
> for /compat/linux/usr/lib/libGL.so.1.2
> in /usr/ports/graphics/linux-dri74 ===>  Installing for linux-dri-7.4_1
>
> ===>  linux-dri-7.4_1 conflicts with installed package(s): 
>       linux-f10-libGLU-7.2
>
>       They install files into the same place.
>       Please remove them first with pkg_delete(1).
> *** Error code 1
>
> Stop in /usr/ports/graphics/linux-dri74.
> *** Error code 1
>
> Stop in /usr/ports/net/skype.
> tiger# pkg_info -W /compat/linux/usr/lib/libGL.so.1.2
> pkg_info: /compat/linux/usr/lib/libGL.so.1.2: file cannot be found
>
> tiger# pkg_info -Lx linux-f10-libGLU
> Information for linux-f10-libGLU-7.2:
>
> Files:
> /compat/linux/usr/lib/libGLU.so.1
> /compat/linux/usr/lib/libGLU.so.1.3.070300
>
> tiger# 
>
> Earlier I'm using linux-dri-7.4_1 but today I'm install
> games/linux-worldofgoo-demo 
>
> [tiger at tiger]/usr/ports/games/linux-worldofgoo-demo%make
> run-depends-list
> /usr/ports/audio/linux-f10-libogg
> /usr/ports/audio/linux-f10-libvorbis
> /usr/ports/audio/linux-f10-mikmod
> /usr/ports/audio/linux-f10-sdl_mixer
> /usr/ports/devel/linux-f10-sdl12
> /usr/ports/emulators/linux_base-f10
> /usr/ports/graphics/linux-f10-libGLU
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> /usr/ports/textproc/linux-f10-expat
> /usr/ports/x11-fonts/linux-f10-fontconfig
> /usr/ports/x11/linux-f10-xorg-libs
>
> any suggestions ?

1. Deinstall games/linux-worldofgoo-demo and graphics/linux-f10-libGLU.
2. Apply the following patch.
3. Install games/linux-worldofgoo-demo and net/skype.
4. Report here.

-----
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/games/linux-worldofgoo-demo/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	14 Sep 2009 19:23:23 -0000	1.1
+++ Makefile	15 Sep 2009 13:10:10 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	worldofgoo
 PORTVERSION=	1.41
+PORTREVISION=	1
 CATEGORIES=	games linux
 MASTER_SITES=	http://freebsd.nsu.ru/distfiles/
 PKGNAMEPREFIX=	linux-
@@ -18,12 +19,19 @@
 ONLY_FOR_ARCHS=	i386 amd64
 
 USE_LINUX=	yes
-USE_LINUX_APPS=	libglu libvorbis mikmod sdl12 sdlmixer
+USE_LINUX_APPS=	libvorbis mikmod sdl12 sdlmixer
 NO_BUILD=	yes
 WRKSRC=		${WRKDIR}/WorldOfGooDemo
 DATADIR=	${PREFIX}/share/WorldOfGoo
 DOCSDIR=	${PREFIX}/share/doc/WorldOfGoo
 
+.ifdef WITH_NVIDIA_GL
+RUN_DEPENDS+=	${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
+USE_LINUX_APPS+=libglu
+.else
+USE_LINUX_APPS+=dri
+.endif
+
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "i386"
-----

-- 
WBR, bsam


More information about the freebsd-ports mailing list