Re: perlTk

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

 



On Thu, 8 Mar 2012, Dave Mitchell wrote:

On Thu, Mar 08, 2012 at 12:13:30PM +0000, Patrick Dupre wrote:
On Thu, 8 Mar 2012, Dave Mitchell wrote:
> This means that the version number in the perl file Tk.pm doesn't match
> the version number in the compiled binary Tk.so. Why they differ is
> probably down to how Tk was installed or upgraded; or its possible that
> an environment variable (e.g. LD_LIBRARY_PATH or PERL5LIB) is set, causing
> perl to pick up the two files from two different installations.
> > perl -V will show you what paths perl is picking up.


Here is my perl -V
[snip]
PERL5LIB=":/home/pdupre/perl_lib/i386-linux-thread-multi:/home/pdupre/perl_lib/i386-linux-thread-multi"
    PERL_LIB="/home/pdupre/perl_lib/i386-linux-thread-multi"

But I do not see anything about Tk!

The problem appear after an upgrade from fedora 13 to 14.

Your PERL5LIB and PERL_LIB environment variables are pointing to an area
which might be a separate perl installation, or may contain Tk files that
were built under an older perl, hence the mixing of versions.

As a test, try unsetting those two variables and see if you can load Tk:

    $ bash    # start a subshell
    $ unset PERL5LIB PERL_LIB
    $ perl -MTk -e 1
    $ exit

No, it does help.
This 2 variables are just set to be able to call my own perl libraries
I have the same issue without setting them.



if that runs without errors, then that will confirm the location of the
problem. After that, you'll need to decide why those variables were set,
and whether you need to do something similar for your new environment.

--
Gravity is just a theory; teach Intelligent Falling in our schools!
    http://www.theonion.com/content/node/39512
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

--
---
==========================================================================
 Patrick DUPRÉ                      |   |
 Department of Chemistry            |   |  Phone: (44)-(0)-1904-434384
 The University of York             |   |  Fax:   (44)-(0)-1904-432516
 Heslington                         |   |
 York YO10 5DD  United Kingdom      |   |  email: patrick.dupre@xxxxxxxxxx
==========================================================================
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
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