+ Reply to Thread
Results 1 to 4 of 4

Thread: How do I build kits?

  1. #1
    simonyanix is offline Junior Member
    Join Date
    April 18th, 2008
    Location
    Beijing, China
    Posts
    7
    Downloads
    0
    Uploads
    0

    Default How do I build kits?

    Hi, I've checked out a copy of kusu-kits and was struggling building it/them.

    when I try to make from kusu_kits root directory, I alway get the following errors, any suggestion?

    Code:
    [root@bp860 kits]# make
    ### Creating kit iso for cacti kit..... ###
    make -C /root/simony/kusu_kits/kits/cacti/ iso
    make[1]: Entering directory `/root/simony/kusu_kits/kits/cacti/trunk'
    sed: read error on packages/kit-cacti/: Is a directory
    make[1]: *** [kitinfo] Error 4
    make[1]: Leaving directory `/root/simony/kusu_kits/kits/cacti/trunk'
    make: *** [/root/simony/kusu_kits/kits/cacti/] Error 2
    
    Even building a specific kit won't work:
    Code:
    [root@bp860 kits]# make iso KIT=ganglia
    ### Creating kit iso for ganglia kit..... ###
    make -C /root/simony/kusu_kits/kits/ganglia iso
    make[1]: Entering directory `/root/simony/kusu_kits/kits/ganglia/trunk'
    sed: read error on packages//: Is a directory
    make[1]: *** [kitinfo] Error 4
    make[1]: Leaving directory `/root/simony/kusu_kits/kits/ganglia/trunk'
    make: *** [/root/simony/kusu_kits/kits/ganglia] Error 2
    [root@bp860 kits]#
    
    I reject your reality and substitute of my own!

  2. #2
    ltsai is offline Project Moderator
    Join Date
    March 4th, 2008
    Posts
    61
    Blog Entries
    3
    Downloads
    3
    Uploads
    0

    Default

    Where are the kits checkout from?

    -Liming

  3. #3
    simonyanix is offline Junior Member
    Join Date
    April 18th, 2008
    Location
    Beijing, China
    Posts
    7
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by ltsai View Post
    Where are the kits checkout from?

    -Liming
    Code:
    [root@bp860 kusu_kits]# svn info
    Path: .
    URL: http://svn.osgdc.org/kits-repo
    Repository Root: http://svn.osgdc.org/kits-repo
    Repository UUID: 69e9cef1-a858-0410-896b-dfe2383214dc
    Revision: 177
    Node Kind: directory
    Schedule: normal
    Last Changed Author: ltsai
    Last Changed Rev: 177
    Last Changed Date: 2009-04-15 17:36:01 +0000 (Wed, 15 Apr 2009)
    
    I may found where the problem is. If I try to make it this way:
    Code:
    [root@bp860 kits]# pwd
    /root/simony/kusu_kits/kits
    [root@bp860 kits]# make iso KUSU_BUILD_DIST=rhel KUSU_BUILD_DISTVER=5 KUSU_BUILD_ARCH=x86_64
    
    Then I will be able to starting building process. (Hmm, I do have some dependency errors but at least the building process started.) My guess is it seems the Makefile didn't recognize my OS automatically. Thus the KUSU_BUILD_DIST, KUSU_BUILD_DISTVER and KUSU_BUILD_ARCH was not set properly.
    I reject your reality and substitute of my own!

  4. #4
    ltsai is offline Project Moderator
    Join Date
    March 4th, 2008
    Posts
    61
    Blog Entries
    3
    Downloads
    3
    Uploads
    0

    Default

    Hi

    That is correct.

    -Liming

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts