'PERSISTENT_DIR' or 'CACHE' variable

Home Forums General 'PERSISTENT_DIR' or 'CACHE' variable

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2650
    Rishi Kumar
    Participant

    Pl,

    I am new to this platform. kindly give me direction for solve folling problem.

    bitbake corecdp-base-image

    ERROR: Please set the ‘PERSISTENT_DIR’ or ‘CACHE’ variable.

    thanks in advance

    regards

    rishi

    #3452
    Jesse Gilles
    Blocked

    Check that you have write permissions and own the entire directory structure where you extracted corecdp. It is easiest if you extract corecdp under your home directory since you will automatically have the proper permissions.

    #3453
    Rishi Kumar
    Participant

    Thanks for reply.

    It has all permission. O/P of ls -l is below.

    drwxr-xr-x 7 rishi rishi 4096 2010-12-17 13:41 corecdp-1.1.1

    regards

    rishi

    #3454
    Jesse Gilles
    Blocked

    Not sure what the issue is, but it usually means the TMPDIR can’t be found or written to when you run bitbake.

    Things to review:

    * make sure corecdp is extracted in your home dir

    * you aren’t running anything as root

    * make sure you loaded the environment script when you were in the right directory

    * try removing your TMPDIR (rm -rf build/tmp)

    cd corecdp-1.1.1

    source env-oe.sh

    (run bitbake)

    #3455
    Rishi Kumar
    Participant

    Sir, I am in home directory only pl see below

    There is no tmp dir.

    “* make sure you loaded the environment script when you were in the right directory”

    how i can varify this?

    Pl note that I am working on Virtual Machine VM ware.

    rishi@ubuntu:~$ ls

    corecdp-1.1.1 Documents LICENSE Pictures Templates

    corecdp-1.1.1.tar.gz Downloads licenses Public Videos

    Desktop examples.desktop Music README

    rishi@ubuntu:~$ pwd

    /home/rishi

    regards

    rishi

    #3456
    Rishi Kumar
    Participant

    Bitbake is working but

    I am getting following warnnings is this ok?

    NOTE: Handling BitBake files: / (1267/7970) [15 %]<string>:8: DeprecationWarning: the sets module is deprecated

    NOTE: Handling BitBake files: – (1848/7970) [23 %]NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used

    NOTE: Handling BitBake files: (2134/7970) [26 %]NOTE: Angstrom DOES NOT support fso-apm because regular apmd is good enough

    NOTE: Handling BitBake files: (3169/7970) [39 %]NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4

    NOTE: Handling BitBake files: – (3703/7970) [46 %]NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4

    NOTE: Handling BitBake files: (4394/7970) [55 %]NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4

    NOTE: Handling BitBake files: (4440/7970) [55 %]^Z

    [1]+ Stopped bitbake corecdp-base-image

    #3457
    Jesse Gilles
    Blocked

    Yes, this is normal. If the build stops prematurely and emits errors, that is different.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.