You are not logged in.

#1 2020-02-24 11:32:36

ChaManO
Member
From: Pozuelo de Alarcón
Registered: 2015-09-22
Posts: 29

Unpacking .run file

Hello,

I'm writing a PKGBUILD to install Microchip's XC16 C Compiler. The software is distributed in a .run file, and my problem is that it's hardwired to create the /opt/microchip/xclm directory and installing there. The .run file ignores the --prefix argument.

I was wondering if there is a clever way of tricking the installer into unpacking itself into a directory of my choice, so that I can then install the files manually into a standard directory.

The file in question comes from https://www.microchip.com/mplabxc16linux

Many thanks for your time.

Offline

#2 2020-02-24 13:29:28

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,925

Re: Unpacking .run file

I'm not certain if it ignores that setting, but the installer does expect to be run with root rights.
For testing I gave it write rights on /opt/microchip folder, but that's not enough.

Fortunately others have already found  a solution .
Search AUR for microchip or mplab .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB