[mythtv] Issues with 0.26, gentoo, and zeromq

Shawn King slackerlinux85 at gmail.com
Sat Oct 6 07:26:41 UTC 2012


On 10/06/2012 02:39 AM, Marc Tousignant wrote:
> -----Original Message-----
> From: Marc Tousignant [mailto:myrdhn at gmail.com]
> Sent: Friday, October 05, 2012 11:56 AM
> To: 'Development of MythTV'
> Subject: RE: [mythtv] Issues with 0.26, gentoo, and zeromq
>
> Gavin,
>
> Would this work?
>
> MarcT
>
> -----
>
> There may be an alternate solution as well. I think I just discovered the
> missing link that I think starts me down the route to a better fix.
>
> mythtv/configure contains
> LIBDIR=\$(INSTALL_ROOT)$libdir
> SHLIBDIR=\$(INSTALL_ROOT)$shlibdir
> INCDIR=\$(INSTALL_ROOT)$incdir
> BINDIR=\$(INSTALL_ROOT)$bindir
> DATADIR=\$(INSTALL_ROOT)$datadir
> MANDIR=\$(INSTALL_ROOT)$mandir
>
> The only one of these not in use by zeromq is the incdir, zeromq users
> includedir instead.
>
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-dev
>
are you using 64bit?

myths zeromq likes to install itself in /usr/lib instead of /usr/lib64 
on 64bit systems. i have been using the attached patch on my slackware 
system which uses custom buildscripts that bypass the need to install 
mythtv before building mythplugins. the patch is just a workaround a 
real fix would be to pass on the libdir info to zeromq's configure script

-------------- next part --------------
diff --git a/mythtv/external/Makefile b/mythtv/external/Makefile
index 6fc0c2e..9f41aea 100644
--- a/mythtv/external/Makefile
+++ b/mythtv/external/Makefile
@@ -25,7 +25,8 @@ zeromq-all:	zeromq/Makefile
 zeromq/Makefile:	zeromq/configure
 	(cd zeromq ; \
 	 ./configure --without-documentation --prefix=${PREFIX} \
-	             --includedir=${PREFIX}/include/mythtv/zeromq)
+	             --includedir=${PREFIX}/include/mythtv/zeromq \
+	             --libdir=${PREFIX}/lib64)
 
 zeromq-install zeromq-uninstall zeromq-clean zeromq-distclean:
 	${MAKE} -C zeromq ${@:zeromq-%=%} DESTDIR=${INSTALL_ROOT}


More information about the mythtv-dev mailing list