On 02/04/2011 12:57 PM, Erik van Pienbroek wrote:
Archambault Fabien schreef op vr 04-02-2011 om 08:19 [+0100]:
> I am sorry but this still does not work.
> Here is my /etc/yum.repos.d/fedora-cross.repo
> [fedora-cross]
> name=fedora-cross
>
baseurl=http://build1.openftd.org/fedora-cross/$basearch
> gpgcheck=1
> enabled=1
>
gpgkey=http://build1.openftd.org/fedora-cross/RPM-GPG-KEY-Erik-van-Pienbroek
> exclude=cross-gcc*.fc15_cross cross-cpp*.fc15_cross
>
> And the /etc/yum.repos.d/fedora-cross-darwinx.repo
> [fedora-cross-darwinx]
> name=fedora-cross-darwinx
>
baseurl=http://build1.openftd.org/fedora-cross-darwinx/$basearch
> gpgcheck=1
> enabled=1
>
gpgkey=http://build1.openftd.org/fedora-cross/RPM-GPG-KEY-Erik-van-Pienbroek
> exclude=cross-gcc*.fc15_cross_darwinx cross-cpp*.fc15_cross_darwinx
You should only use one of the 2 repository files (not both).
Use the first one if you only want Win32+Win64 support and use the
second one if you want Win32+Win64+Darwinx support.
The .repo files which you used are old versions. The newest ones which
can be found at
http://build1.openftd.org/fedora-cross/fedora-cross.repo
and
http://build1.openftd.org/fedora-cross-darwinx/fedora-cross-darwinx.repo
contain an addition to the exclude lines (due to the per-target RPMs
change).
Could you please re-download one of the .repo files and remove the other
one from your /etc/yum.repos.d folder?
Regards,
Erik van Pienbroek
Hi,
sorry not to have understood the fact that the repos were not
complementary. Perhaps should you note it inside the wiki page.
Now setting-up only the darwinx repo allows me to install cross-gcc.
But I still cannot install gfortran:
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package cross-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc14 set to
be installed
--> Processing Dependency: mingw32-gcc-gfortran =
4.6.0-0.4.20110122.fc14 for package:
cross-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64
--> Processing Dependency: mingw64-gcc-gfortran =
4.6.0-0.4.20110122.fc14 for package:
cross-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64
--> Running transaction check
---> Package mingw32-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc14 set
to be installed
---> Package mingw64-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc14 set
to be installed
--> Processing Dependency: mingw64(libquadmath-0.dll) for package:
mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64
--> Finished Dependency Resolution
Error: Package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64
(fedora-cross-darwinx)
Requires: mingw64(libquadmath-0.dll)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
It seems that the new libquadmath is in fault.
Thanks for your time,
Fabien