[CMC-GUI] [DAILY] [PPA] Cyanogenmod Compiler Daily [Depreciated]

Status
Not open for further replies.
Search This thread

mborgues

Senior Member
Nov 11, 2010
76
9
Marília, SP
error

well it does tell you something, run it from the terminal and pastebin.com it and link me.



When i sync, in the sync.py is demonstrated this options:

- no device configurated (disabled) or repo script needs setup (disabled)
- open
- Close

But i'm configurating all options, device, branch, repo path, all...

in terminal when i run the cmcompiler that message is displayed:
python: can't open file 'chkPackages.py': [Errno 2] No such file or directory

no more messages is displayed.
 

lithid-cm

Inactive Recognized Developer
Jul 1, 2010
3,189
2,956
Cleveland
When i sync, in the sync.py is demonstrated this options:

- no device configurated (disabled) or repo script needs setup (disabled)
- open
- Close

But i'm configurating all options, device, branch, repo path, all...

in terminal when i run the cmcompiler that message is displayed:
python: can't open file 'chkPackages.py': [Errno 2] No such file or directory

no more messages is displayed.
How did you install this?

http://bazaar.launchpad.net/~long-jeremie/cmcompiler/trunk/files/head:/src/prog/
File is there. Sounds like an isolated issue.
 

BolecDST

Senior Member
May 4, 2009
294
38
Dublin
How do I get the tools needed to compile on ubuntu 32 bit? I tried pasting these texts

"git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush schedtool"

in terminal but it says that something is unrecognized or something like this. Also, how do I open the gui version? I only managed to open the terminal version. I don't know much about it. I installed ubuntu on my laptop just to try this out, because I want to cook a very light CM based rom for myself, stripped of almost everything possible.
 

lithid-cm

Inactive Recognized Developer
Jul 1, 2010
3,189
2,956
Cleveland
How do I get the tools needed to compile on ubuntu 32 bit? I tried pasting these texts

"git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush schedtool"

in terminal but it says that something is unrecognized or something like this. Also, how do I open the gui version? I only managed to open the terminal version. I don't know much about it. I installed ubuntu on my laptop just to try this out, because I want to cook a very light CM based rom for myself, stripped of almost everything possible.
Just follow the instructions on the OP, latest update will check the needed packages everytime you start and prompt you if you need anything.
 
  • Like
Reactions: BolecDST

BolecDST

Senior Member
May 4, 2009
294
38
Dublin
Seems like you're right. Now I run onto another problem. When I want to sync, it says I have no repo configured, even though I did copy yours, just like you recommended. Is there a way to reconfigure the repo now? Because it created a folder and I don't know whether I should delete it and start copying your git again or do something else.

I'd be really thankful for any tips.

edit: I did edit the thing like you said in post 944.
 

lithid-cm

Inactive Recognized Developer
Jul 1, 2010
3,189
2,956
Cleveland
Seems like you're right. Now I run onto another problem. When I want to sync, it says I have no repo configured, even though I did copy yours, just like you recommended. Is there a way to reconfigure the repo now? Because it created a folder and I don't know whether I should delete it and start copying your git again or do something else.

I'd be really thankful for any tips.

edit: I did edit the thing like you said in post 944.
Do you have the repo script installed?
 

mborgues

Senior Member
Nov 11, 2010
76
9
Marília, SP
There is an issue, I screwed it up. Worked fine on my dev server. O well.

Code:
gksu gedit /usr/share/cmcompiler/prog/cmcompiler.py
line 197 should read
Code:
cmd = "python /usr/share/cmcompiler/prog/chkPackages.py"

Thanks... now worked fine.

any new error, i post here...

---------- Post added at 07:05 PM ---------- Previous post was at 07:00 PM ----------

Thanks... now worked fine.

any new error, i post here...

when i sync:


Traceback (most recent call last):
File "/usr/share/cmcompiler/prog/sync.py", line 120, in <module>
sendNoti("Syncing Cyanogenmod", "Your cyanogenmod repo sync is starting", cmcIcon)
File "/usr/share/cmcompiler/prog/helper.py", line 54, in sendNoti
n.show()
glib.GError: Error calling StartServiceByName for org.freedesktop.Notifications: GDBus.Error:eek:rg.freedesktop.DBus.Error.Spawn.ChildExited: Process /bin/sh exited with status 1
 

IdeosDev

Retired Recognized Developer
Aug 23, 2011
1,368
4,137
I am new using this and i have setup latest but can i setup and compiler for my devices that not listed on the CMCompiler GUI
 

CheesyNutz

Senior Member
Oct 26, 2010
12,181
3,339
Springfield
sorry for the dumb questions but i would like to see the output lol i used the command cmc but all i get is

command not found ? im a total linux noob but im learning more
 

odysseus84

Senior Member
Dec 19, 2010
520
115
Solothurn
That error simple means there was an error while compiling. If you could, please run the cmcompiler from the terminal to catch any output from the compiling. This should indicate why its failing.

Here is the logic behind that error. Currently I have it set to run a simple shell script for compiling.

http://bazaar.launchpad.net/~long-jeremie/cmcompiler/trunk/view/head:/src/prog/scripts/build-it.sh

That script will check the exit status of the compile command. If that command comes back with anything other then 0 (meaning good), then it simply writes a file called build.failed in the .cmcompiler directory.

The compile function stops, then checks the directory for certain items.

http://bazaar.launchpad.net/~long-jeremie/cmcompiler/trunk/view/head:/src/prog/build.py

lines 47 - 54 are the list of errors that could come forward. You might have even seen some yourself. If your only getting the compile error, then your build is actually failing during the compile process and needs to be looked into.

Please gather the terminal output from running it via the terminal. Thanks!

