Hi Schorsch,

> it finds only the already installed lib.

So that's a bug - the repositories are not refreshed automatically in the 
Docker-based build 
engine.

You can fix that simply by using Qt Creator > Options > Sailfish OS > Build 
Engine > 
Manage Build Targets > Refresh or from command line with `sfdk tools update` 
for each 
build target.

BR,
Martin

On úterý 12. května 2020 7:08:21 CEST george b wrote:
> Thank you both for your comments. One step closer, but does not solve my
> issue.
> 
> If I use the GUI way to search for the devel headers, it finds only the
> already installed lib.
> 
> SSH into the mer docker build engine results in similar output:
> > ssh -p 2222 -i
> 
> ~/bins//SailfishOS317/vmshare/ssh/private_keys/engine/mersdk
> mersdk@localhost
> 
> > sb2 -t SailfishOS-3.3.0.16-armv7hl -m sdk-install -R zypper up
> 
> Loading repository data...
> Reading installed packages...
> 
> Nothing to do.
> 
> > sb2 -t SailfishOS-3.3.0.16-armv7hl -m sdk-install -R zypper se *ssl*
> 
> Loading repository data...
> Reading installed packages...
> 
> S | Name         | Summary                                             |
> Type
> --+--------------+-----------------------------------------------------+----
> ---- i | openssl-libs | A general purpose cryptography library with TLS i->
> | package
> 
> > ls
> 
> /host_install/mersdk/targets/SailfishOS-3.3.0.16-armv7hl/usr/include/openssl
> * ls: cannot access
> '/host_install/mersdk/targets/SailfishOS-3.3.0.16-armv7hl/usr/include/openss
> l': No such file or directory
> 
> It seems to me that the openssl-devel package is not available in the repo,
> neither installed in the system. Same issue for libxml2-devel.
> 
> Further suggestions are welcome :-).
> 
> Best regards
> Schorsch
> 
> Am Mo., 11. Mai 2020 um 22:14 Uhr schrieb Martin Kampas <
> 
> martin.kam...@jolla.com>:
> > Hi George,
> > 
> > 
> > 
> > As long as you list all your dependencies in the .spec file (you seem to
> > do so in the linked sources), you do not need to do anything to get them
> > installed. Installing build time dependencies happens automatically as
> > part
> > of the build process.
> > 
> > 
> > 
> > Should you need to manage packages under build targets for some reason,
> > you may use either Qt Creator > Options > Sailfish OS > Build Engine >
> > Manage Build Targets > Manage packages, or achieve the same on command
> > line
> > with `sfdk tools package-install` and related commands. Find sfdk in the
> > bin subdirectory of Sailfish SDK installation directory.
> > 
> > 
> > 
> > BR,
> > 
> > Martin


_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to