Menu

Minor changes for Fedora Core 3

Developers
2005-04-04
2013-03-13
  • Tom Moertel

    Tom Moertel - 2005-04-04

    I was able to rebuild the xmlstarlet SRPM on Fedora Core 3 Linux by making a few simple changes. On FC3, libexslt depends on libgcrypt, which isn't included in the linking arguments. I made the following changes, which fixed the problem:

    1. Added a Build-Requires dependency on libgrcypt-devel.
    2. Patched configure.in to include -lgcrypt whenever libexslt was being linked.
    3. Changed the RPM spec to run autoconf before %configure so that the configure.in changes would end up in the configure script.

    That's it.

    You can download my modified version from here:

    http://community.moertel.com/rpms/fedora/3/SRPMS/xmlstarlet-1.0.1-2.tgm.src.rpm

    But I suspect that it would be better to add the dependency on libgcrypt in the mainsteam RPM release. Would that be possible?

    Cheers,
    Tom

     
    • Boris Folgmann

      Boris Folgmann - 2005-04-13

      Yes, please include it in the next release! I had the same problems, since I'm also using FC3.

       
    • Mikhail Grushinskiy

      I'll try to include it into the next release.
      Meanwhile did you try passing it via LDFLAGS
      before running configure?

      Something like

      LDFLAGS=-lgcrypt ./configure ...

      Thanks,
      --MG

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.