Here it is...

Code:
Device Info: samsung/p5wifi ADB: Running
Please choose an option to continue (Y/n)
> y
/home/oliver/CMC/CMC/tools/f/compile_functions: Zeile 556: cd: None/vendor/cm: Datei oder Verzeichnis nicht gefunden
/home/oliver/CMC/CMC/tools/f/compile_functions: Zeile 557: ./get-prebuilts: Datei oder Verzeichnis nicht gefunden
/home/oliver/CMC/CMC/tools/f/compile_functions: Zeile 558: cd: None: Datei oder Verzeichnis nicht gefunden
/home/oliver/CMC/CMC/tools/f/compile_functions: Zeile 560: build/envsetup.sh: Datei oder Verzeichnis nicht gefunden
make: *** Keine Regel, um »installclean« zu erstellen.  Schluss.
/home/oliver/CMC/CMC/tools/f/compile_functions: Zeile 563: brunch: Kommando nicht gefunden.
There was an error while building.
Do you want to try again? (Y/n)> y




Edit: after i run the program in terminal, it sad i need one program more (don't know whitch)... now i can compile in gui version. 22min at the moment. I will report back if it fails... :)

PS: building in terminal still not possible.



Edit 2: it has worked :D thanks man...
 
Last edited:

CheesyNutz

Senior Member
Oct 26, 2010
12,181
3,339
Springfield
sorry for being a PITA ! my first sync here just wondering how long to avg sync takes ? im on a 30 meg line down with nothing else running
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 275
    Cyanogenmod Compiler (CMC) GUI
    Build cyanogenmod with a gui.

    1ZFWd.png


    Known issues:
    - Currently no multi-threading, which means when you press sync or compile, there is no loading bar (app looks like its failing, its not.). I am working on that.
    (If you want to watch the output of the sync or compile, just open a terminal and type "cmc", I log all to the system.)
    - When locking the CMCompiler to the unity launcher you have to logout and log back in refer: ubuntu bug 916098
    - Currently there isn't great error logic and dialogs to warn you about everything. Something that is still being working on. Just run from the terminal if you have an issue that you need to report.
    - Missing make clean and make installclean. These will be added in the future.

    Found bugs to fix v0.1:
    - No "/" at the end of custom repo string path.
    - Error checking for compile start


    *Please any issue that should arise, I apologize in advanced. Please let me know with as much detail as possible to replicate the issue and I will resolve it.

    Please read:
    I have thought maybe times different ways I was going to go about this. Ads, donate version, paid app, etc. I choose to keep the project open, as that's how I roll. I do ask that if you enjoy the application that you try to donate something. This was my first gui project and took a lot of time and effort to even get it to where it is right now. I hope everyone enjoys the app as much as I enjoy working on it.

    Install:
    Note: If you are using the old ppa then look at post # 2 on how to remove it before adding this.
    Code:
    sudo apt-add-repository ppa:lithid/ppa
    sudo apt-get update

    Install daily dev builds:

    Code:
    sudo apt-get install cmcompiler-daily

    Install beta builds:

    Note: Not yet available.
    Code:
     sudo apt-get install cmcompiler-beta
    Install stable builds:
    Note: Not yet available.
    Code:
     sudo apt-get install cmcompiler
    Note: You cannot have daily and stable at the same time. You can only use either or.

    Source code | Bugs | Answers
    Build info:
    daily-builds

    Enjoy some signatures from SavocaFTW:

    Cq1ed.jpg


    IjnVz.jpg


    121EB.jpg


    You can follow me on google+ I tend to talk about it a bit on there as well.
    68
    Cyanogenmod Compiler (CMCompiler) HALP!

    Error Codes:
    Error: Need to sync first - After choosing compile, the program didn't find the needed .repo folder in your repo path. This assumes you never ran sync, so you never downloaded the code. You could have also renamed the .repo folder to something else, which would cause this error as well.
    Error: device not found - Your device was not found in the repo, might be unsupported.
    Error: Adb isn't running - First time running compile, you will need to have your phone connected and ADB running in order to pull off needed files from your phone.
    Error: Extract-files came back False - This means a script called extract-files.sh failed to pull off those needed files from your phone.
    Error: Compile error please check - This indicates that your build failed. You will need to run cmcompiler via terminal to get why.
    Error: Repo Script needs setup - You don't have the repo script installed. Install it.
    Code:
    curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/repo
    chmod a+x ~/repo
    sudo mv ~/repo /usr/local/bin/repo
    Error: No device configured - Appears there is no device configured, just select one from the setup menu.

    Removing old ppa:
    Code:
    sudo apt-get remove cmcompiler-daily
    sudo apt-get install ppa-purge
    sudo ppa-purge ppa:long-jeremie/ppa
    About Cmcompiler CLI
    ** If you are still using the CLI version, I have not updated it in sometime. I might get back to that but for right now the gui is my main focus. Please understand. You could always clone and make edits to the CLI here
    9
    for anyone still following, some big things are about to happen to cmc.

    https://plus.google.com/photos/103024643047948973176/albums/5731412329610445089
    7
    I know I haven't been updating the github code in a few days but that is because I have been working on a pretty decent update.

    2in8t.png


    Instead of the one interface and items branched off, this will be one unified Cyanogenmod Compiler. Each page will explain what the option is that you are choosing. If there are commands, it will show you them, this new update will actually teach you how to compile a rom without a gui, just by following the steps. This isn't just a walk through. It will be just like the old "setup" dialog I had, except with more information. I really hope you guys will enjoy the new update coming in the next few days.

    Thank you.
    6
    I have released the Beta v0.1 of the CMC GUI. Please be gentle if you run into issues. Been trying very hard to test everything I can.

    Thanks!

    READ THE OP