• AVR Freaks

Hot!How to install Microchip XC8 compiler on OpenSuse leap 15.1 x64 follow up from "OpenSuse"

Author
ArakelTheDragon
New Member
  • Total Posts : 29
  • Reward points : 0
  • Joined: 2016/12/11 07:12:00
  • Location: 0
  • Status: offline
2019/12/07 00:32:31 (permalink)
0

How to install Microchip XC8 compiler on OpenSuse leap 15.1 x64 follow up from "OpenSuse"

Hi guys, you can find the "Linux OpenSuse discussion here".
 
End result of the "Linux OpenSuse discussion": Looks like there is something amiss with the way the run file was setup, suggest you contact Microchip direct and ask to check/fix.
#1

15 Replies Related Threads

    du00000001
    Just Some Member
    • Total Posts : 3312
    • Reward points : 0
    • Joined: 2016/05/03 13:52:42
    • Location: Germany
    • Status: offline
    Re: How to install Microchip XC8 compiler on OpenSuse leap 15.1 x64 follow up from "OpenSu 2019/12/07 03:03:12 (permalink)
    0 (2)
    The problem seems to be on the chair.

    PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
    #2
    ArakelTheDragon
    New Member
    • Total Posts : 29
    • Reward points : 0
    • Joined: 2016/12/11 07:12:00
    • Location: 0
    • Status: offline
    Re: How to install Microchip XC8 compiler on OpenSuse leap 15.1 x64 follow up from "OpenSu 2019/12/07 03:05:33 (permalink)
    +1 (1)
    Hi du00000001,
     
    can you please explain?
    #3
    ric
    Super Member
    • Total Posts : 25146
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: How to install Microchip XC8 compiler on OpenSuse leap 15.1 x64 follow up from "OpenSu 2019/12/07 03:11:35 (permalink)
    +1 (1)
    FYI, "posting on the Microchip forum" is not "asking Microchip".
    We are just other users here, you are not talking to the Microchip company.
    To "ask Microchip", you need to open a support ticket at http://support.microchip.com

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #4
    du00000001
    Just Some Member
    • Total Posts : 3312
    • Reward points : 0
    • Joined: 2016/05/03 13:52:42
    • Location: Germany
    • Status: offline
    Re: How to install Microchip XC8 compiler on OpenSuse leap 15.1 x64 follow up from "OpenSu 2019/12/07 03:20:41 (permalink)
    +1 (1)
    Could it be you didn't download the run file at all?
    To another directory?
    Other name?
    ???
    Following the installation process by the letter might help.
    See:  https://microchipdeveloper.com/xc8:installation
     
    N.b.: if the downloaded script isn't found, that's hardly Microchip's fault. Way more likely that you made some fault during download. Does chmod throw an error when the file to chmod doesn't exist at all?

    PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
    #5
    ArakelTheDragon
    New Member
    • Total Posts : 29
    • Reward points : 0
    • Joined: 2016/12/11 07:12:00
    • Location: 0
    • Status: offline
    Re: How to install Microchip XC8 compiler on OpenSuse leap 15.1 x64 follow up from "OpenSu 2019/12/07 11:55:05 (permalink)
    0
    Thanks for the replies,
     
    @ric,
    I understand, I will open a support ticket later if necessary. But if someone has met the problem please give a solution. Its very unlikely that this is a new bug that no one has met before.
     
    @du00000001,
    I downloaded the file, tried with the original name, renamed it to "xc.run" just in case the problem was the name. I tried with and without "init 3" and every other option. I tried moving it to desktop, downloads, public folders. The file is "279.9 MiB (293,468,315)" bytes. Folders tried: "/home/user/Desktop/Microchip_XC8", "/home/user/Downloads/", "/home/user/Public/".
     
    The other folders require super user acces and I did not use them. On 'Ubuntu" it works. On "OpenSuse" no.
    #6
    ArakelTheDragon
    New Member
    • Total Posts : 29
    • Reward points : 0
    • Joined: 2016/12/11 07:12:00
    • Location: 0
    • Status: offline
    Re: How to install Microchip XC8 compiler on OpenSuse leap 15.1 x64 follow up from "OpenSu 2019/12/07 12:00:26 (permalink)
    0
    I can sucessfully set the file as an executable from the terminal and set the permissions to 700, 755 and 777 from the terminal.
    #7
    du00000001
    Just Some Member
    • Total Posts : 3312
    • Reward points : 0
    • Joined: 2016/05/03 13:52:42
    • Location: Germany
    • Status: offline
    Re: How to install Microchip XC8 compiler on OpenSuse leap 15.1 x64 follow up from "OpenSu 2019/12/07 15:01:50 (permalink)
    0
    Whatever init, did you try to start xc.run as user or as root ?

    PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
    #8
    ArakelTheDragon
    New Member
    • Total Posts : 29
    • Reward points : 0
    • Joined: 2016/12/11 07:12:00
    • Location: 0
    • Status: offline
    Re: How to install Microchip XC8 compiler on OpenSuse leap 15.1 x64 follow up from "OpenSu 2019/12/07 15:22:56 (permalink)
    0
    Yes, like I wrote in the previous post:
    sudo ./xc.run
    I tried ./xc.run too.
    I tried all options.
    #9
    jtemples
    عُضْوٌ جَدِيد
    • Total Posts : 11506
    • Reward points : 0
    • Joined: 2004/02/13 12:31:19
    • Location: Southern California
    • Status: offline
    Re: How to install Microchip XC8 compiler on OpenSuse leap 15.1 x64 follow up from "OpenSu 2019/12/08 01:16:30 (permalink)
    +2 (2)
    You need to install the 32-bit libraries first.
     
    zypper in compat-32bit libX11-6-32bit libX11-devel-32bit gcc-32bit libexpat1-32bit libXext6-32bit
    #10
    ArakelTheDragon
    New Member
    • Total Posts : 29
    • Reward points : 0
    • Joined: 2016/12/11 07:12:00
    • Location: 0
    • Status: offline
    Re: How to install Microchip XC8 compiler on OpenSuse leap 15.1 x64 follow up from "OpenSu 2019/12/10 12:20:08 (permalink)
    0
    Hi @jtemples.
     
    this seems to be the problem, now the installation starts, but I can not see if the compiler is installed and I can not use it from the terminal.
     
    During the installation it finishes with an error, when I try to repeat the installation, I get:
    No provider of 'compat-32bit' found
    #11
    jtemples
    عُضْوٌ جَدِيد
    • Total Posts : 11506
    • Reward points : 0
    • Joined: 2004/02/13 12:31:19
    • Location: Southern California
    • Status: offline
    Re: How to install Microchip XC8 compiler on OpenSuse leap 15.1 x64 follow up from "OpenSu 2019/12/10 12:40:29 (permalink)
    +3 (3)
    it finishes with an error


    What error?  It works fine for me:
    $ /opt/microchip/xc8/v2.10/bin/xc8

    /opt/microchip/xc8/v2.10/pic/bin/picc
    Microchip MPLAB XC8 C Compiler V2.10
    Build date: Jul 30 2019
    Part Support Version: 2.10
    Copyright (C) 2019 Microchip Technology Inc.

     
    $ cat /usr/lib/os-release

    NAME="openSUSE Leap"
    VERSION="15.1"
    ID="opensuse-leap"
    ID_LIKE="suse opensuse"
    VERSION_ID="15.1"

     
    #12
    ArakelTheDragon
    New Member
    • Total Posts : 29
    • Reward points : 0
    • Joined: 2016/12/11 07:12:00
    • Location: 0
    • Status: offline
    Re: How to install Microchip XC8 compiler on OpenSuse leap 15.1 x64 follow up from "OpenSu 2019/12/11 00:22:50 (permalink)
    0
    Thanks for the fast reply. I upload screenshots.

    Attached Image(s)

    #13
    jtemples
    عُضْوٌ جَدِيد
    • Total Posts : 11506
    • Reward points : 0
    • Joined: 2004/02/13 12:31:19
    • Location: Southern California
    • Status: offline
    Re: How to install Microchip XC8 compiler on OpenSuse leap 15.1 x64 follow up from "OpenSu 2019/12/11 12:27:01 (permalink)
    +2 (2)
    I wouldn't expect xc8 to be on your path after installation.  Try
     
    /opt/microchip/xc8/v2.10/bin/xc8
    #14
    ArakelTheDragon
    New Member
    • Total Posts : 29
    • Reward points : 0
    • Joined: 2016/12/11 07:12:00
    • Location: 0
    • Status: offline
    Re: How to install Microchip XC8 compiler on OpenSuse leap 15.1 x64 follow up from "OpenSu 2019/12/12 08:41:51 (permalink)
    0
    Yes, like this it works. Thank you very much for the help!
     
    As for whom ever down-voted these answers, he is just a hater who can not solve the problem and hates those who can!
    #15
    jtemples
    عُضْوٌ جَدِيد
    • Total Posts : 11506
    • Reward points : 0
    • Joined: 2004/02/13 12:31:19
    • Location: Southern California
    • Status: offline
    Re: How to install Microchip XC8 compiler on OpenSuse leap 15.1 x64 follow up from "OpenSu 2019/12/12 10:37:37 (permalink)
    +2 (2)
    I don't see any down votes?
    #16
    Jump to:
    © 2020 APG vNext Commercial Version 4.5