FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 20
  1. #1
    Join Date
    May 2015
    Location
    Canada
    Posts
    8

    cernlib

    How to install "cernlib" on Fedora 21?

  2. #2
    Join Date
    Mar 2011
    Location
    /
    Posts
    5,102

    Re: cernlib

    Fedora 27 x86_64 XFCE - Sager | Intel Core i7 - 4810 MQ | NVIDIA GeForce GTX 860M | 16 GB RAM | 480 GB ADATA SSD |
    Fedora 27 x86_64 XFCE - Dell Precision M4800 | Intel Core i7 - 4900 MQ | NVIDIA Quadro K1100M | 16 GB RAM | 750 GB 7200 RPM HDD |


    The Linux Documentation Project | Fedora Documentation

  3. #3
    Join Date
    May 2015
    Location
    Canada
    Posts
    8

    Re: cernlib

    not very helpful

  4. #4
    Join Date
    Mar 2011
    Location
    /
    Posts
    5,102

    Re: cernlib

    Perhaps then you can post what you have tried and what error(s) you get, if any?
    Fedora 27 x86_64 XFCE - Sager | Intel Core i7 - 4810 MQ | NVIDIA GeForce GTX 860M | 16 GB RAM | 480 GB ADATA SSD |
    Fedora 27 x86_64 XFCE - Dell Precision M4800 | Intel Core i7 - 4900 MQ | NVIDIA Quadro K1100M | 16 GB RAM | 750 GB 7200 RPM HDD |


    The Linux Documentation Project | Fedora Documentation

  5. #5
    Join Date
    Jul 2005
    Location
    Roma
    Age
    75
    Posts
    210

    Re: cernlib

    First of all, notice the the CERN library is no more supported.

    Here is a working recipe to build the rpm packages:

    Download the src.rpm file:
    https://kojipkgs.fedoraproject.org//...5.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

    Obviously, the packages are not guaranteed to work properly.
    Bruno Taglienti

  6. #6
    Join Date
    May 2015
    Location
    Canada
    Posts
    8

    Re: cernlib

    Thank you, I am getting the following build errors

    RPM build errors:
    bogus date in %changelog: Tue Apr 13 2006 Patrice Dumas <pertusus at free.fr> - 2005-19
    bogus date in %changelog: Tue Apr 13 2006 Patrice Dumas <pertusus at free.fr> - 2005-17
    bogus date in %changelog: Tue Jun 09 2005 Patrice Dumas <pertusus at free.fr> - 2005-1
    Bad exit status from /var/tmp/rpm-tmp.5eTiWc (%build)

  7. #7
    Join Date
    May 2015
    Location
    Canada
    Posts
    8

    Re: cernlib

    Quote Originally Posted by nonamedotc
    Perhaps then you can post what you have tried and what error(s) you get, if any?

    I followed the instructions on this website - http://www-zeuthen.desy.de/linear_co...nlib_2005.html, but it gets stuck on installing the old patchy 4 executables, nothing happens it just pauses there for hours

  8. #8
    Join Date
    Jul 2005
    Location
    Roma
    Age
    75
    Posts
    210

    Re: cernlib

    Quote Originally Posted by hkstegen
    Thank you, I am getting the following build errors

    RPM build errors:
    bogus date in %changelog: Tue Apr 13 2006 Patrice Dumas <pertusus at free.fr> - 2005-19
    bogus date in %changelog: Tue Apr 13 2006 Patrice Dumas <pertusus at free.fr> - 2005-17
    bogus date in %changelog: Tue Jun 09 2005 Patrice Dumas <pertusus at free.fr> - 2005-1
    Bad exit status from /var/tmp/rpm-tmp.5eTiWc (%build)
    It is an inconsistency between the date and the day of week:
    Apr 13 2006 was Thu and not Tue
    Jun 09 2005 was Thu and not Tue
    Bruno Taglienti

  9. #9
    Join Date
    May 2015
    Location
    Canada
    Posts
    8

    Re: cernlib

    Quote Originally Posted by bruno.taglienti
    It is an inconsistency between the date and the day of week:
    Apr 13 2006 was Thu and not Tue
    Jun 09 2005 was Thu and not Tue
    I am now getting this error, thank you so much for your help!

    Bad exit status from /var/tmp/rpm-tmp.IgOLFE (%prep)

  10. #10
    Join Date
    Jul 2005
    Location
    Roma
    Age
    75
    Posts
    210

    Re: cernlib

    Try with cernlib.spec you find at the following link
    https://mega.co.nz/#!mdJWnKhB!x4ztXi...VIDDry5KVBKzZA
    It works for me.
    Bruno Taglienti

  11. #11
    Join Date
    May 2015
    Location
    Canada
    Posts
    8

    Re: cernlib

    Quote Originally Posted by bruno.taglienti
    Try with cernlib.spec you find at the following link
    https://mega.co.nz/#!mdJWnKhB!x4ztXi...VIDDry5KVBKzZA
    It works for me.
    Is it normal for it to take hours to build?

  12. #12
    Join Date
    Jul 2005
    Location
    Roma
    Age
    75
    Posts
    210

    Re: cernlib

    Consider what I called "dirty trick" in my 1st post:
    Code:
    The building stops "forever" while running an executable called "exam1"; kill it.
    (Quite dirty trick, indeed)
    Bruno Taglienti

  13. #13
    Join Date
    Nov 2006
    Location
    Detroit
    Posts
    6,669

    Re: cernlib

    You could just install the F14 cernlib RPMs from here: https://archives.fedoraproject.org/p...4/os/Packages/

    They still work for me in F21.
    OS: Fedora 27 x86_64 | Machine: HP Pavilion a6130n | CPU: AMD 64 X2 Dual-Core 5000+ 2.6GHz | RAM: 7GB PC5300 DDR2 | Disk: 400GB SATA | Video: ATI Radeon HD 4350 512MB | Sound: Realtek ALC888S | Ethernet: Realtek RTL8201N

  14. #14
    Join Date
    May 2015
    Location
    Canada
    Posts
    8

    Re: cernlib

    Quote Originally Posted by bruno.taglienti
    Consider what I called "dirty trick" in my 1st post:
    Code:
    The building stops "forever" while running an executable called "exam1"; kill it.
    (Quite dirty trick, indeed)
    Thank you! It is working now

  15. #15
    Join Date
    Jan 2010
    Posts
    2

    Re: cernlib

    Still works on Fedora 22!

Page 1 of 2 1 2 LastLast

Similar Threads

  1. cernlib installation problem
    By wellatiger in forum Using Fedora
    Replies: 7
    Last Post: 14th August 2012, 01:00 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •