[MacPorts] #49938: Perl: missing dependencies
#49938: Perl: missing dependencies -------------------------+-------------------------------- Reporter: laila_awn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: -------------------------+-------------------------------- Hello there, I have installed Demeter on my laptop. My operating system is OS X El- Capitan version 10.11.1. The installed Xcode version is 7.2. After installing Demeter, I faced two issues: - The first is that I tried to launch Athena and I got a message saying that I need to install the Encoding:: FixLatin::XS module. - The second is that when I tried to launch Artemis, I got the following {{{ Artemis Can't locate Heap/Fibonacci.pm in @INC (you may need to install the Heap::Fibonacci module) (@INC contains: /opt/local/lib/perl5/site_perl/5.22/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.22 /opt/local/lib/perl5/vendor_perl/5.22 /darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.22 /opt/local/lib/perl5/5.22/darwin-thread-multi-2level /opt/local/lib/perl5/5.22 .) at /opt/local/lib/perl5/site_perl/5.22 /darwin-thread-multi-2level/Demeter/Feff.pm line 45. BEGIN failed--compilation aborted at /opt/local/lib/perl5/site_perl/5.22 /darwin-thread-multi-2level/Demeter/Feff.pm line 45. Compilation failed in require at /opt/local/lib/perl5/site_perl/5.22 /darwin-thread-multi-2level/Demeter.pm line 327. BEGIN failed--compilation aborted at /opt/local/lib/perl5/site_perl/5.22 /darwin-thread-multi-2level/Demeter/UI/Artemis.pm line 26. Compilation failed in require at /opt/local/bin/Artemis line 42. BEGIN failed--compilation aborted at /opt/local/bin/Artemis line 42. }}} I was wondering if anyone can help me with that -- Ticket URL: <https://trac.macports.org/ticket/49938> MacPorts <https://www.macports.org/> Ports system for OS X
#49938: demeter: missing perl dependencies --------------------------+-------------------------- Reporter: laila_awn@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: demeter | --------------------------+-------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => joe.fowler@… * port: => demeter -- Ticket URL: <https://trac.macports.org/ticket/49938#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49938: demeter: missing perl dependencies --------------------------+-------------------------- Reporter: laila_awn@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: demeter | --------------------------+-------------------------- Changes (by mojca@…): * version: 2.3.4 => Comment: Can you try to install `p5.22-graph` and see if that helps? If it does, then `demeter` probably needs an additional runtime dependency. -- Ticket URL: <https://trac.macports.org/ticket/49938#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49938: demeter: missing perl dependencies --------------------------+-------------------------- Reporter: laila_awn@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: demeter | --------------------------+-------------------------- Comment (by joe.fowler@…): Many thanks to mojca for this suggestion. However, the latest demeter portfile does in fact require p${perl-version}-graph, so this can't be the problem. The missing file Heap/Fibonacci.pm is part of p${perl-version}-heap. It's true that p5.22-heap is ''not'' a direct dependency of demeter, but p5.22-graph ''is'' a dependency, and it depends, in turn, on p5.22-heap. We could certainly add p5.22-heap to the demeter dependencies, but I don't see how this helps. Can the original poster comment on whether he or she finds positive responses to the query {{{ port installed p5.22-graph p5.22-heap }}} Also, is this question about the latest version (0.9.22_1) of demeter? If so, and if the two above-listed Perl packages are installed, then I have no idea what's going on. (If the problem is in El Capitan, I admit that I do not have access to or familiarity with any OS X newer than Mavericks.) -- Ticket URL: <https://trac.macports.org/ticket/49938#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49938: demeter: missing perl dependencies --------------------------+-------------------------- Reporter: laila_awn@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: demeter | --------------------------+-------------------------- Comment (by laila_awn@…): Replying to [comment:4 joe.fowler@…]:
Many thanks to mojca for this suggestion. However, the latest demeter portfile does in fact require p${perl-version}-graph, so this can't be the problem.
The missing file Heap/Fibonacci.pm is part of p${perl-version}-heap. It's true that p5.22-heap is ''not'' a direct dependency of demeter, but p5.22-graph ''is'' a dependency, and it depends, in turn, on p5.22-heap. We could certainly add p5.22-heap to the demeter dependencies, but I don't see how this helps.
Can the original poster comment on whether he or she finds positive responses to the query {{{ port installed p5.22-graph p5.22-heap }}} Also, is this question about the latest version (0.9.22_1) of demeter? If so, and if the two above-listed Perl packages are installed, then I have no idea what's going on. (If the problem is in El Capitan, I admit that I do not have access to or familiarity with any OS X newer than Mavericks.)
Hello there, I have found the following response to the query in your comment {{{ port installed p5.22-graph p5.22-heap The following ports are currently installed: p5.22-graph @0.970.400_0 (active) }}} I think I will try and install and older operating system -- Ticket URL: <https://trac.macports.org/ticket/49938#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#49938: demeter: missing perl dependencies --------------------------+-------------------------- Reporter: laila_awn@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: demeter | --------------------------+-------------------------- Comment (by laila_awn@…): Replying to [comment:3 mojca@…]:
Can you try to install `p5.22-graph` and see if that helps?
If it does, then `demeter` probably needs an additional runtime dependency.
I tried installing 'p5.22-graph' I got the following: {{{ Computing dependencies for p5.22-graph ---> Cleaning p5.22-graph ---> Scanning binaries for linking errors ---> No broken files found. }}} -- Ticket URL: <https://trac.macports.org/ticket/49938#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#49938: demeter: missing perl dependencies --------------------------+-------------------------- Reporter: laila_awn@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: demeter | --------------------------+-------------------------- Comment (by mojca@…): Before you go to an older operating system (which will most likely not solve anything), try {{{ sudo port install p5.22-heap }}} When I searched for `Heap::Fibonacci` on CPAN I came to the wrong conclusion that it was part of `p5.22-graph` rather than `p5.22-heap`. -- Ticket URL: <https://trac.macports.org/ticket/49938#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#49938: demeter: missing perl dependencies --------------------------+-------------------------- Reporter: laila_awn@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: demeter | --------------------------+-------------------------- Comment (by laila_awn@…): Replying to [comment:7 mojca@…]:
Before you go to an older operating system (which will most likely not solve anything), try {{{ sudo port install p5.22-heap }}}
When I searched for `Heap::Fibonacci` on CPAN I came to the wrong conclusion that it was part of `p5.22-graph` rather than `p5.22-heap`.
Many thanks for the help, I really appreciate it. I managed to launch Artemis after trying the {{{ sudo port install p5.22-heap }}} I still have an issue with Athena. After launching Athena and whenever I try to import data, I will get the following message: "Can't locate Encoding/FixLatin/XS.pm in @INC (you may need to install the Encoding:: FixLatin::XS module)" I was wondering if you could help me with installing the Encoding:: FixLatin::XS module -- Ticket URL: <https://trac.macports.org/ticket/49938#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#49938: demeter: missing perl dependencies --------------------------+-------------------------- Reporter: laila_awn@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: demeter | --------------------------+-------------------------- Comment (by mojca@…): Try with {{{ sudo port install p5.22-encoding-fixlatin-xs }}} (These dependencies should be added somewhere.) -- Ticket URL: <https://trac.macports.org/ticket/49938#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#49938: demeter: missing perl dependencies --------------------------+-------------------------- Reporter: laila_awn@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: demeter | --------------------------+-------------------------- Comment (by laila_awn@…): Replying to [comment:9 mojca@…]:
Try with {{{ sudo port install p5.22-encoding-fixlatin-xs }}} (These dependencies should be added somewhere.)
Many thanks Mojca for the help. I do not see the error message anymore; however, after importing the data I do not see a plot of the data either. Could you please help me with that -- Ticket URL: <https://trac.macports.org/ticket/49938#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#49938: demeter: missing perl dependencies --------------------------+-------------------------- Reporter: laila_awn@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: demeter | --------------------------+-------------------------- Comment (by mojca@…): It's difficult for me to help because I don't know which software you are using, how to use that software or how to plot the data. If that is easy to explain, I can check, but I would need all the instructions and data to reproduce the problem. Otherwise the maintainer of this port might know more. -- Ticket URL: <https://trac.macports.org/ticket/49938#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#49938: demeter: missing perl dependencies --------------------------+-------------------------- Reporter: laila_awn@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: demeter | --------------------------+-------------------------- Comment (by laila_awn@…): Replying to [comment:11 mojca@…]:
It's difficult for me to help because I don't know which software you are using, how to use that software or how to plot the data. If that is easy to explain, I can check, but I would need all the instructions and data to reproduce the problem. Otherwise the maintainer of this port might know more.
Many thanks for the help. I found out that a number of the software users are facing this issue. One of the users suggested that the "gnuplot-->terminal" parameter should be set to x11. It is currently set to Aqua {{{ gnuplot G N U P L O T Version 5.0 patchlevel 1 last modified 2015-06-07 Copyright (C) 1986-1993, 1998, 2004, 2007-2015 Thomas Williams, Colin Kelley and many others gnuplot home: http://www.gnuplot.info faq, bugs, etc: type "help FAQ" immediate help: type "help" (plot window: hit 'h') Terminal type set to 'aqua' }}} I was wondering if you have any idea about this and whether you could help. Sorry for the inconvenience and many thanks again -- Ticket URL: <https://trac.macports.org/ticket/49938#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
#49938: demeter: missing perl dependencies --------------------------+-------------------------- Reporter: laila_awn@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: demeter | --------------------------+-------------------------- Comment (by mojca@…): In that case please try {{{ sudo port install gnuplot +wxwidgets -aquaterm -x11 }}} (or without `-x11`). Then you should get `wxwidgets` terminal by default rather than the AquaTerm. (You can also control the terminal with `export GNUTERM=wxt` or by putting `set term wxt` to a file `$HOME/.gnuplot`. You can of course use `x11`, but I would suggest you to go with `wxt` or `qt`. For `qt` you need to install gnuplot with `port install gnuplot ... +qt` or `+qt5`) But if there are problems with AquaTerm I would like to know as well. Usually the problems arise because of an incompatible version of AquaTerm installed elsewhere. This is for a different ticket though. -- Ticket URL: <https://trac.macports.org/ticket/49938#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
#49938: demeter: missing perl dependencies --------------------------+-------------------------- Reporter: laila_awn@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: demeter | --------------------------+-------------------------- Comment (by laila_awn@…): Replying to [comment:13 mojca@…]:
In that case please try {{{ sudo port install gnuplot +wxwidgets -aquaterm -x11 }}} (or without `-x11`). Then you should get `wxwidgets` terminal by default rather than the AquaTerm. (You can also control the terminal with `export GNUTERM=wxt` or by putting `set term wxt` to a file `$HOME/.gnuplot`. You can of course use `x11`, but I would suggest you to go with `wxt` or `qt`. For `qt` you need to install gnuplot with `port install gnuplot ... +qt` or `+qt5`)
But if there are problems with AquaTerm I would like to know as well. Usually the problems arise because of an incompatible version of AquaTerm installed elsewhere. This is for a different ticket though.
Many thanks for the help Mojca. I managed to change gnuplot-->terminal setting from the software itself. Thanks again for the help and sorry for any inconvenience caused -- Ticket URL: <https://trac.macports.org/ticket/49938#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X
#49938: demeter: missing perl dependencies --------------------------+-------------------------- Reporter: laila_awn@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: demeter | --------------------------+-------------------------- Changes (by mojca@…): * cc: devans@… (added) -- Ticket URL: <https://trac.macports.org/ticket/49938#comment:15> MacPorts <https://www.macports.org/> Ports system for OS X
#49938: demeter: missing perl dependencies --------------------------+-------------------------- Reporter: laila_awn@… | Owner: joe.fowler@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: demeter | --------------------------+-------------------------- Changes (by devans@…): * status: new => closed * resolution: => fixed Comment: Running {{{ sudo port -d configure demeter }}} yields {{{ Checking prerequisites... requires: ! Heap is not installed ! XMLRPC::Lite is not installed build_requires: ! File::Slurp::Tiny is not installed recommends: * Encoding::FixLatin::XS is not installed }}} Missing dependencies added in r144666. -- Ticket URL: <https://trac.macports.org/ticket/49938#comment:16> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts