Home > python > How do I install kbuild?

How do I install kbuild?

August 8Hits:1
Advertisement

How do I run/install this: https://github.com/kevmoo/kbuild?

I installed the dependencies and tried to execute the bin/kbuild Python script, but it's giving me this error:

Traceback (most recent call last):   File "kbuild/bin/kbuild", line 12, in <module>     BREW_PREFIX = subprocess.check_output(['brew', '--prefix']).strip()   File "/usr/lib/python2.7/subprocess.py", line 537, in check_output     process = Popen(stdout=PIPE, *popenargs, **kwargs)   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__     errread, errwrite)   File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child     raise child_exception OSError: [Errno 2] No such file or directory 

My guess is that this tool was intended for OSX and Homebrew and that's why it's choking. I just wasn't sure based on the minimalist installation instructions.

Answers

Looking at the kbuild script it does appear to be OS X & brew specific.

excerpt from script

...
BREW_PREFIX = subprocess.check_output(['brew', '--prefix']).strip()
compiler_search_path = path.join(BREW_PREFIX, 'Cellar/closure-compiler', '*', 'libexec/build/compiler.jar')
compilers = glob.glob(compiler_search_path)
...

The homebrew directory on github would seem to lead credence to this too:

If you'd like to install kbuild via Homebrew:

brew install https://raw.github.com/kevmoo/homebrew-kevmoo/master/kbuild.rb

or

brew tap brew tap kevmoo/kevmoo brew install kbuild

Tags:python

Related Articles

  • How do I install kbuild?August 8

    How do I run/install this: https://github.com/kevmoo/kbuild? I installed the dependencies and tried to execute the bin/kbuild Python script, but it's giving me this error: Traceback (most recent call last): File "kbuild/bin/kbuild", line 12, in

  • How can I install a realtime kernel?October 27

    I have read a lot of threads with similar questions, but after reading the answers, I am very confused. I have found in them lots of url's with repositories but people discusses about which repositories are made for one or two versions of ubuntu, but

  • How install RealTime kernel version 3.12? October 27

    I have read a lot of threads with similar questions, but after reading the answers, I am very confused. I have found in them lots of url's with repositories but people discusses about which repositories are made for one or two versions of ubuntu, but

  • How to install real time patch (14.04) October 27

    I have read a lot of threads with similar questions, but after reading the answers, I am very confused. I have found in them lots of url's with repositories but people discusses about which repositories are made for one or two versions of ubuntu, but

  • dev driver install with linux kernel 3.0 failsNovember 21

    I tried install dev driver nvidia (ubuntu 11.10) my /var/log/nvidia-installer.log: http://pastebin.com/UPZsG4au How to solve this problem? nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Mon Nov 21 12:42:03 2011 installer ver

  • How to get a list of installed external kernel modules?January 26

    From the documentation of Linux kernel 3.2 (Documentation/kbuild/modules.txt) === 5. Module Installation Modules which are included in the kernel are installed in the directory: /lib/modules/$(KERNELRELEASE)/kernel/ And external modules are installed

  • Problems installing NForce4 sound drivers

    Problems installing NForce4 sound driversSeptember 26

    I'm trying to install Nvidia's Nforce4 sound drivers on my Debian sarge amd64, but i keep having a problem with nvidia's installer (some snipping done for size limits): option status: /proc/version is Linux version 2.6.16.1 ([email protected]) (gcc versi

  • Nvidia driver 12.10 failed to install -xubuntu 12.10November 13

    Hi I'm trying to install Nvidia driver for a NV6 vanta with the script from Nvidia located here (http://www.nvidia.com/object/linux-display-ia32-71.86.15-driver.html). I've edited the blacklist file as well as purged previous Nvidia install. I did ru

  • How to install bug fixes for nvidia in kernel 3.7.9?

    How to install bug fixes for nvidia in kernel 3.7.9?February 27

    I am using Kernel 3.7.9 in Ubuntu 12.04. I currently can not build the Nvidia packages for Bumblebee. There is a bugfix available, but I have no clue how to use it. The instructions are: [Impact] Nvidia and fglrx drivers need to be updated in order t

  • Installing ndiswrapper-dkms on ubuntu 12.04November 28

    Every time I try to install ndiswrapper-dkms, I get a crash report saying, Title: "ndiswrapper-dkms 1.57-1ubuntu1: ndiswrapper kernel module failed to build" DKMSBuildLog: "DKMS make.log for ndiswrapper-1.57 for kernel 3.8.0-33-generic (x86

  • Installing Nvidia drivers with pkg1.run ends with "no Version.h found"January 25

    I have read a lot and tried a lot - nothing worked for me. I have a Dell Inspiron 8200 (1600x1200) with a Geforce MX440 Mobile. Installing the driver the "easy way" (sudo apt-get install nvidia-current) leaves me stuck with a tiny non-changeable

  • Error while installing wireless-bcm43142-dkms-6.20.55.19: dependency linux-headers is not satisfiableMay 14

    I have to install a .deb file with the firmware for the wifi card (This is the name of the file: wireless-bcm43142-dkms-6.20.55.19_amd64.deb; I've downloaded the file from here: http://www.filewatcher.com/m/wireless-bcm43142-dkms_6.20.55.19-1_amd64.d

  • how to install 'version.h' in ubuntu ?May 29

    Just now , I try to install the Jungo WinDriver in the Ubuntu 13.10 . But I am puzzled by the its manual of how to Install version.h : Install version.h: The file version.h is created when you first compile the Linux kernel source code. Some distribu

  • Install Lotus Domino on CentosFebruary 3

    I'm trying to install a trial version of Lotus Domino (from this official download page) on a Centos machine. I'm following this instruction page to install Lotus Domino. But when I'm trying to launch the server I got those errors: # /opt/ibm/domino/

  • Debian 8 VirtualBox / DKMS install problemNovember 24

    I'm trying to install virtual box using the method on wiki.debian.org and I'm encountering problems. When I execute # apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') virtualbox I get the following: Reading package lists... Done Build

  • Installing New MySQL AdminMarch 4

    The new [URL=http://www.sitepoint.com/blog-post-view.php?id=151673]MySQL Administrator[/URL] is looking to be more robust and very enterprise friendly with its tools for managing multiple database servers, replication and disaster recovery tools. Get

  • Finding Installed Perl ModulesSeptember 2

    In working with numerous servers, some my own and many under client ownership, I bump into interesting issues to tackle (yep, this is obvious I know, we all do!). As most of us do now when stumped, a first resort is to Google the problem and see who

  • Install And Configure ColdFusion MX 6.1 on Windows

    Install And Configure ColdFusion MX 6.1 on WindowsSeptember 21

    I've made the case for ColdFusion, but you still need to know how to install it! In this tutorial, I'll show you how to install ColdFusion 6.1 on a Windows machine, and walk you through the basic set up process. If you're not running Windows, don't w

  • Opening Explorer shell with admin privileges on XP (with IE7 installed)

    Opening Explorer shell with admin privileges on XP (with IE7 installed)August 17

    I used to demote my user account so that it had no admin priveleges and used a 'sudo-like' trick where you create a shortcut to IE6 and enabled the 'Run with different credentials' option to open a shell window as local admin so I could install and u

  • Installing a specific package version with yumSeptember 23

    I have a Fedora system with Postgres version 8.3 and I want to downgrade to 8.2 because of a compatibility issue. I've been using yum for everything, but it's my first time with this package manager, and I don't know how to downgrade things. So how d

Copyright (C) 2018 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.408 s.