[Noob] Trying to build RxTools

Discussion in '3DS - Flashcards & Custom Firmwares' started by Argentlan, Mar 8, 2016.

  1. Argentlan
    OP

    Argentlan GBAtemp Regular

    Member
    222
    39
    Oct 27, 2015
    Brazil
    rxTools Building Instructions
    i'm on Ubuntu 15.10 , I have devkitPRO and devkitARM, imagemagick 8:6.8.9.9-5ubuntu2 and python 2.7.10
    when I run make release in terminal it give me this

    fatal: Needed a single revision
    cp: impossible to obtain state "rxtools / source / lib / json / LICENSE": File or directory not found
    Makefile:80: recipe for target 'release-licenses' failed
    make: *** [release-licenses] Error 1

    What I have to do?
     
    Last edited by Argentlan, Mar 8, 2016
  2. valkaliban

    valkaliban Newbie

    Newcomer
    8
    0
    Sep 29, 2015
    United States
    json/jsmn belongs to a submodule.
    When you clone the repository make sure to use the recursive option '--recursive' so that it downloads all the submodules.

    For example:
    Code:
    git clone --recursive https://github.com/roxas75/rxTools.git . 
     
    Last edited by valkaliban, Mar 8, 2016
  3. Argentlan
    OP

    Argentlan GBAtemp Regular

    Member
    222
    39
    Oct 27, 2015
    Brazil
    Yes, I already done that
    Terminal Log
     
    Last edited by Argentlan, Mar 8, 2016
  4. valkaliban

    valkaliban Newbie

    Newcomer
    8
    0
    Sep 29, 2015
    United States
    This is creating a folder 'rxTools' and downloading the files into there.
    So if you do 'cd rxTools' then make it should work.
    I'm thinking you cloned twice? Once without recursive? And right now your still trying to make the one without the submodules.
     
  5. Argentlan
    OP

    Argentlan GBAtemp Regular

    Member
    222
    39
    Oct 27, 2015
    Brazil
    just for sure I deleted this rxTools folder and run again git clone --recursive https://github.com/roxas75/rxTools.git
    and tried to find this folder manually, there is no json folder in rxtools/source/lib

    argentlan@ubuntunote:~$ cd rxTools/rxtools/source/lib
    argentlan@ubuntunote:~/rxTools/rxtools/source/lib$ l
    cfg.c delay.s fs.c i2c.c lang.c media/ polarssl/
    crypto.c fatfs/ hid.c jsmn/ log.c ncch.c ui/

    Folder Print
     
    Last edited by Argentlan, Mar 8, 2016
  6. valkaliban

    valkaliban Newbie

    Newcomer
    8
    0
    Sep 29, 2015
    United States
    In your second log you posted, it's not giving you the json error. It says /jsmn/
    Edit:
    Did you try making it again?
     
    Last edited by valkaliban, Mar 8, 2016
  7. Argentlan
    OP

    Argentlan GBAtemp Regular

    Member
    222
    39
    Oct 27, 2015
    Brazil
    hmmm you are right, and there is a LICENSE file, I don't know why it can't find the file

    even from the root user don't is working
    root user log

    I don't know what is happening, AuReiNand for exemple, just tell me I need armips
    and when I run Make, I got a error
    AuReiNand error log
     
    Last edited by Argentlan, Mar 8, 2016
  8. Argentlan
    OP

    Argentlan GBAtemp Regular

    Member
    222
    39
    Oct 27, 2015
    Brazil
    up?
     
  9. 594rk

    594rk Member

    Newcomer
    21
    1
    Jul 29, 2009
    United States
    I'm not sure how you are cloning these master repositories but its wrong.
    Delete this folder "~/Downloads/rxTools-master/" it is the one you cloned wrong. Your "~/Downloads/rxTools/" is the correct one.
    Just call make from that rxTools folder
    Code:
    cd ~/Downloads/rxTools
    make
    Same thing happened on your AuReiNand clone. It has no submodules because --recursive wasnt used. Delete that AuReiNand-master folder.
    Code:
    cd ~/Downloads
    git clone --recursive https://github.com/AuroraWright/AuReiNand.git
    cd AuReiNand
    make
    
     
    Argentlan likes this.
  10. Argentlan
    OP

    Argentlan GBAtemp Regular

    Member
    222
    39
    Oct 27, 2015
    Brazil
    it worked! thanks a milion :)