You are not logged in.

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

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

Unpacking .run file


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

Many thanks for your time.


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

From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,841

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 .

Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them


Board footer

Powered by FluxBB