Welcome, Guest
Username: Password: Remember me

TOPIC: Unknow operating system

Unknow operating system 4 years 7 months ago #10355

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
Hi Claes,

I doublechecked the configuration and the OS is correctly set to custom build.
In the buildoption object SO is set to linux_on_arm and the volume attribute itself is set to custombuild.

I now installed the additionnal proviewpi package on my development station but issue remained.

On the other side my installation looks strange as I can't "sdf" into my project
pwrp@pwr56dev:~$ sdf rpi

Command 'sdf' not found, but can be installed with:

sudo apt install sdf

Looking at other required files reveals the following:
pwrp@pwr56dev:~$ sudo find / -name custom_build.sh
[sudo] password for pwrp: 
/usr/local/pwrp/rpihomeautom/bld/x86_64_linux/exe/custom_build.sh
find: ‘/run/user/1000/gvfs’: Permission denied
pwrp@pwr56dev:~$ sudo find / -name wb_gcg.sh
/usr/pwr56/os_linux/hw_x86_64/exp/exe/wb_gcg.sh
find: ‘/run/user/1000/gvfs’: Permission denied
pwrp@pwr56dev:~$ tail -n5 /usr/local/pwrp/rpihomeautom/bld/x86_64_linux/exe/custom_build.sh
export pwrp_lib=$pwrp_root/bld/x86_64/lib
export pwrp_lis=$pwrp_root/bld/x86_64/lis
export pwrp_exe=$pwrp_root/bld/x86_64/exe

$pwrb_root/os_linux/hw_arm/exp/exe/wb_gcg.sh "$1" "$2" "$3" "$OpSys_ARM_LINUX" "$5" "$6" "$7" "$8"
I have only one wb_gcg.sh file and no hw_arm directory

When is this directory supposed to be created? during the main installation package ? or the rpi additionnal package ?

Sorry for stupid installation question
Snarf
The administrator has disabled public write access.

Unknow operating system 4 years 7 months ago #10356

  • claes
  • claes's Avatar
  • NOW ONLINE
  • Platinum Boarder
  • Posts: 3178
  • Thank you received: 502
  • Karma: 133
$pwrb_root/os_linux/hw_arm is created when the pwrrpi package is installed.
pwrrpi should not tamper with the setup at login, while the pwrrt does. You didn't mix them up?

/Claes
The administrator has disabled public write access.

Unknow operating system 4 years 7 months ago #10360

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
Hello Claes,

I listed my installed package on development station using dpkg-query and found the following package installed as expected:
- pwr56_5.6.1-1_amd64
- pwrppi56_5.6.1-1_amd64

searching for pwrrt_5.6.1.-1_amd64 returns no matches.

I will try to restart an install from scratch just in case as I don't understand what could have gone wrong

Snarf
The administrator has disabled public write access.

Unknow operating system 4 years 7 months ago #10365

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
Hi Claes,
Very strange IMO.
I created a brand new virtual machine to test.
Here is what I did:

I downloaded ubuntu 18.04 x64 and installed it
sudo apt-get update && sudo apt-get upgrade
I downloaded proview pwr56_5.6.1-1_amd64.deb
sudo dpkg -i pwr56_5.6.1-1_amd64.deb
sudo apt-get install -f
reboot
A pop up complain about /usr/lib/jvm not being found and potential upcoming issue.
I open a terminal and install openjdk-11-jre package

I Opened proview and created a new project named jarvis
closed proview and opened terminal

sdf jarvis ==> command 'sdf' not found, but can be installed with:
sudo apt-get install sdf


What do you think ?

Snarf
The administrator has disabled public write access.

Unknow operating system 4 years 7 months ago #10366

  • marc
  • marc's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 710
  • Thank you received: 70
  • Karma: 24
Hi Snarf,

The "sdf" in the debian repetoire is not what you need.
Don't install it.

Try this:

$ export pwra_db=/usr/pwrp/adm/db
$ source $pwra_db/pwr_setup.sh

$ sdf "projectname"

/Marc
Please, use the Wiki if you succeeded your project or solved your problem. Share your work, so we can learn from each other.
The administrator has disabled public write access.

Unknow operating system 4 years 7 months ago #10367

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
Hi Marc,
Yes I know this is not what I need.
My question is why after a fresh install and reboot the sdf alias is not working ?
pwra_db is already exported correctly but pwr_setup.sh is not sourced. (sdf is of course working after that)
Where and when should this be sourced for my user ? I don't remember having included this in any bash_profile or equivalent in previous versino of proview but perhaps my memory go crazy

Snarf
The administrator has disabled public write access.
Time to create page: 9.023 seconds