Tuesday, January 25, 2011

Checkinstall failed with /root/rpmbuild has no source directory

Hi, I am trying to use checkinstall to build a package from source code. However, when i run checkinstall , it ask :

/root/rpmbuild has no source directory, please write the path to the rpm source directory tree.

i am running on fedora 12 and system was installed through kickstart via repository of dvd of fc12. I was not aware of the rpm source directory during the installation.

so how can i check whether rpm source has been installed or not. if not, how to make the rpm source directory so that i can please the checkinstall and build the package successfully. or can i bypass it?

thanks a lot

  • Hi,

    the solution you seek is:

    (as root) mkdir -p /root/rpmbuild/SOURCES

    From lope

0 comments:

Post a Comment