Installation on ARM Devices (other than RaspberryPi)

  1. 10 years ago

    I own a Sheevaplug (an ARM embedded pc) running Debian squeeze. Can I install FOP2 using the Raspberrypi tarball? I tried and the installation gave no errors: however, when trying to run the server it says "-bash: /usr/local/fop2/fop2_server: No such file or directory" even though the file is actually there.

    If the Raspberrypi tarball does not work on other devices is there any other way to install it on other arm devices now that is has been ported to at least one arm device?

    Thank you.

  2. admin

    15 Feb 2014 Administrator

    What permissions does the file have?

    ls -la /usr/local/fop2/fop2_server

    Be sure it has execute permissions.

    Now, not only the platform (arm) is important, but also some library dependencies. However, those dependencies give a totally different kind of error. I think your issue are file permissions.

    Best regards,

  3. Thank you Nicolas. I did check permissions. I am running as root and did a chmod +x. I also did a chmod 777 for good measure. Still getting "-bash: /usr/local/fop2_server: No such file or directory". I deleted the directory, reinstalled with make install and still get the same error. The file is definitely there and I can open it with nano or make a copy with cp. The size is 15100268 blocks. I only get the error when I try to run it. I have never encountered this before with any other file/installation. Any idea of what's going on?

  4. admin

    15 Feb 2014 Administrator

    Is /tmp mounted with noexec?

  5. This is the line in my /etc/fstab: "tmpfs /tmp tmpfs defaults 0 0"

  6. admin

    16 Feb 2014 Administrator

    Seems ok, I am not sure what could it be. You could run it over strace to get some more troubleshooting info.

  7. I did a strace and here is the output:

    "execve("./fop2_server", ["./fop2_server"], [/* 15 vars */]) = -1 ENOENT (No such file or directory)
    dup(2) = 3
    fcntl64(3, "

    I also googled around for similar errors running executables and ran "readelf -a ./fop2_server". I have no idea what this really does but among the lines of output I got this one that caught my eye "[Requesting program interpreter: /lib/arm-linux-gnueabihf/ld-linux.so.3] "

    It sounds to me like your tarball was specifically compiled for debian hardfloat arm architectures only. like the RaspberryPi, so it will not run on Sheevaplugs or many other devices that have normal debian. Any chance you will find ways to port it to debian soft float or let users compile it from source on their machines directly?

  8. admin

    17 Feb 2014 Administrator

    Unfortunately I cannot let users compile on their own devices as it is closed source. Making the dev environment it is not easy either, involves quite a bit of work. For the raspberry some users granted remote ssh access, perhaps you can open up one so I can see if it is possible to at least set it up to compile/package fop2. You should contact me via the live help or email in that case.

    Best regards,

or Sign Up to reply!