Author Topic: Linux newb build question  (Read 421 times)

JimmieC

  • Senior Community Member
  • Posts: 501
  • Hero Points: 17
Linux newb build question
« on: June 05, 2024, 05:38:15 PM »
New to Linux. I don't use SE to build in my normal/legacy projects. I am using bitbake to build a component. I tried putting the bitbake line into the Project Build tool but it does not work. I tried putting the command line into a .sh file and configuring SE to call that. It did not work. If I call the .sh file from the command line, it works. I tried putting quotes around the build command in the SE dialog, no luck. I tried putting quotes in the .sh file, no luck (although the command line itself did NOT like the quotes in the .sh file).

Here is the command line: bitbake mqtt-device-mgr -c compile
I set the directory: /home/pjt/idx-yocto-sumo/build/

What am I missing?

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2903
  • Hero Points: 153
Re: Linux newb build question
« Reply #1 on: June 05, 2024, 05:41:22 PM »
What happens when you try to build?

JimmieC

  • Senior Community Member
  • Posts: 501
  • Hero Points: 17
Re: Linux newb build question
« Reply #2 on: June 05, 2024, 05:48:20 PM »
Hey Dan,
Good point! Skipped a gear there. Here is the helpful info:

[SE pjt@idx-vm build]$ /home/pjt/slickedit-pro2023/bin/vsbuild -hidevep -signal 1vsbuild_done -commandfile "/tmp/slk.215500.20240605174723603.-12.cmf"

VSLICKERRORPATH=/home/pjt/idx-yocto-sumo/build
bitbake mqtt-device-mgr -c compile
/bin/bash: bitbake mqtt-device-mgr -c compile: command not found
[SE pjt@idx-vm build]$

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2903
  • Hero Points: 153
Re: Linux newb build question
« Reply #3 on: June 05, 2024, 05:52:31 PM »
My guess is that bitbake isn't in your PATH in SlickEdit for some reason. As an experiment, you could try replacing "bitbake" with the fully qualified path to it.

JimmieC

  • Senior Community Member
  • Posts: 501
  • Hero Points: 17
Re: Linux newb build question
« Reply #4 on: June 05, 2024, 06:04:05 PM »
I tried it with and without quotes. Still not good.

-e [SE pjt@idx-vm build]$ /home/pjt/slickedit-pro2023/bin/vsbuild -hidevep -signal 1vsbuild_done -commandfile "/tmp/slk.215500.20240605175510016.-14.cmf"
 
VSLICKERRORPATH=/home/pjt/idx-yocto-sumo/build
/home/pjt/idx-yocto-sumo/build/bitbake mqtt-device-mgr -c compile
/bin/bash: /home/pjt/idx-yocto-sumo/build/bitbake mqtt-device-mgr -c compile: No such file or directory
[SE pjt@idx-vm build]$