Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 2009 17:22:44 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        "Sergey V. Dyatko" <sergey.dyatko@gmail.com>
Cc:        ports@freebsd.org, danfe@FreeBSD.org
Subject:   Re: skype problem with fc10 and worldofgoo-demo
Message-ID:  <21287707@ipt.ru>
In-Reply-To: <20090915113907.498fd6f5@tiger.minsk.domain> (Sergey V. Dyatko's message of "Tue\, 15 Sep 2009 11\:39\:07 %2B0300")
References:  <20090915113907.498fd6f5@tiger.minsk.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
"Sergey V. Dyatko" <sergey.dyatko@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@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



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