Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2006 14:19:51 -0500
From:      Randy Pratt <bsd-unix@comcast.net>
To:        ports@FreeBSD.org
Cc:        Grigori Goronzy <greg@chown.ath.cx>, Ade Lovett <ade@FreeBSD.org>
Subject:   multimedia/gxine libtool error [patch]
Message-ID:  <20060301141951.ac6d8d48.bsd-unix@comcast.net>

next in thread | raw e-mail | index | archive | help
I had multimedia/gxine fail on a "portupgrade -fa".  This was the
only port out of 400+ on this machine that failed!  This is a small
excerpt from the gxine build log:

/bin/sh ../libtool --mode=link cc  -O -pipe  -I/usr/local/include
-L/usr/local/lib -D_THREAD_SAFE -I/usr/X11R6/include
-I/usr/local/include -DXTHREADS -DXUSE_MTSAFE_API
-I/usr/local/include/atk-1.0 -I/usr/local/include/cairo
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk -2.0/include
-I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include
-I/usr/local/include/freetype2 -I/usr/local/include   -D_REENTRANT
-I/usr/local/include/glib-2.0 -I/usr/ local/lib/glib-2.0/include
-L/usr/local/lib -I/usr/X11R6/lib -L/usr/local/lib -o gxine  actions.o
gtkxine.o  log_window.o main.o mediamarks.o  preferences.o playlist.o
stream_info.o  infobar.o settings.o wizards.o  http.o xmlparser.o
xmllexer.o  utils.o desktop_integration.o  skin_window.o
script_engine.o server.o  noskin_window.o key _events.o menu.o
open_mrl.o drag_drop.o play_item.o  lirc.o snapshot.o -L/usr/X11R6/lib
-lxine -lz -pthread -liconv -pthread -L/usr/local/lib -lgthread-2.0
-lglib-2.0 - liconv   -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib
-L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama
-latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1. 0 -lXcursor -lXfixes -lcairo
-lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 -lm -lXrender
-lX11 -lXext -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv
-lXtst  . ./src/spidermonkey/libspidermonkey.la mkdir .libs libtool:
link: cannot find the library `' *** Error code 1

Stop in /usr/ports/multimedia/gxine/work/gxine-0.3.3/src.
*** Error code 1

I tried a few things and came up with a patch which allows it to build
and run ok.

Caveat: I am not a ports guru so this patch is subject to review by the
powers that be ;-)

HTH,

Randy

Patch:
===================================================================
--- Makefile.orig	Wed Mar  1 13:26:02 2006
+++ Makefile	Wed Mar  1 13:53:34 2006
@@ -7,7 +7,7 @@
 
 PORTNAME=	gxine
 PORTVERSION=	0.3.3
-PORTREVISION=	15
+PORTREVISION=	16
 CATEGORIES=	multimedia
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	xine
@@ -20,6 +20,7 @@
 USE_X_PREFIX=	yes
 GNU_CONFIGURE=	yes
 USE_GNOME=	gtk20
+USE_AUTOTOOLS=	libtool:15
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I
${X11BASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -I${X11BASE}/lib"
=================================================================== 



-- 



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