Problem building packge perl-Tk
Hi, I have a problem building a package with perl-Tk module. The package is built fine, but when I install it get a dependency error.
I've already posted this issue in my distro forum, but since we are very few people, I've decided to find help in this large community as well. Everything is here: http://www.yoper.com/forum/index.php...iew=getnewpost Any help would be really appreciated... Thanks! :) |
Try installing it with cpan:
cpan Tk --- rod. |
Quote:
The problem is that somehow rpmbuild wrongly detects the "perl >= 1:5" dependency. What I really need to know is either the reason why this is happening or a way to fix it. Maybe there is something I can add to my perl-tk.spec file that fixes this. I've compared mine with others I've found in the Internet and apparently there isn't any substantial difference. :confused: Please, any help you can provide will be really appreciated. Thanks. :) |
I guess I don't understand your objective. You say you already installed the package, but now you are having problems intalling the package. This is not making sense. CPAN does not use the same installation methods that are used by other package managers. I believe it detects the perl version by actually running perl -v and parsing the output.
--- rod. |
Quote:
I have: - TK package installed (I cannot tell you the version right now) - Perl 5.8.8 package installed I have achived: - To build my own perl-tk package The problem: - When I installed it says I need a dependency I don't know what it means. Something like perl >= 1:5 Any clue about what's going on in here? :confused: |
When you say you have the TK package installed, are you referring to the perl-Tk perl module, or Tk as in Tcl/Tk? If you already have the perl-Tk module installed, then why do you need to install another one?
When you say "I have achived: - To build my own perl-tk package", do you mean you have built the perl-tK module, but it will not install? Or are you saying that you have written some software that uses perl-Tk, and are somehow trying to install it? Or something else altogether? Did you actually try to install perl-Tk using CPAN? If it failed, can you post the error message? --- rod. |
Quote:
I haven't built any software based on perl-Tk nor have any problem with perl or Tcl/Tk. The ONLY problem is installing the perl-Tk RPM package I've built. Is there any thing I have to add to the spec file I haven't yet to generate the package properly? Do you know how to fix this dependency problem? :confused: Thanks a lot for your help! :) PS: Below my perl-Tk.spec file. Code:
%define module Tk |
No, I don't know how to fix the dependency problem. It looks to me as if it must be a bug. That is why I suggest installing from CPAN. Why are you so opposed to try this?
--- rod. |
Quote:
Thanks, thanks and thanks it's all I can say for all time you've spent replying this thread. I hope someone else helps me to close this issue happily. :) PS: Have a look to the Yoper official web site if you feel like at: http://www.yoper.com |
All times are GMT -5. The time now is 12:50 AM. |