×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 23
  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    172

    maemo Dependency C++

    Dear OVI,
    We have a maemo application (c++) , it is working perfect on our N900 device
    before publishing We were testing installation on many devices
    We used RDA ,
    application depends on these packages
    debhelper (>= 5), libhildonmm-dev ( >= 2.1.1 ), libosso-dev ( >= 2.21 )

    The only problem we meet the application doesn't install

    once we install maemo-cplusplus-device-env the application is installed and works perfect on RDA.

    Kindly we want to get end users trust , we have made full and stress test so please advice us
    we want to launch this week but this is the only issue that is delay us


    Regards
    Wael
    Last edited by waelfarouk; 2010-12-24 at 11:50.

  2. #2
    Registered User
    Join Date
    Jan 2009
    Posts
    172

    Re: maemo Dependency C++

    Dears,
    Can you advice if our application is release it will install on user mobile and get the dependency file automatilcally


    Regards
    Wael

  3. #3
    Registered User
    Join Date
    Jan 2010
    Posts
    272

    Re: maemo Dependency C++

    Quote Originally Posted by waelfarouk View Post
    Dears,
    Can you advice if our application is release it will install on user mobile and get the dependency file automatilcally


    Regards
    Wael
    Hi,

    I'm not sure if i understood your question correctly, but if you are wondering about automatic dependency installation for Maemo apps then this was the situation last summer: for free content Ovi Store uses a normal repository and therefore dependencies work normally, but for paid content dependency download doesn't work (at least it didn't few months ago) so everything needs to be included with the .deb file.

    Cheers

  4. #4
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Location
    Finland
    Posts
    327

    Re: maemo Dependency C++

    Hmm, these are *BUILD* dependencies, you should not be needing them on end-user devices once the package is built. What exactly is the error when, as you say, it doesn't install ?

  5. #5
    Registered User
    Join Date
    Jan 2009
    Posts
    172

    Re: maemo Dependency C++

    Quote Originally Posted by achipa View Post
    Hmm, these are *BUILD* dependencies, you should not be needing them on end-user devices once the package is built. What exactly is the error when, as you say, it doesn't install ?
    Dear achipa
    Thank you for reply
    As per this documentation:
    http://maemo.org/development/documen...ing_languages/
    maemo-cpulsplus-device-env must be installed
    -----------------------------------------------------------------------------
    My question is
    1. Will the package be available on OVI so it will be downloaded automatically?
    2. if it will not be downloaded ? what is the alternative solution?

    My error can be shown on this screen



    Kindly i need an advice from expert


    One more question
    i have all library *.so dependency
    if i include them and install them with my deb to there target folder will this be accepted?

    Regards
    Wael

  6. #6
    Registered User
    Join Date
    Jan 2009
    Posts
    172

    Re: maemo Dependency C++

    Quote Originally Posted by Sasler View Post
    Hi,

    I'm not sure if i understood your question correctly, but if you are wondering about automatic dependency installation for Maemo apps then this was the situation last summer: for free content Ovi Store uses a normal repository and therefore dependencies work normally, but for paid content dependency download doesn't work (at least it didn't few months ago) so everything needs to be included with the .deb file.

    Cheers
    Dear Sasler,
    Thank you for reply your
    Situation is : dependency download doesn't work
    Kindly Can you help me to find out how to include dependencies in deb file

    is there is any use case we can follow?


    Regards
    Wael

  7. #7
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Location
    Finland
    Posts
    327

    Re: maemo Dependency C++

    The bad news is that these libraries are in the community repository (Extras), so you cannot depend on them if you want to put your app in Ovi.

    Quote Originally Posted by waelfarouk View Post
    Dear achipa
    i have all library *.so dependency
    if i include them and install them with my deb to there target folder will this be accepted?
    This is your only option - while not too good and bloats disk/memory usage, you could bundle the .so-s in your application directory under /opt/yourapp

  8. #8
    Registered User
    Join Date
    Jan 2009
    Posts
    172

    Re: maemo Dependency C++

    Quote Originally Posted by achipa View Post
    The bad news is that these libraries are in the community repository (Extras), so you cannot depend on them if you want to put your app in Ovi.



    This is your only option - while not too good and bloats disk/memory usage, you could bundle the .so-s in your application directory under /opt/yourapp

    Thanks for reply
    Kindly we are just a new to linux what is .so -s (-s ) and where to add is in .deb?


    Regards
    Wael

  9. #9
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Location
    Finland
    Posts
    327

    Re: maemo Dependency C++

    .so is the linux equivalent of .DLL, to add them into the .deb you would include them in the .pro file, see http://doc.trolltech.com/4.7/qmake-e....html#installs

    Make sure you put them in your application directory and NOT in the system library dir.

  10. #10
    Registered User
    Join Date
    Jan 2009
    Posts
    172

    Re: maemo Dependency C++

    Quote Originally Posted by achipa View Post
    .so is the linux equivalent of .DLL, to add them into the .deb you would include them in the .pro file, see http://doc.trolltech.com/4.7/qmake-e....html#installs

    Make sure you put them in your application directory and NOT in the system library dir.
    Ok,
    i am working on new deb package to include all libs

    Thanks i will update the thread to share info


    Regards
    Wael

  11. #11
    Registered User
    Join Date
    Jan 2009
    Posts
    172

    Re: maemo Dependency C++

    We successes to build the deb file with dependency
    We are installing to
    executable
    /opt/appname/bin/

    libs are to
    /opt/appname/lib/
    but we receive this error
    error while loading shared libraries: libhildonmm-1.0.so.5: cannot open shared object file: No such file or directory

    is there is any special permission we need to set to lib folder?

    we also tried ship libs into bin folder but doesn't work

    /opt/appname/bin/ has a permission execute



    Regards
    Wael

  12. #12
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Location
    Finland
    Posts
    327

    Re: maemo Dependency C++

    The libs really have to be in the application directory if they are to be discovered automatically. Alternatively, with your current setup you could try starting the app with

    LD_LIBRARY_PATH=/opt/appname/lib /opt/appname/bin/appexecutable

    to help ld find the right libs in the right place

  13. #13
    Registered User
    Join Date
    Jan 2009
    Posts
    172

    Re: maemo Dependency C++

    Quote Originally Posted by achipa View Post
    The libs really have to be in the application directory if they are to be discovered automatically. Alternatively, with your current setup you could try starting the app with

    LD_LIBRARY_PATH=/opt/appname/lib /opt/appname/bin/appexecutable

    to help ld find the right libs in the right place
    in postinst i tried this solution but we got LD_LIBRARY_PATH not found

  14. #14
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Location
    Finland
    Posts
    327

    Re: maemo Dependency C++

    This is not for postinst - this is how you actually have to start the app from the shell or script.

  15. #15
    Registered User
    Join Date
    Jan 2009
    Posts
    172

    Re: maemo Dependency C++

    Dear achipa
    Thank you very much for your support

    We set configure file that lib should to point to /opt/appname/bin/

    we set from .sh file
    LD_LIBRARY_PATH=/opt/appname/bin/
    echo $LD_LIBRARY_PATH
    export LD_LIBRARY_PATH

    under bin folder
    executable
    *.so

    we run .sh and the sh is echo the $LD_LIBRARY_PATH so it is ok


    but once .sh is out and we try from terminal echo $LD_LIBRARY_PATH it is empty !! and LD_LIBRARY_PATH is not exported

    So kindly if you can support us we will be very thanks

    Regards
    Wael

Similar Threads

  1. Replies: 5
    Last Post: 2010-09-20, 06:27
  2. Replies: 3
    Last Post: 2010-07-27, 07:41
  3. How to CaptureKeyUpAndDowns depends on home/app
    By stephen.cheung in forum Symbian
    Replies: 3
    Last Post: 2010-05-14, 03:47
  4. The link for download is fix or depends on events?
    By sliawatimena in forum Automatic Feedback Channel
    Replies: 2
    Last Post: 2009-12-06, 11:27
  5. Problem http connection depends on carrier
    By medienhof in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2005-02-16, 14:53

Posting Permissions

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