du -a . | sort -n -r | head -n 10
# kill -STOP 945
# kill -CONT 945
cd /opt/exp_soft/ilcs/LOCAL_LLR/auxsw/mysql/
mysqld_safe &
mysqladmin -u root -p shutdown
update databases_tbl set srvname='localhost' where db_id=1;
sudo apt-get update
sudo apt-get install xorg xterm gdm icewm menu firefox --no-install-reommends
sudo service gdm start
Here is a working recipe to build the rpm packages:
Download the src.rpm file: https://kojipkgs.fedoraproject.org//packages/cernlib/2006/35.fc14/src/cernlib-2006-35.fc14.src.rpm
Install it (as normal user):
rpm -ivh cernlib-2006-35.fc14.src.rpm
locate the cernlib.spec file
Add the following line before the %build line
sed -i 's|printf (flis_name|printf ( "\%s",flis_name|' src/packlib/kuip/code_kuip/kmenu.c
build (as normal user):
rpmbuild -ba cernlib.spec
(if rpmbuild complains about missing packages, install them)
The building stops "forever" while running an executable called "exam1"; kill it.
(Quite dirty trick, indeed)
I tested that the procedure give rise to the requird rpm packages:
Wrote: /home/bruno/rpmbuild/SRPMS/cernlib-2006-35.fc21.src.rpm
Wrote: /home/bruno/rpmbuild/RPMS/x86_64/cernlib-2006-35.fc21.x86_64.rpm
Wrote: /home/bruno/rpmbuild/RPMS/x86_64/cernlib-devel-2006-35.fc21.x86_64.rpm
Wrote: /home/bruno/rpmbuild/RPMS/x86_64/cernlib-static-2006-35.fc21.x86_64.rpm
Wrote: /home/bruno/rpmbuild/RPMS/x86_64/cernlib-utils-2006-35.fc21.x86_64.rpm
Wrote: /home/bruno/rpmbuild/RPMS/x86_64/geant321-2006-35.fc21.x86_64.rpm
Wrote: /home/bruno/rpmbuild/RPMS/x86_64/kuipc-2006-35.fc21.x86_64.rpm
Wrote: /home/bruno/rpmbuild/RPMS/x86_64/paw-gfortran-2006-35.fc21.x86_64.rpm
Wrote: /home/bruno/rpmbuild/RPMS/x86_64/cernlib-packlib-gfortran-2006-35.fc21.x86_64.rpm
Wrote: /home/bruno/rpmbuild/RPMS/x86_64/patchy-gfortran-2006-35.fc21.x86_64.rpm