We have moved to a new Sailfish OS Forum. Please start new discussions there.
1

Can't compile with build engine

asked 2019-04-03 22:47:07 +0300

ron282 gravatar image

Hi, when I compile libraries or apps from the build engine but it fails with
./configure: Permission denied.

If a developper as an idea to solve it it will be great.

Here is how I proceed:

  1. I installed the build engine with the SDK on a mac
  2. I start the Build Engine directly for Virtual Box
  3. I open a terminal and I connect with ssh -i $HOME/SailfishOS/vmshare/ssh/private_keys/engine/mersdk -p 2222 mersdk@localhost
  4. from the build engine, I clone the source. For instance git clone --recursive https://git.merproject.org/mer-core/libpcap.git
  5. from the created directory (cd libpcap) I launch mb2 -t SailfishOS-3.0.2.8-armv7hl build
  6. It fails with /var/tmp/rpm-tmp.5qOZul: line 40: ./configure: Permission denied

It must be something obvious. I also tried from Linux. I also tried with other codes from github. Same issue.

edit retag flag offensive close delete

Comments

It might be related to configure running in /var -- is the partition with /var mounted noexec?

lambda ( 2019-04-04 03:01:03 +0300 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2019-04-07 12:33:14 +0300

ron282 gravatar image

Hi, I finally solved the issue by following the instructions to install the Platform SDK and not the Application SDK. I don't know exactly what is the difference but for compiling third party libraries it works better. Thanks for your help @lamba.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2019-04-03 22:47:07 +0300

Seen: 217 times

Last updated: Apr 07 '19