Gumstix BitBake onDAQ
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.
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
install CGI
Use bitbake to install libcgicc
bitbake libcgicc