Re: rpmbuild error

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

 



On Mon, 30 Nov 2015 07:07:33 -0600, Ranjan Maitra wrote:

> I am sorry I do not quite understand what to do here. Is there an example spec file I can look at for this?
> 
> I tried Gordon's suggestion and added:
> 
> 
> %install
> install -d $RPM_BUILD_ROOT/%{_bindir}
> install -m 755 luskipc $RPM_BUILD_ROOT/%{_bindir}/luksipc
> 
> but get:
> 
> + cd luksipc-0.04
> + install -d /home/maitra/rpmbuild/BUILDROOT/luksipc-0.04-1.fc23.x86_64//usr/bin
> + install -m 755 luskipc /home/maitra/rpmbuild/BUILDROOT/luksipc-0.04-1.fc23.x86_64//usr/bin/luksipc
> install: cannot stat 'luskipc': No such file or directory

It's a shocking amount of handholding you need for an issue like this. :-(

First of all, it seems you've made a typo: luskipc vs. luksipc

Secondly, it may be that the built file is not located within the topdir
but some subdir.

Obviously, you can do _anything_ you like in the %install section, such
as entering the directory where the built file is found or adding the file's
path to the install command. The %install section is just a shell script.
Do what's necessary. Get familiar with the extracted source tarball's
directory structure. Understand which files are built and need to be
installed, especially if a Make install target is not available.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux