Opened 13 years ago

Closed 13 years ago

#30234 closed defect (worksforme)

py26-matplotlib-basemap @1.0.1 does not work for 2.6 but for 2.7

Reported by: barrier.nicolas@… Owned by: skymoo (Adam Mercer)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: py26-matplotlib-basemap

Description

Hello

I have a problem with the port py26-matplotlib-basemap @1.0.1 I had the version py26-matplotlib-basemap @1.0.1_0 and everything was working, but then I tried to do an update and it does not work anymore. Here is the beginning of what I get:

--->  Computing dependencies for python27
--->  Configuring python27
...

The problem seems to be the loading of the _geoslib.so file, which is not recognized.

I guess that if it is not working, it must be due to the fact that the update of the 2.6 version installs a 2.7 version. Is it possible to correct it?

Thanks

Change History (7)

comment:1 Changed 13 years ago by skymoo (Adam Mercer)

Owner: changed from macports-tickets@… to ram@…
Port: py26-matplotlib-basemap added
Status: newassigned

Can you attach the log file to this ticket, port will tell you the location of this file when it fails.

comment:2 Changed 13 years ago by barrier.nicolas@…

Dear ram

I cannot add the ticket, because it is seemingly working. But when I am trying to use it, it's not. But all the port process seems to be efficient, just not with the right version of python (2.7 instead of 2.6)

comment:3 Changed 13 years ago by skymoo (Adam Mercer)

I don't understand, why are you using python27? The port provides a module for python26 it won't be in the path for python27? Why do you think it's using python27?

comment:4 Changed 13 years ago by barrier.nicolas@…

That is precisely my point. When I install the port py26-matplotlib-basemap @1.0.1, it seems to install py27 instead. But as I use py26, it is a problem

comment:5 Changed 13 years ago by skymoo (Adam Mercer)

The python27 dependency is being brought is as dependency of one dependencies:

$ port rdeps py26-matplotlib-basemap
The following ports are dependencies of py26-matplotlib-basemap @1.0.1_0:
  python26
    gettext
      libiconv
        gperf
      ncurses
        ncursesw
      expat
    zlib
    openssl
    sqlite3
      readline
    db46
    gdbm
    bzip2
    python_select
  py26-matplotlib
    freetype
    libpng
    py26-dateutil
      py26-tz
      py26-distribute
    py26-numpy
      fftw-3
      py26-nose
    py26-configobj
      unzip
    py26-pyobjc-cocoa
      py26-pyobjc
        py26-py2app
          py26-macholib
            py26-modulegraph
              py26-altgraph
          py26-bdist_mpkg
        libxml2
    py26-tkinter
      tk
        pkgconfig
          glib2
            autoconf
              perl5
                perl5.12
              m4
              help2man
                p5-locale-gettext
            automake
            libtool
        tcl
        Xft2
          xrender
            xorg-libX11
              xorg-util-macros
              xorg-xtrans
              xorg-bigreqsproto
              xorg-xcmiscproto
              xorg-xextproto
              xorg-xf86bigfontproto
              xorg-inputproto
              xorg-libXdmcp
                xorg-xproto
              xorg-libXau
              xorg-libxcb
                xorg-xcb-proto
                  python27
                xorg-libpthread-stubs
              xorg-kbproto
            xorg-renderproto
          fontconfig
        xorg-libXScrnSaver
          xorg-libXext
          xorg-scrnsaverproto
  geos
  py26-httplib2
  py26-dap
$

i.e. xorg-xcb-proto, py26-matplotlib-basemap itself is not using python27.

You mentioned seeing an error relating to _geoslib.so, where do you see this?

comment:6 Changed 13 years ago by jmroot (Joshua Root)

Add +python26 to your variants.conf if you want the xcb ports to use python26 as well.

comment:7 Changed 13 years ago by skymoo (Adam Mercer)

Resolution: worksforme
Status: assignedclosed

Closing as worksforme as no response received in 2 weeks, reopen if this is still a problem and provide the requested information.

Note: See TracTickets for help on using tickets.