-
Notifications
You must be signed in to change notification settings - Fork 0
Installing CFAN on Fedora
The best way would be to follow instructions on http://www.mono-project.com install page.
CFAN requires libcurl to download mods and it needs to be installed with the command dnf install libcurl-devel
.
CFAN may fail to download anything because it uses SSL connections but cannot find some cryptography doohickeys. The error message is:
Unhandled Exception:
System.Net.WebException: Error: SendFailure (Error writing headers) ---> System.Net.WebException: Error writing headers ---> System.IO.IOException: The authentication or decryption has failed.
<snip>
or
Oh no! Our download failed with a certificate error!
Run the following command (as the same user you run CFAN with) to fix that:
mozroots --import --ask-remove
Try to double-click cfan.exe. If the OS asks you for a program to open it with - type mono
. The other option is to use the shell to start CFAN with:
Option 1:
mono cfan.exe
Option 2 (requires binutils setup):
# Make cfan.exe executable (you only need to do this once)
chmod 755 cfan.exe
# Start cfan
./cfan.exe
If your system is in non-English locale (for example Cyrillic) then CFAN instead of updating database will fail with error:
Unhandled Exception:
System.NotSupportedException: CodePage 866 not supported
To remedy that run CFAN with a forced neutral locale (which is a good old Kerbal tradition).
LANG=C mono cfan.exe
Since CFAN is not localized this workaround has no downsides.
Errors like:
System.Windows.Forms.SplitContainer doesn't implement interface System.ComponentModel.ISupportInitialize
mean you use an old version of Mono. CFAN is built using Mono 4.2 and requires Mono >= 3.x.x.