Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I have downloaded open source implementation of ROHC from sourceforge.net. I have modified it and done my own changes. Now i want to create a setup for it so ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    2

    how to create rpm

    Hi,

    I have downloaded open source implementation of ROHC from sourceforge.net.
    I have modified it and done my own changes. Now i want to create a setup for it so that i can run it on any linux machine. I am trying to create rpm for my project. But there are few errors in my spec.Plz help.

    Errors are like these...
    Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.94827
    + umask 022
    + cd /root/rpmbuild/BUILD
    + cd rohc-1.1
    + LANG=C
    + export LANG
    + unset DISPLAY
    + /usr/lib/rpm/find-debuginfo.sh /root/rpmbuild/BUILD/rohc-1.1
    find: /var/tmp/rohc-buildroot: No such file or directory
    error: Bad exit status from /var/tmp/rpm-tmp.94827 (%install)

    Regards
    Priyanka Bhatia

  2. #2
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,577
    Try opening the spec file with Emacs. It will then have the option of running the file, and will then list the errors, if any.

    I found doing it this way to be very helpful, as I didn't have to constantly switch between editor and terminal.
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

Posting Permissions

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