UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. PerlMax
    P
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Groups 0

    PerlMax

    @PerlMax

    0
    Reputation
    2
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    PerlMax Unfollow Follow

    Latest posts made by PerlMax

    • RE: Custom builder for a library

      I could built the lib, but starting doesn't work:

      Launching app
      terminate called after throwing an instance of 'std::runtime_error'
        what():  Lost our connection with the registry
      -bash: line 1: 151018 Aborted                 lomiri-app-launch hellopefl.maxperl_hellopefl_1.0.0
      Started: hellopefl.maxperl_hellopefl_1.0.0
      ADB_COMMAND_FAILED
      

      How can I start a app from the terminal, so that I can see error messages?

      Thanks for the hint for the dev group, I will look into it the next days...

      Best wishes
      Max

      posted in App Development
      P
      PerlMax
    • RE: Custom builder for a library

      Good morning, i could compile the app for amd64 architecture 🤗 but cross compiling didn't work:

      /usr/bin/ld: skipping incompatible /usr/lib/aarch64-linux-gnu/libm.a when searching for -lm
      collect2: error: ld returned 1 exit status
      make: *** [Makefile:4178: blib/arch/auto/pEFL/pEFL.so] Error 1
      

      Has someone a clue what's the problem here? Ist arm64 the same as aarch64?

      And for armfh I get the following error:

      In file included from /usr/include/features.h:485,
                       from /usr/include/arm-linux-gnueabihf/sys/types.h:25,
                       from /usr/lib/x86_64-linux-gnu/perl/5.30/CORE/perl.h:697,
                       from lib/pEFL.xs:3:
      /usr/include/arm-linux-gnueabihf/gnu/stubs.h:7:11: fatal error: gnu/stubs-soft.h: No such file or directory
          7 | # include <gnu/stubs-soft.h>
            |           ^~~~~~~~~~~~~~~~~~
      compilation terminated.
      make: *** [Makefile:1057: lib/pEFL.o] Error 1
      

      Thanks in advance,
      Max

      posted in App Development
      P
      PerlMax
    • RE: Custom builder for a library

      Okay, I could build the module with a custom perl script. Now I have the perl module files under build/all/pEFL/install or so.

      How do I get these files into the click package? And what path will these file have when installed?

      Thanks,
      Max

      posted in App Development
      P
      PerlMax
    • Custom builder for a library

      Hello everybody,

      has someone an example for a custom builder for a library? I tried to create an Test-App with my perl Efl binding (pELF) :beaming_face_with_smiling_eyes: (at the moment it is just an experiment whether it would be possible to write apps with enlightenment foundation libraries...)

      This is my clickable file as far:

      clickable_minimum_required: 8.0.0
      builder: pure-qml-cmake
      kill: qmlscene
      dependencies_target: 
          - "libefl-all-dev"
      libraries:
         pEFL:
             builder: custom
             build:
               - "perl ./Makefile.PL"
               - "make"
               - "make install"
      

      with clickable build --libs I get the following error:

      Can't open perl script "./Makefile.PL": No such file or directory
      Command exited with non-zero exit status 2, see above for details. This is most likely not a problem with Clickable.
      

      cd'ing into ./libs/pEFL (where I have the source of the perl module) doesn't work, too:

      bash: line 3: cd: ./libs/pEFL: No such file or directory
      Command exited with non-zero exit status 1, see above for details. This is most likely not a problem with Clickable.
      

      Thanks in advance for any help :love-you_gesture:
      Max

      posted in App Development
      P
      PerlMax
    • RE: Guide to installing Anbox on Volla

      @totalsonic Unfortunately the guide to install Anbox is not online any more. On https://docs.ubports.com/en/latest/userguide/dailyuse/anbox.html it is said, that you have to install the Anbox kernel after each Ubuntu Touch update. Otherwise one can put the UT device on an unstable state.

      Can someone tell me how to install or update Anbox. I have installed it some times ago, but after some UT updates WhatsApp indeed crashes often 😞

      Thanks in advance,
      Max

      posted in Volla Phone
      P
      PerlMax