My Book World edition problems

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2426
    Anonymous
    Inactive

    Hi,

    I’ve been running Firefly on my Windows PC for a while and think it’s great! I just got a WD My Book World Edition today, and I want to get it set up on that so I can access my music on my Roku even when the computer’s not turned on. But I’m a complete Linux noob and I’m having some problems. Here they are…

    SQLite: When I run ./configure, I get the error:

    checking build system type... Invalid configuration `armv5tejl-unknown-linux-': machine `armv5tejl-unknown-linux' not recognized
    configure: error: /bin/sh ./config.sub armv5tejl-unknown-linux- failed

    I then can’t run the make command either.

    ZLib: This comes up on running ./configure:

    Checking for gcc...
    Building static library libz.a version 1.2.3 with cc.
    Checking for unistd.h... No.
    Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf()
    Checking for snprintf() in stdio.h... No.
    WARNING: snprintf() not found, falling back to sprintf(). zlib
    can build but will be open to possible buffer-overflow security
    vulnerabilities.
    Checking for return value of sprintf()... No.
    WARNING: apparently sprintf() does not return a value. zlib
    can build but will be open to possible string-format security
    vulnerabilities.
    Checking for errno.h... No.
    Checking for mmap support... No.

    ..and then when I try to run make I get this:

    cc -O -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H   -c -o example.o example.c
    make: cc: Command not found
    make: *** [example.o] Error 127

    LibID3tag: I get the following error…

    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking build system type... armv5tejl-unknown-linux-gnu
    checking host system type... armv5tejl-unknown-linux-gnu
    checking for gcc... no
    checking for cc... no
    checking for cc... no
    checking for cl... no
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.

    Firefly: I get much the same thing…

    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for style of include used by make... GNU
    checking for gcc... no
    checking for cc... no
    checking for cc... no
    checking for cl... no
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.

    Anyone got any ideas?!

    #16972
    Anonymous
    Inactive

    Hello. Sorry to reply to my own post, I know that’s bad form, but thought it might be of use to let people know how I fixed this.

    It appears that some MBWs no longer come with gcc installed – it was removed as part of the last firmware. So to run any of this stuff, you have to put it back first!

    This is why I love open-source stuff… ‘cos step-by-step instructions which work perfectly to do this are here:
    http://mybookworld.wikidot.com/forum/t-50241/tutorial:how-to-recover-gcc-after-firmware-2-00-15-upgrade

    Hope that’s of use. My Makes are running right now 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.