Hi all.
I'm quite new to building rpms.
I’m trying to build an rpm for lightsquid . I have got the rpm to build without any issues but now when I try and install it, it dies with missing dependencies the files are in the install list.
[root@gregory-workstation ~]# rpm -i /home/builder/rpm/RPMS/noarch/lightsquid-1.7-1.noarch.rpm
error: Failed dependencies:
perl(common.pl) is needed by lightsquid-1.7-1.noarch
perl(lightsquid.cfg) is needed by lightsquid-1.7-1.noarch
[root@gregory-workstation ~]#
I have also used mc to browse the contents on the rpm and the files are in it.. so why do I get this error ? I have also removed the "Requires" reference from the spec file and this did not help. I have attacked my lightsquid.spec file for review maybe a guru will see what my green eyes have missed.
Thanks
Regards Gregory Machin Email: gmachin@techconcepts.co.za Cell: +27 (0) 72 524 5098 gtalk: gmachin.techconcepts@gmail.com Support helpdesk@techconcepts.co.za Tell: +27 (0) 11 803 2169 Fax: +27 (0) 11 803 2189 After Hours Cell: +27 (0) 82 790 0796
On Wed, 18 Feb 2009 08:11:05 +0200, Gregory wrote:
Hi all.
I'm quite new to building rpms.
I’m trying to build an rpm for lightsquid . I have got the rpm to build without any issues but now when I try and install it, it dies with missing dependencies the files are in the install list.
[root@gregory-workstation ~]# rpm -i /home/builder/rpm/RPMS/noarch/lightsquid-1.7-1.noarch.rpm
error: Failed dependencies:
perl(common.pl) is needed by lightsquid-1.7-1.noarch perl(lightsquid.cfg) is needed by lightsquid-1.7-1.noarch
[root@gregory-workstation ~]#
I have also used mc to browse the contents on the rpm and the files are in it.. so why do I get this error ?
These are not dependencies on files. These are automatically generated dependencies on Perl modules, found by rpmbuild when scanning files for Perl "use"/"require". These two modules are not made available in standard search path, however, and don't declare the module name with "package" either.
You may need to filter them out, especially if the modules really are not put into Perl module search path. Documentation can be found in the Wiki.
P.S. Your post does not point to the src.rpm
packaging@lists.fedoraproject.org