I found some further changes were required against
http://svn.slimdevices.com/repos/jive/7.2/trunk/squeezeplay/src r2525
to get it compile on Fedora 9.


Flac tries to build an xmms plugin if it can.


Code:
--------------------
    Index: Makefile.linux
  ===================================================================
  --- Makefile.linux      (revision 2525)
  +++ Makefile.linux      (working copy)
  @@ -155,7 +155,7 @@
  
  # flac
  flac-1.2.1/Makefile:
  -       cd flac-1.2.1; ./configure --disable-ogg --prefix=${PREFIX}
  +       cd flac-1.2.1; ./configure --disable-ogg --disable-xmms-plugin 
--prefix=${PREFIX}
  
  flac: flac-1.2.1/Makefile
  cd flac-1.2.1; make && make install
--------------------


It appears that asm/page.h is no-longer included with the kernel.  I
bodged it to use a version that came with
compat-glibc-6.2-2.1.3.2.i386, but this is already fixed in upstream
SDL (http://www.libsdl.org/release/changes-1.2.html).


Code:
--------------------
    Index: SDL-1.2.11/src/video/fbcon/SDL_fbvideo.c
  ===================================================================
  --- SDL-1.2.11/src/video/fbcon/SDL_fbvideo.c    (revision 2525)
  +++ SDL-1.2.11/src/video/fbcon/SDL_fbvideo.c    (working copy)
  @@ -29,14 +29,14 @@
  #include <unistd.h>
  #include <sys/ioctl.h>
  #include <sys/mman.h>
  -#include <asm/page.h>          /* For definition of PAGE_SIZE */
  +#include "/usr/i386-glibc21-linux/include/asm/page.h"
  #include <linux/vt.h>
  
  #if defined(linux)
  #define HAS_MMAP_ANON
  #include <sys/types.h>
  #include <sys/mman.h>
  -#include <asm/page.h>   /* PAGE_SIZE */
  +#include "/usr/i386-glibc21-linux/include/asm/page.h"
  #define HAS_SC_PAGESIZE /* _SC_PAGESIZE may be an enum for Linux */
  #define HAS_GETPAGESIZE
  #endif /* linux */
  Index: SDL-1.2.11/src/video/Xext/Xxf86dga/XF86DGA.c
  ===================================================================
  --- SDL-1.2.11/src/video/Xext/Xxf86dga/XF86DGA.c        (revision 2525)
  +++ SDL-1.2.11/src/video/Xext/Xxf86dga/XF86DGA.c        (working copy)
  @@ -18,7 +18,8 @@
  #define HAS_MMAP_ANON
  #include <sys/types.h>
  #include <sys/mman.h>
  -#include <asm/page.h>   /* PAGE_SIZE */
  +#include "/usr/i386-glibc21-linux/include/asm/page.h"
  #define HAS_SC_PAGESIZE /* _SC_PAGESIZE may be an enum for Linux */
  #define HAS_GETPAGESIZE
  #endif /* linux */
--------------------


Another fix from upstream. 
http://sourceforge.net/tracker/index.php?func=detail&aid=1834168&group_id=13478&atid=313478:


Code:
--------------------
    Index: flac-1.2.1/examples/cpp/encode/file/main.cpp
  ===================================================================
  --- flac-1.2.1/examples/cpp/encode/file/main.cpp        (revision 2525)
  +++ flac-1.2.1/examples/cpp/encode/file/main.cpp        (working copy)
  @@ -30,6 +30,7 @@
  
  #include <stdio.h>
  #include <stdlib.h>
  +#include <string.h>
  #include "FLAC++/metadata.h"
  #include "FLAC++/encoder.h"
--------------------


-- 
mavit
------------------------------------------------------------------------
mavit's Profile: http://forums.slimdevices.com/member.php?userid=10203
View this thread: http://forums.slimdevices.com/showthread.php?t=47870

_______________________________________________
jive mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive

Reply via email to