Difference between revisions of "Gumstix BitBake onDAQ"

From New IAC Wiki
Jump to navigation Jump to search
Line 87: Line 87:
  
  
 +
=References=
  
 +
http://bitbake.berlios.de/manual/
  
 
[http://wiki.iac.isu.edu/index.php/Gumstix_Verdex#Installing_the_build_environment] [[Gumstix_Verdex#Installing_the_build_environment]]
 
[http://wiki.iac.isu.edu/index.php/Gumstix_Verdex#Installing_the_build_environment] [[Gumstix_Verdex#Installing_the_build_environment]]

Revision as of 16:45, 25 June 2010

errors encountered installing the crosscompiler on the DAQ machine

Note
It fails if there are any error messages so follow all the installation requests until it starts saying it is "Handling BitBake files"...
preferred version 2.5 of glibc not available (for item virtual/arm-angstrom-linux-gnueabi-libc-for-gcc)

You need to install Pysco

svn co http://codespeak.net/svn/psyco/dist/ psyco-dist


To install from the source, run the top-level installation script setup.py:

   python setup.py install

Warning, many Linux distributions (e.g. Debian) ship with an incomplete Python. You need to install the ``python-dev package for this to work.

As usual, other commands are available, e.g.

   python setup.py build_ext -i

will compile the C source and put the result directly into the py-support/ subdirectory (no administrator priviledge is required). After this step, the py-support/ directory is a complete package (exactly as found in the binary distributions) that you can rename to psyco and copy around.

OSError: [Errno 13] Permission denied: '/usr/share/sources'

as super user

[root@daq1 gumstix-oe]# mkdir /usr/share/sources [root@daq1 gumstix-oe]# chmod a+rw /usr/share/sources

zlib error

I got an error when bitbake tried to fetch zlib v 1.2.3. The zlib.net site only has 1.2.5 available.

I edited the file

gumstix-oe/org.openembedded.snapshot/packages/zlib/zlib_1.2.3.bb and changed the version to 1.2.5 in the directory

changed

SRC_URI = "http://www.zlib.net/zlib-1.2.3.tar.bz2 \
                file://visibility.patch;patch=1 \
                file://autotools.patch;patch=1 "

to

SRC_URI = "http://sourceforge.net/projects/libpng/files/zlib/1.2.3/zlib-1.2.3.tar.bz2 \
                file://visibility.patch;patch=1 \
                file://autotools.patch;patch=1 "

I had to re-download the software

edit

/gumstix/gumstix-oe/org.openembedded.snapshot/conf/checksums.ini

and remove zlib1.2.3 checksum checking

Jlab install

The computer

cdaq@cdaql3.jlab.org

has a "/net" disk which is only writable from that computer and readable from all the other DAQ machines.

Use the above machine to install software which will not be changing much

Install pyro

on cdaql3 I loaded the source under the subdirectory

/net/cdaqfs/apps/local/build/psyco-dist


Install cross compiler

The cross compiler infrastructure is stored at

/net/cdaqfs/apps/local/RHEL5/src/gumstix


Install cMsg

The gumstix cMsg source code is located at


References

http://bitbake.berlios.de/manual/

[1] Gumstix_Verdex#Installing_the_build_environment