KSP-CKAN / CKAN

The Comprehensive Kerbal Archive Network
https://forum.kerbalspaceprogram.com/index.php?/topic/197082-*
Other
1.96k stars 349 forks source link

Cannot build from source on Gentoo #1901

Closed helmchenlord closed 8 years ago

helmchenlord commented 8 years ago
mozroots --import --ask-remove

git clone https://github.com/KSP-CKAN/CKAN.git

make
bin/build
XBuild Engine Version 14.0
Mono, Version 4.6.0.0
Copyright (C) 2005-2013 Various Mono authors
                Configuration: Debug Platform: AnyCPU
/usr/lib64/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'ICSharpCode.SharpZipLib, Version=0.86.5.0, Culture=neutral, PublicKeyToken=9dea7c6e17aa31ff, processorArchitecture=MSIL' not resolved
/usr/lib64/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL' not resolved
/usr/lib64/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL' not resolved
GameVersionProviders/KspBuildIdVersionProvider.cs(5,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
GameVersionProviders/KspBuildMap.cs(6,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
GameVersionProviders/KspBuildMap.cs(7,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Net/AutoUpdate.cs(5,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
Net/AutoUpdate.cs(6,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Net/NetAsyncDownloader.cs(9,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
KSP.cs(12,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
ModuleInstaller.cs(8,7): error CS0246: The type or namespace name `ICSharpCode' could not be found. Are you missing an assembly reference?
ModuleInstaller.cs(9,7): error CS0246: The type or namespace name `ICSharpCode' could not be found. Are you missing an assembly reference?
ModuleInstaller.cs(10,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
Types/Version.cs(1,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
KSPManager.cs(6,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
KSPPathUtils.cs(4,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
Registry/AvailableModule.cs(7,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
Registry/AvailableModule.cs(8,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Registry/InstalledModule.cs(5,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Registry/Registry.cs(9,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
Registry/Registry.cs(10,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Registry/RegistryManager.cs(8,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
Registry/RegistryManager.cs(9,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Registry/RegistryManager.cs(10,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Types/ModuleInstallDescriptor.cs(6,7): error CS0246: The type or namespace name `ICSharpCode' could not be found. Are you missing an assembly reference?
Types/ModuleInstallDescriptor.cs(7,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Relationships/SanityChecker.cs(3,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
Net/Net.cs(10,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
Net/NetAsyncModulesDownloader.cs(9,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
Relationships/RelationshipResolver.cs(6,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
Net/Repo.cs(8,7): error CS0246: The type or namespace name `ICSharpCode' could not be found. Are you missing an assembly reference?
Net/Repo.cs(9,7): error CS0246: The type or namespace name `ICSharpCode' could not be found. Are you missing an assembly reference?
Net/Repo.cs(10,7): error CS0246: The type or namespace name `ICSharpCode' could not be found. Are you missing an assembly reference?
Net/Repo.cs(11,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
Net/NetFileCache.cs(6,7): error CS0246: The type or namespace name `ICSharpCode' could not be found. Are you missing an assembly reference?
Net/NetFileCache.cs(7,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
Types/CkanModule.cs(7,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
Types/CkanModule.cs(8,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Converters/JsonOldResourceUrlConverter.cs(2,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Converters/JsonOldResourceUrlConverter.cs(3,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Converters/JsonSimpleStringConverter.cs(2,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Converters/JsonSingleOrArrayConverter.cs(3,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Converters/JsonSingleOrArrayConverter.cs(4,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Types/License.cs(2,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Types/ReleaseStatus.cs(3,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Versioning/KspVersion.cs(5,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Types/Repository.cs(2,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Net/Curl.cs(6,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
Converters/JsonIgnoreBadUrlConverter.cs(2,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Converters/JsonIgnoreBadUrlConverter.cs(3,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
Converters/JsonIgnoreBadUrlConverter.cs(4,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?
Converters/JsonOldResourceUrlConverter.cs(10,48): error CS0246: The type or namespace name `JsonConverter' could not be found. Are you missing an assembly reference?
Converters/JsonSimpleStringConverter.cs(8,46): error CS0246: The type or namespace name `JsonConverter' could not be found. Are you missing an assembly reference?
Converters/JsonSingleOrArrayConverter.cs(12,50): error CS0246: The type or namespace name `JsonConverter' could not be found. Are you missing an assembly reference?
Versioning/KspVersion.cs(711,51): error CS0246: The type or namespace name `JsonConverter' could not be found. Are you missing an assembly reference?
Converters/JsonIgnoreBadUrlConverter.cs(12,46): error CS0246: The type or namespace name `JsonConverter' could not be found. Are you missing an assembly reference?
GameVersionProviders/KspBuildIdVersionProvider.cs(16,33): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
GameVersionProviders/KspBuildMap.cs(18,33): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
Net/AutoUpdate.cs(20,26): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
Net/NetAsyncDownloader.cs(46,33): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
KSP.cs(28,33): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
ModuleInstaller.cs(18,16): error CS0246: The type or namespace name `ZipEntry' could not be found. Are you missing an assembly reference?
ModuleInstaller.cs(30,33): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
ModuleInstaller.cs(414,100): error CS0246: The type or namespace name `ZipFile' could not be found. Are you missing an assembly reference?
ModuleInstaller.cs(613,85): error CS0246: The type or namespace name `ZipFile' could not be found. Are you missing an assembly reference?
ModuleInstaller.cs(668,43): error CS0246: The type or namespace name `ZipFile' could not be found. Are you missing an assembly reference?
ModuleInstaller.cs(668,60): error CS0246: The type or namespace name `ZipEntry' could not be found. Are you missing an assembly reference?
KSPManager.cs(20,33): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
KSPPathUtils.cs(10,33): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
Registry/AvailableModule.cs(42,33): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
Registry/Registry.cs(26,46): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
Registry/RegistryManager.cs(19,33): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
Types/ModuleInstallDescriptor.cs(91,82): error CS0246: The type or namespace name `ZipFile' could not be found. Are you missing an assembly reference?
Types/ModuleInstallDescriptor.cs(158,58): error CS0246: The type or namespace name `ZipFile' could not be found. Are you missing an assembly reference?
Relationships/SanityChecker.cs(13,33): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
Net/Net.cs(22,33): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
Net/NetAsyncModulesDownloader.cs(24,33): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
Relationships/RelationshipResolver.cs(80,33): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
Net/Repo.cs(20,33): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
Net/NetFileCache.cs(28,33): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
Types/CkanModule.cs(126,33): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
Converters/JsonOldResourceUrlConverter.cs(12,30): error CS0115: `CKAN.JsonOldResourceUrlConverter.CanConvert(System.Type)' is marked as an override but no suitable method found to override
Converters/JsonOldResourceUrlConverter.cs(21,41): error CS0246: The type or namespace name `JsonReader' could not be found. Are you missing an assembly reference?
Converters/JsonOldResourceUrlConverter.cs(21,99): error CS0246: The type or namespace name `JsonSerializer' could not be found. Are you missing an assembly reference?
Converters/JsonOldResourceUrlConverter.cs(35,30): error CS0115: `CKAN.JsonOldResourceUrlConverter.CanWrite' is marked as an override but no suitable property found to override
Converters/JsonOldResourceUrlConverter.cs(40,40): error CS0246: The type or namespace name `JsonWriter' could not be found. Are you missing an assembly reference?
Converters/JsonOldResourceUrlConverter.cs(40,73): error CS0246: The type or namespace name `JsonSerializer' could not be found. Are you missing an assembly reference?
Converters/JsonSimpleStringConverter.cs(10,40): error CS0246: The type or namespace name `JsonWriter' could not be found. Are you missing an assembly reference?
Converters/JsonSimpleStringConverter.cs(10,73): error CS0246: The type or namespace name `JsonSerializer' could not be found. Are you missing an assembly reference?
Converters/JsonSimpleStringConverter.cs(14,41): error CS0246: The type or namespace name `JsonReader' could not be found. Are you missing an assembly reference?
Converters/JsonSimpleStringConverter.cs(14,99): error CS0246: The type or namespace name `JsonSerializer' could not be found. Are you missing an assembly reference?
Converters/JsonSimpleStringConverter.cs(22,30): error CS0115: `CKAN.JsonSimpleStringConverter.CanConvert(System.Type)' is marked as an override but no suitable method found to override
Converters/JsonSingleOrArrayConverter.cs(14,30): error CS0115: `CKAN.JsonSingleOrArrayConverter<T>.CanConvert(System.Type)' is marked as an override but no suitable method found to override
Converters/JsonSingleOrArrayConverter.cs(23,41): error CS0246: The type or namespace name `JsonReader' could not be found. Are you missing an assembly reference?
Converters/JsonSingleOrArrayConverter.cs(23,99): error CS0246: The type or namespace name `JsonSerializer' could not be found. Are you missing an assembly reference?
Converters/JsonSingleOrArrayConverter.cs(35,30): error CS0115: `CKAN.JsonSingleOrArrayConverter<T>.CanWrite' is marked as an override but no suitable property found to override
Converters/JsonSingleOrArrayConverter.cs(40,40): error CS0246: The type or namespace name `JsonWriter' could not be found. Are you missing an assembly reference?
Converters/JsonSingleOrArrayConverter.cs(40,73): error CS0246: The type or namespace name `JsonSerializer' could not be found. Are you missing an assembly reference?
Versioning/KspVersion.cs(713,40): error CS0246: The type or namespace name `JsonWriter' could not be found. Are you missing an assembly reference?
Versioning/KspVersion.cs(713,73): error CS0246: The type or namespace name `JsonSerializer' could not be found. Are you missing an assembly reference?
Versioning/KspVersion.cs(718,41): error CS0246: The type or namespace name `JsonReader' could not be found. Are you missing an assembly reference?
Versioning/KspVersion.cs(718,99): error CS0246: The type or namespace name `JsonSerializer' could not be found. Are you missing an assembly reference?
Versioning/KspVersion.cs(745,30): error CS0115: `CKAN.Versioning.KspVersionJsonConverter.CanConvert(System.Type)' is marked as an override but no suitable method found to override
Net/Curl.cs(17,33): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
Converters/JsonIgnoreBadUrlConverter.cs(14,33): error CS0246: The type or namespace name `ILog' could not be found. Are you missing an assembly reference?
Converters/JsonIgnoreBadUrlConverter.cs(17,13): error CS0246: The type or namespace name `JsonReader' could not be found. Are you missing an assembly reference?
Converters/JsonIgnoreBadUrlConverter.cs(17,71): error CS0246: The type or namespace name `JsonSerializer' could not be found. Are you missing an assembly reference?
Converters/JsonIgnoreBadUrlConverter.cs(38,30): error CS0115: `CKAN.JsonIgnoreBadUrlConverter.CanConvert(System.Type)' is marked as an override but no suitable method found to override
Converters/JsonIgnoreBadUrlConverter.cs(47,30): error CS0115: `CKAN.JsonIgnoreBadUrlConverter.CanWrite' is marked as an override but no suitable property found to override
Converters/JsonIgnoreBadUrlConverter.cs(52,40): error CS0246: The type or namespace name `JsonWriter' could not be found. Are you missing an assembly reference?
Converters/JsonIgnoreBadUrlConverter.cs(52,73): error CS0246: The type or namespace name `JsonSerializer' could not be found. Are you missing an assembly reference?
Configuration: Debug Platform: AnyCPU
/usr/lib64/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL' not resolved
/usr/lib64/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL' not resolved
"xbuild" unexpectedly returned exit value 1 at (eval 8) line 12.
 at bin/build line 2177
Makefile:8: recipe for target 'build' failed
make: *** [build] Error 1
gadkrumholz commented 8 years ago

nuget restore CKAN.sln THEN make

politas commented 8 years ago

Do you have a full monodevelop setup?

helmchenlord commented 8 years ago

nuget restore CKAN.sln was the trick. to procced with it I had to install: dev-dotnet/xdt-for-monodevelop dev-dotnet/nuget.

Thank you for your help!