Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11
    Senior Member
    Join Date
    Jun 2005
    Location
    Switzerland
    Posts
    610
    Done, r34

    Fred

  2. #12
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,323

    [SlimDevices: Jive] compilation problems on osx

    > Done, r34

    Excellent! Thanks a lot!

    Now let's debug that MAC address issue...

    --

    Michael

    -----------------------------------------------------------------
    http://www.herger.net/SlimCD - your SlimServer on a CD
    http://www.herger.net/slim - AlbumReview, Biography, MusicInfoSCR

  3. #13
    NOT a Slim Devices Employee kdf's Avatar
    Join Date
    Apr 2005
    Posts
    9,493
    osx 10.3.9, gcc 3.3 (expected to work at all?)

    I managed to get the ports installed, after also updating gperf.

    However, the compile now fails with the following:


    Code:
    ranlib liblua.a
    cc -I/Users/fishbone/jive/jive//build/osx/include -I/Users/fishbone/jive/jive//build/osx/include/SDL -I/opt/local/include -g -DLUA_USE_MACOSX -DLUA_USE_READLINE -c -o lua.o lua.c
    In file included from lua.h:16,
                     from lua.c:15:
    luaconf.h:309:31: readline/readline.h: No such file or directory
    luaconf.h:310:30: readline/history.h: No such file or directory
    lua.c: In function `pushline':
    lua.c:180: warning: assignment makes pointer from integer without a cast
    make[3]: *** [lua.o] Error 1
    make[2]: *** [macosx] Error 2
    make[1]: *** [macosx] Error 2
    make: *** [lua] Error 2
    tips? useless distractions? free upgrades?

    -kdf

  4. #14
    Senior Member
    Join Date
    Jun 2005
    Location
    Switzerland
    Posts
    610
    Lua looks for readline which is not available below 10.4. So technically speaking it's not supported

    You can probably make it work if you edit lua-5.1.1/src/Makefile

    Code:
    # use this on Mac OS X 10.4
    	$(MAKE) all MYCFLAGS="-DLUA_USE_MACOSX -DLUA_USE_READLINE" MYLIBS="-lreadline -lpthread" OSXPREFIX='export MACOSX_DEPLOYMENT_TARGET="10.3"' MYTHREADLDFLAGS="-bundle -undefined dynamic_lookup"
    into

    Code:
    # use this on Mac OS X 10.3
    	$(MAKE) all MYCFLAGS="-DLUA_USE_MACOSX" MYLIBS="-lpthread" OSXPREFIX='export MACOSX_DEPLOYMENT_TARGET="10.3"' MYTHREADLDFLAGS="-bundle -undefined dynamic_lookup"
    (Basically remove anything that mentions readline)

    HTH

    Fred

  5. #15
    NOT a Slim Devices Employee kdf's Avatar
    Join Date
    Apr 2005
    Posts
    9,493

    [SlimDevices: Jive] compilation problems on osx

    On 9-May-07, at 12:24 AM, Fred wrote:

    >
    > Lua looks for readline which is not available below 10.4. So
    > technically
    > speaking it's not supported
    >
    > You can probably make it work if you edit lua-5.1.1/src/Makefile
    >
    >

    actually, it was just as simple as commenting out the line below the
    use this for 10.4, and un-commenting the simpler line above that made
    no reference to readline.
    works like a charm now.
    cheers,
    kdf

    Code:
    Index: Makefile
    ===================================================================
    --- Makefile    (revision 36)
    +++ Makefile    (working copy)
    @@ -106,9 +106,9 @@
             $(MAKE) all MYCFLAGS="-O2 -Wall -pthread -fpic -DLUA_USE_LINUX" 
    MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses -lpthread" 
    MYTHREADLDFLAGS="-O -shared -fpic" OSXPREFIX="pwd"
    
      macosx:
    -#      $(MAKE) all MYCFLAGS=-DLUA_USE_MACOSX
    +       $(MAKE) all MYCFLAGS=-DLUA_USE_MACOSX
      # use this on Mac OS X 10.4
    -       $(MAKE) all MYCFLAGS="-DLUA_USE_MACOSX -DLUA_USE_READLINE" 
    MYLIBS="-lreadline -lpthread" OSXPREFIX='export 
    MACOSX_DEPLOYMENT_TARGET="10.3"' MYTHREADLDFLAGS="-bundle -undefined 
    dynamic_lookup"
    +#      $(MAKE) all MYCFLAGS="-DLUA_USE_MACOSX -DLUA_USE_READLINE" 
    MYLIBS="-lreadline -lpthread" OSXPREFIX='export 
    MACOSX_DEPLOYMENT_TARGET="10.3"' MYTHREADLDFLAGS="-bundle -undefined 
    dynamic_lookup"
    
      #      $(OSXPREFIX); $(CC) -o $@ $(MYTHREADLDFLAGS) $(LUATHREAD_O)

  6. #16
    Gadfly, Former Founder Slim Devices dean's Avatar
    Join Date
    Apr 2005
    Location
    San Francisco, CA
    Posts
    4,427

    [SlimDevices: Jive] compilation problems on osx

    Hm. I had no problem with building on 10.4.

    It's not unreasonable to assume 10.4 in the build script (at least
    until 10.5 comes out.

    -dean

    On May 9, 2007, at 12:52 AM, kdf wrote:

    >
    > On 9-May-07, at 12:24 AM, Fred wrote:
    >
    >>
    >> Lua looks for readline which is not available below 10.4. So
    >> technically
    >> speaking it's not supported
    >>
    >> You can probably make it work if you edit lua-5.1.1/src/Makefile
    >>
    >>

    > actually, it was just as simple as commenting out the line below the
    > use this for 10.4, and un-commenting the simpler line above that made
    > no reference to readline.
    > works like a charm now.
    > cheers,
    > kdf
    >
    >
    Code:
    > Index: Makefile
    > ===================================================================
    > --- Makefile    (revision 36)
    > +++ Makefile    (working copy)
    > @@ -106,9 +106,9 @@
    >          $(MAKE) all MYCFLAGS="-O2 -Wall -pthread -fpic - 
    > DLUA_USE_LINUX"
    > MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses -lpthread"
    > MYTHREADLDFLAGS="-O -shared -fpic" OSXPREFIX="pwd"
    >
    >   macosx:
    > -#      $(MAKE) all MYCFLAGS=-DLUA_USE_MACOSX
    > +       $(MAKE) all MYCFLAGS=-DLUA_USE_MACOSX
    >   # use this on Mac OS X 10.4
    > -       $(MAKE) all MYCFLAGS="-DLUA_USE_MACOSX -DLUA_USE_READLINE"
    > MYLIBS="-lreadline -lpthread" OSXPREFIX='export
    > MACOSX_DEPLOYMENT_TARGET="10.3"' MYTHREADLDFLAGS="-bundle -undefined
    > dynamic_lookup"
    > +#      $(MAKE) all MYCFLAGS="-DLUA_USE_MACOSX -DLUA_USE_READLINE"
    > MYLIBS="-lreadline -lpthread" OSXPREFIX='export
    > MACOSX_DEPLOYMENT_TARGET="10.3"' MYTHREADLDFLAGS="-bundle -undefined
    > dynamic_lookup"
    >
    >   #      $(OSXPREFIX); $(CC) -o $@ $(MYTHREADLDFLAGS) $(LUATHREAD_O)
    >
    >
    >

  7. #17
    NOT a Slim Devices Employee kdf's Avatar
    Join Date
    Apr 2005
    Posts
    9,493

    [SlimDevices: Jive] compilation problems on osx

    On 9-May-07, at 7:33 AM, dean blackketter wrote:

    > Hm. I had no problem with building on 10.4.
    >

    some of us don't have 10.4

    > It's not unreasonable to assume 10.4 in the build script (at least
    > until 10.5 comes out.
    >

    simple edit, so something that can easily be found here now or on the
    wiki ...at some point or another.

    -kdf


  8. #18
    Squeezebox Groupie Devans's Avatar
    Join Date
    Apr 2006
    Posts
    20

    Another round of OS X build issues

    Trying to build OS X version. I have gcc 4.01 running on an Intel Mac with 10.4.1. I've installed the libraries the README.osx listed. ($ sudo port install tiff libpng jpeg expat gettext)

    I get these errors at the end the build:

    Code:
    /var/tmp//ccxlKOBW.s:142:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:313:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:502:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:670:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:841:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:1023:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:1189:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:1368:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:1549:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:1702:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:1854:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:2007:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:2152:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:2315:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:2536:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:2727:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:2890:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:3113:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:3291:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:3475:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:3490:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:3678:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:3876:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:4059:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:4237:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:4252:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:4444:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:4618:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:4824:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:5074:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:5191:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:5361:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:5558:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:5854:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:5963:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:6133:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:6334:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:6635:Alignment too large: 15. assumed.
    /var/tmp//ccxlKOBW.s:6784:Alignment too large: 15. assumed.
    make[1]: *** [SDL_imageFilter.lo] Error 1
    make: *** [sdl-gfx] Error 2
    Any ideas let me know. Thanks!

  9. #19
    Senior Member
    Join Date
    Jun 2005
    Location
    Switzerland
    Posts
    610
    I have the warnings here, but it compiles. I think we need the stuff surrounding the errors you posted.

    Try going into sdl-gfx, make distclean, then cd .., make -f Makefile.osx sdl-gfx...

    HTH

    Fred

  10. #20
    Former Squeezebox Guy andyg's Avatar
    Join Date
    Jan 2006
    Location
    Pittsburgh, PA
    Posts
    7,396
    I am also having the exact same problem. Fresh checkout today, all libs installed from macports, gcc 4.0.1:

    gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_gfx\" -DVERSION=\"2.0.15\" -DBUILD_DLL -I. -I. -I/Users/andy/dev/Slim/jive/jive//build/osx/include -I/Users/andy/dev/Slim/jive/jive//build/osx/include/SDL -I/opt/local/include -g -DUSE_MMX -I/Users/andy/dev/Slim/jive/jive//build/osx/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -MT SDL_imageFilter.lo -MD -MP -MF .deps/SDL_imageFilter.Tpo -c SDL_imageFilter.c -o SDL_imageFilter.o
    /var/tmp//ccXds3ft.s:142:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:313:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:502:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:670:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:841:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:1023:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:1189:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:1368:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:1549:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:1702:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:1854:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:2007:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:2152:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:2315:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:2536:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:2727:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:2890:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:3113:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:3291:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:3475:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:3490:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:3678:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:3876:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:4059:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:4237:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:4252:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:4444:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:4618:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:4824:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:5074:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:5191:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:5361:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:5558:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:5854:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:5963:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:6133:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:6334:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:6635:Alignment too large: 15. assumed.
    /var/tmp//ccXds3ft.s:6784:Alignment too large: 15. assumed.
    make[1]: *** [SDL_imageFilter.lo] Error 1
    make: *** [sdl-gfx] Error 2
    Doing what you suggested Fred, the same error happens.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •