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

TOPIC: Install libs and exes after compile??

Install libs and exes after compile?? 5 years 5 months ago #9877

  • barnes
  • barnes's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 92
  • Karma: 0
I have compiled proview using the make utility.

I moved the libs and exe files manually and everything seems to work with the new compiled code.

Is there a "make install" or something similar that copies the libraries and exe files to the proper location?
The administrator has disabled public write access.

Install libs and exes after compile?? 5 years 5 months ago #9879

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
No, there is no make install, but it's possible to build a debian package if you setup pwre and the build with 'pwre build tools/pkg deb' (or deb_x86_64, ubu or ubu_x86_64).

/Claes
The administrator has disabled public write access.

Install libs and exes after compile?? 5 years 5 months ago #9883

  • barnes
  • barnes's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 92
  • Karma: 0
Here is the simple script cpstuff I used on the development machine if anyone is interested. It copies the new compiled lib and exe files as needed in the location that works.
Please add to or correct as needed.

pwrp@dss01:~/src/pwrsrc_5.5.0-1/rls/os_linux/hw_x86_64/exp$ ls
cnf cpstuff db doc exe inc lib lis load obj src
pwrp@deb01:~/src/pwrsrc_5.5.0-1/rls/os_linux/hw_x86_64/exp$
pwrp@deb01:~/src/pwrsrc_5.5.0-1/rls/os_linux/hw_x86_64/exp$

pwrp@dss01:~/src/pwrsrc_5.5.0-1/rls/os_linux/hw_x86_64/exp$sudo ./cpstuff

pwrp@dss01:~/src/pwrsrc_5.5.0-1/rls/os_linux/hw_x86_64/exp$ more cpstuff

#! /bin/bash

cp -R -u -v exe /usr/pwr55/os_linux/hw_x86_64/exp
cp -R -u -v lib /usr/pwr55/os_linux/hw_x86_64/exp
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 7.981 seconds