Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Version 5.9 From Source Questions

Version 5.9 From Source Questions 2 years 5 months ago #11273

  • sdockter
  • sdockter's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 32
  • Thank you received: 1
  • Karma: 0
I downloaded the source code for ProviewR V5.9 and used the "Easy way" to build it. I was going through the log file and saw a command not found error:
/home/pwrp/pwrsrc_5.9.0-1/src/tools/pwre/src/pwre_merge.sh: line 119: co_merge: command not found

Later in the log file it shows co_merge being compiled. Is there a way to compile co_merge before using it in pwre_merge?
The administrator has disabled public write access.

Version 5.9 From Source Questions 2 years 5 months ago #11275

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3178
  • Thank you received: 502
  • Karma: 133
co_merge is built early in the sequence but I guess the build didn't succeed because of some missing library. Here are the required packages for Ubuntu
apt-get install -y libgtk2.0-dev doxygen gcc g++ make libasound2-dev \
	libdb5.3-dev libdb5.3++-dev openjdk-11-jdk libmariadb-dev \
	libsqlite3-dev libhdf5-openmpi-dev librabbitmq-dev libmosquitto-dev libusb-1.0.0-dev \
	librsvg2-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libpython3-dev \
	python3 libcap-dev xfonts-100dpi

/Claes
The administrator has disabled public write access.

Version 5.9 From Source Questions 2 years 5 months ago #11276

  • sdockter
  • sdockter's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 32
  • Thank you received: 1
  • Karma: 0
I checked the packages, and had to add a couple that were missing. I then ran the build.sh script, but still have the same command not found error. The entire build doesn't fail, just the pwre_merge.sh script, or maybe part of it?

Later in the build.log file it shows co_merge being compiled. It looks like pwre_merge needs to be ran after co_merge is built, but it's not.

I also looked at the build.log file for our V5.5 build, and it also has the same problem.
The administrator has disabled public write access.

Version 5.9 From Source Questions 2 years 5 months ago #11277

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3178
  • Thank you received: 502
  • Karma: 133
The same merge is done at a later stage so the missing merge will not affect the end result. If you wan't to fix it anyway you can edit src/tools/pwre/src/pwre.pl, subroutine build_kernel, and change the order of the two first modules (build rt before xtt).
_module("rt");
build_module("copy", $flavour);
merge()
_module("xtt");
...

/Claes
The administrator has disabled public write access.
The following user(s) said Thank You: sdockter

Version 5.9 From Source Questions 2 years 5 months ago #11278

  • sdockter
  • sdockter's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 32
  • Thank you received: 1
  • Karma: 0
Thanks, that worked!
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 9.042 seconds