[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AG-TECH] Building Snapshot for Suse 9.3 x86_64



Hi Jeremy,

I've followed the instructions from Vislab regarding building for SuSE
64bit. However, I've come across a snag with the build process. I get an
error when its trying to make the RPM for the AG release. I think it has
to do with the python2.4 modules being built in lib64 instead of lib:

+ mv share usr/share
+ mv lib64 usr/lib64
+ mv 'lib/python2.4/site-packages/*' usr/lib64/python2.4/site-packages
mv: cannot stat `lib/python2.4/site-packages/*': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.9950 (%install)
You might also want to capture the output of the BuildSnapshot.py commad-line to see if there were any build errors before it reached the rpmbuild stage (the BuildSnapshot.py script often continues if there are errors).

I'm not too familiar with RPM building, so I don't know how to fix this
error. Thanks for any help.
Try:
cd /sandbox/agtk/AccessGrid/packaging/linux/suse

Then comment out the following line in AccessGrid.spec:
mv lib/python%{pyver}/site-packages/* usr/lib64/python%{pyver}/site-packages
you could put a '#' at the beginning of the line to comment it out.

Issue the following:
rpmbuild --rebuild AccessGrid.spec

Then send me the error message if it complains about unpackaged files and the output of:
tar tvzf /usr/src/packages/SOURCES/AccessGrid-2.4-1.tar.gz


Cheers,
Doug