You are not logged in.

#1 2008-03-18 17:25:13

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

[SOLVED]Problem installing python-numpy (could not satisfy dependen...

Hello,

This is my first day in Arch Linux (coming from gentoo) and I have a problem. Already tried to search for it but found anything (it is possible that my skill for search 'pacman errors' need to be trained...)

I have a updated Arch64, when I try to install python-numpy I get this:

pacman -Sy python-numpy
:: Synchronizing package databases...
 testing is up to date
 core is up to date
 extra is up to date
 community is up to date
 unstable is up to date
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs>=4.3.0
:: lapack: requires gcc-libs>=4.3.0

I have gcc, gcc-libs and lapack:

pacman -Qi gcc|grep Version
Version        : 4.3.0-1
pacman -Qi gcc-libs|grep Version
Version        : 4.3.0-1
pacman -Qi lapack|grep Version
Version        : 3.1.1-3

So, I don't know what is wrong. Someone know what I done wrong?

Thanks for your help. ^_^

PS. this is the correct forum to post this type of question?

SOLVED
The problem is python-scipy and python-numpy have fortran and not gcc-libs as dep. (At and I found another problem but this is related to blas take a look at http://bugs.archlinux.org/task/9905)

Last edited by kazuo (2008-03-22 07:01:00)

Offline

#2 2008-03-23 22:50:34

daedalus
Member
From: Mountain View
Registered: 2007-09-28
Posts: 50
Website

Re: [SOLVED]Problem installing python-numpy (could not satisfy dependen...

I am getting the same thing, and it is actually preventing me from updating my system.

Is your solution to just install fortran?  I mean, that works, but I feel like it's a rather ugly way of getting around it.  Is there a reason that the numpy and scipy packages shouldn't be relying on the gcc-libs?

Thanks for finding the solution.  I hope the package devs get this fixed soon!

Last edited by daedalus (2008-03-23 22:54:16)

Offline

#3 2008-03-24 00:26:47

JGC
Developer
Registered: 2003-12-03
Posts: 1,658

Re: [SOLVED]Problem installing python-numpy (could not satisfy dependen...

I removed gcc-fortran from the provides in gcc because gcc-fortran shouldn't be used anymore and packages depending on it would be broken anyways because of a sobump. In my opinion, preventing you from upgrading your system to a broken state is always better than upgrading to a broken state for the applications you use.

Offline

#4 2008-03-24 00:31:19

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: [SOLVED]Problem installing python-numpy (could not satisfy dependen...

daedalus wrote:

I am getting the same thing, and it is actually preventing me from updating my system.

Is your solution to just install fortran?  I mean, that works, but I feel like it's a rather ugly way of getting around it.  Is there a reason that the numpy and scipy packages shouldn't be relying on the gcc-libs?

Thanks for finding the solution.  I hope the package devs get this fixed soon!

No, you don't need to install fortran I think it is already installed, on my system it is (come with gcc pack).

They need gcc-libs because they compile fortran code to interface with blas/lapack. And

pacman -Ql gcc-libs|grep fortran
gcc-libs /usr/lib/libgfortran.a
gcc-libs /usr/lib/libgfortran.so
gcc-libs /usr/lib/libgfortran.so.3
gcc-libs /usr/lib/libgfortran.so.3.0.0

I'm talking with the maintainer of scipy, I think the devs gonna make this sorted really soon. Arch is great smile I'm loving it.

If you like, the only change you need to do is change the dep on PKGBUILD from gcc-fortran to gcc-libs and recompile (if you got a error about scabs1 follow my link to bug report, this is a separated problem)

Last edited by kazuo (2008-03-24 00:32:54)

Offline

Board footer

Powered by FluxBB