pkgsrc-Users archive

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

Re: problems building gmplayer



        Are you using xorg? Does the following work for you - patch
        for gmplayer/Makefile & gmplayer/distinfo and a (new)
        mplayer-share/patches/patch-ad

On Mon, 20 Nov 2006, Steven M. Bellovin wrote:

On Mon, 20 Nov 2006 17:16:52 -0600 (CST), "Jeremy C. Reed"
<reed%reedmedia.net@localhost> wrote:

Error: X11 support required for GUI compilation.

Check "configure.log" if you do not understand why it failed.
*** Error code 1

However, the last line in configure.log is

        ============ Checking for GUI ============

nor is there anything useful in work/.work.log or work/.pkg-config.log

I'm running -current with pkgsrc HEAD (up to date) and xorg.

A few others have reported same issue.

I am curious, what was buildlinked?

ls -l work/.buildlink/.buildlink_*done

Attached.

And do you see any X11 headers under the work/.buildlink*/include/
?

Yes -- see the attachment.  I verified that some sample of the symlinks
under X11 actually work.

The configure.log is too big to attach; you can find it at
http://www.machshav.com/~smb/configure.log

                --Steven M. Bellovin, http://www.cs.columbia.edu/~smb


--
                David/absolute       -- www.NetBSD.org: No hype required --
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/gmplayer/Makefile,v
retrieving revision 1.55
diff -u -p -r1.55 Makefile
--- Makefile    31 Oct 2006 22:33:28 -0000      1.55
+++ Makefile    21 Nov 2006 11:12:39 -0000
@@ -56,7 +56,8 @@ DISTINFO_FILE=        ${.CURDIR}/distinfo
 DIST_SUBDIR=   ${PKGNAME_NOREV}-20060123
 
 USE_TOOLS+=            gtar pkg-config
-CONFIGURE_ARGS+=       --enable-gui --disable-mencoder \
+CONFIGURE_ARGS+=       --with-extraincdir=${PREFIX}/${X11ROOT_PREFIX}/include \
+                       --enable-gui --disable-mencoder \
                        --confdir=${PREFIX}/share/mplayer
 
 INSTALLATION_DIRS=     bin
@@ -78,6 +79,7 @@ do-install:
 
 .include "../../multimedia/mplayer-share/Makefile.depends"
 
+.include "../../audio/cdparanoia/buildlink3.mk"
 .include "../../x11/gtk2/buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/gmplayer/distinfo,v
retrieving revision 1.42
diff -u -p -r1.42 distinfo
--- distinfo    31 Oct 2006 22:33:28 -0000      1.42
+++ distinfo    21 Nov 2006 11:12:39 -0000
@@ -66,5 +66,6 @@ Size (gmplayer-1.0rc9-20060123/xine-lcd-
 SHA1 (patch-aa) = ec50dd83f781fbac260ff469846c8c91b6471642
 SHA1 (patch-ab) = 29bf59ecb3d283708ae1c5002d1fa71cac627cc9
 SHA1 (patch-ac) = 6d0de4bd41d9842ea1bf46e9fbe60bf6a943b913
+SHA1 (patch-ad) = d0b72eaa5e63d2cfd7828ea1a9973f1728c607b5
 SHA1 (patch-ah) = 7aeb9f04d622fcad8c40dc9edbb0a58277fc622b
 SHA1 (patch-tc) = e67443cec273d7aa168fb160e2409d2ce352a8bf
$NetBSD$

--- stream/cdd.h.orig   2006-11-21 10:26:56.000000000 +0000
+++ stream/cdd.h
@@ -3,8 +3,8 @@
 
 #include "config.h"
 #ifndef HAVE_LIBCDIO
-#include <cdda_interface.h>
-#include <cdda_paranoia.h>
+#include <cdparanoia/cdda_interface.h>
+#include <cdparanoia/cdda_paranoia.h>
 #else
 #include <cdio/cdda.h>
 #include <cdio/paranoia.h>


Home | Main Index | Thread Index | Old Index