hirschmann / nbfc

NoteBook FanControl
Other
2.86k stars 485 forks source link

Linux build failing #56

Closed steadfasterX closed 8 years ago

steadfasterX commented 8 years ago

Hi

I try to use your Linux version of this great tool but it fails when executing build.sh with the following errors:

./build.sh /tmp/nbfc /tmp/nbfc WARNUNG: The initialization function tries to access Value on this instance WARNUNG: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure WARNUNG: The initialization function tries to access Value on this instance Unable to find version '1.4.7.0' of package 'clipr'. Unable to find version '2.5' of package 'Extended.Wpf.Toolkit'. Unable to find version '1.0.5' of package 'Hardcodet.NotifyIcon.Wpf'. XBuild Engine Version 12.0 Mono, Version 3.2.8.0 Copyright (C) 2005-2013 Various Mono authors

Build started 08.02.2016 11:48:13.

/tmp/nbfc/Windows/Setup/NbfcSetup/NbfcSetup.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring. /tmp/nbfc/Windows/Setup/NbfcBootstrapper/NbfcBootstrapper.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring. /tmp/nbfc/Windows/Setup/DriverSetupWixAction/DriverSetupWixAction.csproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.CA.targets, to import. Ignoring. Project "/tmp/nbfc/NoteBookFanControl.sln" (Build target(s)): Target ValidateSolutionConfiguration: Building solution configuration "ReleaseLinux|Any CPU". Target Build: Project "/tmp/nbfc/Core/StagWare.Configurations/StagWare.FanControl.Configurations.csproj" (default target(s)): Target PrepareForBuild: Configuration: Release Platform: AnyCPU Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date. Target CoreCompile: Skipping target "CoreCompile" because its outputs are up-to-date. Done building project "/tmp/nbfc/Core/StagWare.Configurations/StagWare.FanControl.Configurations.csproj". Project "/tmp/nbfc/Core/Plugins/StagWare.Hardware.LPC/StagWare.Hardware.LPC.csproj" (default target(s)): Target PrepareForBuild: Configuration: Release Platform: AnyCPU Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date. Target CoreCompile: Skipping target "CoreCompile" because its outputs are up-to-date. Done building project "/tmp/nbfc/Core/Plugins/StagWare.Hardware.LPC/StagWare.Hardware.LPC.csproj". The project 'OpenHardwareMonitorLib' is disabled for solution configuration 'ReleaseLinux|Any CPU'. The project 'StagWare.BiosInfo' is disabled for solution configuration 'ReleaseLinux|Any CPU'. Project "/tmp/nbfc/Core/StagWare.FanControl/StagWare.FanControl.csproj" (default target(s)): Target PrepareForBuild: Configuration: Release Platform: AnyCPU Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date. Target CoreCompile: Skipping target "CoreCompile" because its outputs are up-to-date. Done building project "/tmp/nbfc/Core/StagWare.FanControl/StagWare.FanControl.csproj". The project 'ConfigEditor' is disabled for solution configuration 'ReleaseLinux|Any CPU'. The project 'DriverSetupWixAction' is disabled for solution configuration 'ReleaseLinux|Any CPU'. The project 'StagWare.Hardware' is disabled for solution configuration 'ReleaseLinux|Any CPU'. Project "/tmp/nbfc/Core/NbfcProbe/NbfcProbe.csproj" (default target(s)): Target PrepareForBuild: Configuration: ReleaseLinux Platform: AnyCPU Target ResolveAssemblyReferences: /usr/lib/mono/4.5/Microsoft.Common.targets: warning : Reference 'clipr, Version=1.4.7.0, Culture=neutral, processorArchitecture=MSIL' not resolved For searchpath {CandidateAssemblyFiles} Warning: {CandidateAssemblyFiles} not supported currently For searchpath {HintPathFromItem} Considered ../../packages/clipr.1.4.7.0/lib/net35/clipr.dll, but it does not exist. For searchpath {TargetFrameworkDirectory} Considered target framework dir /usr/lib/mono/4.0, assembly named 'clipr' not found. For searchpath {PkgConfig} Considered clipr, Version=1.4.7.0, Culture=neutral, processorArchitecture=MSIL, but could not find in any pkg-config files. For searchpath {GAC} Considered clipr, Version=1.4.7.0, Culture=neutral, processorArchitecture=MSIL, but could not find in the GAC. For searchpath {RawFileName} Considered '/tmp/nbfc/Core/NbfcProbe/clipr, Version=1.4.7.0, Culture=neutral, processorArchitecture=MSIL' as a file, but the file does not exist For searchpath bin/ReleaseLinux/ Considered '/tmp/nbfc/Core/NbfcProbe/bin/ReleaseLinux/clipr' as a file, but the file does not exist Considered '/tmp/nbfc/Core/NbfcProbe/bin/ReleaseLinux/clipr.exe' as a file, but the file does not exist Considered '/tmp/nbfc/Core/NbfcProbe/bin/ReleaseLinux/clipr.dll' as a file, but the file does not exist Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date. Target CoreCompile: Tool /usr/bin/dmcs execution started with arguments: /noconfig /debug:pdbonly /optimize+ /out:obj/ReleaseLinux/ec-probe.exe CommandLineOptions/ECWriteVerb.cs CommandLineOptions/ECReadVerb.cs CommandLineOptions/ECDumpVerb.cs CommandLineOptions/CustomHelpGenerator.cs CommandLineOptions/Verbs.cs Program.cs Properties/AssemblyInfo.cs /target:exe /define:TRACE /main:NbfcProbe.Program /platform:AnyCPU /reference:/usr/lib/mono/4.0/System.dll /reference:/usr/lib/mono/4.0/System.Core.dll /reference:/tmp/nbfc/Core/StagWare.FanControl/bin/Release//StagWare.FanControl.dll /warn:2 CommandLineOptions/ECWriteVerb.cs(1,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/ECReadVerb.cs(1,7): error CS0246: The type or namespace nameclipr' could not be found. Are you missing an assembly reference? CommandLineOptions/ECDumpVerb.cs(1,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(1,7): error CS0246: The type or namespace nameclipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(2,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(3,7): error CS0246: The type or namespace nameclipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(4,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/Verbs.cs(1,7): error CS0246: The type or namespace nameclipr' could not be found. Are you missing an assembly reference? Program.cs(1,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(11,40): error CS0246: The type or namespace nameTriggerBase' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(11,53): error CS0246: The type or namespace name IHelpGenerator' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(25,32): error CS0115:NbfcProbe.CommandLineOptions.CustomHelpGenerator.Description' is marked as an override but no suitable property found to override CommandLineOptions/CustomHelpGenerator.cs(30,32): error CS0115: NbfcProbe.CommandLineOptions.CustomHelpGenerator.Name' is marked as an override but no suitable property found to override CommandLineOptions/CustomHelpGenerator.cs(40,31): error CS0246: The type or namespace nameIParserConfig' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(71,29): error CS0246: The type or namespace name `IParserConfig' could not be found. Are you missing an assembly reference? Task "Csc" execution -- FAILED Done building target "CoreCompile" in project "/tmp/nbfc/Core/NbfcProbe/NbfcProbe.csproj".-- FAILED Done building project "/tmp/nbfc/Core/NbfcProbe/NbfcProbe.csproj".-- FAILED Project "/tmp/nbfc/Core/Plugins/StagWare.Plugins.ECLinux/StagWare.Plugins.ECLinux.csproj" (default target(s)): Target PrepareForBuild: Configuration: ReleaseLinux Platform: AnyCPU Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date. Target CoreCompile: Skipping target "CoreCompile" because its outputs are up-to-date. Done building project "/tmp/nbfc/Core/Plugins/StagWare.Plugins.ECLinux/StagWare.Plugins.ECLinux.csproj". Project "/tmp/nbfc/Core/Plugins/StagWare.Plugins.FSTemperatureMonitor/StagWare.Plugins.FSTemperatureMonitor.csproj" (default target(s)): Target PrepareForBuild: Configuration: ReleaseLinux Platform: AnyCPU Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date. Target CoreCompile: Skipping target "CoreCompile" because its outputs are up-to-date. Target AfterBuild: Creating directory '/tmp/nbfc/Linux/bin/ReleaseLinux/Plugins/' Copying file from '/tmp/nbfc/Core/Plugins/StagWare.Plugins.FSTemperatureMonitor/bin/ReleaseLinux/StagWare.Plugins.FSTemperatureMonitor.dll' to '/tmp/nbfc/Linux/bin/ReleaseLinux/Plugins/StagWare.Plugins.FSTemperatureMonitor.dll' Done building project "/tmp/nbfc/Core/Plugins/StagWare.Plugins.FSTemperatureMonitor/StagWare.Plugins.FSTemperatureMonitor.csproj". Project "/tmp/nbfc/Core/Plugins/StagWare.Plugins.ECSysLinux/StagWare.Plugins.ECSysLinux.csproj" (default target(s)): Target PrepareForBuild: Configuration: ReleaseLinux Platform: AnyCPU Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date. Target CoreCompile: Skipping target "CoreCompile" because its outputs are up-to-date. Target AfterBuild: Copying file from '/tmp/nbfc/Core/Plugins/StagWare.Plugins.ECSysLinux/bin/ReleaseLinux/StagWare.Plugins.ECSysLinux.dll' to '/tmp/nbfc/Linux/bin/ReleaseLinux/Plugins/StagWare.Plugins.ECSysLinux.dll' Done building project "/tmp/nbfc/Core/Plugins/StagWare.Plugins.ECSysLinux/StagWare.Plugins.ECSysLinux.csproj". Task "MSBuild" execution -- FAILED Done building target "Build" in project "/tmp/nbfc/NoteBookFanControl.sln".-- FAILED Done building project "/tmp/nbfc/NoteBookFanControl.sln".-- FAILED

Build FAILED.

Warnings:

/tmp/nbfc/Windows/Setup/NbfcSetup/NbfcSetup.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring. /tmp/nbfc/Windows/Setup/NbfcBootstrapper/NbfcBootstrapper.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring. /tmp/nbfc/Windows/Setup/DriverSetupWixAction/DriverSetupWixAction.csproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.CA.targets, to import. Ignoring.

/tmp/nbfc/NoteBookFanControl.sln (Build) -> (Build target) -> /tmp/nbfc/Core/NbfcProbe/NbfcProbe.csproj (default targets) -> /usr/lib/mono/4.5/Microsoft.Common.targets (ResolveAssemblyReferences target) ->

/usr/lib/mono/4.5/Microsoft.Common.targets: warning : Reference 'clipr, Version=1.4.7.0, Culture=neutral, processorArchitecture=MSIL' not resolved

Errors:

/tmp/nbfc/NoteBookFanControl.sln (Build) -> (Build target) -> /tmp/nbfc/Core/NbfcProbe/NbfcProbe.csproj (default targets) -> /usr/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->

CommandLineOptions/ECWriteVerb.cs(1,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/ECReadVerb.cs(1,7): error CS0246: The type or namespace nameclipr' could not be found. Are you missing an assembly reference? CommandLineOptions/ECDumpVerb.cs(1,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(1,7): error CS0246: The type or namespace nameclipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(2,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(3,7): error CS0246: The type or namespace nameclipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(4,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/Verbs.cs(1,7): error CS0246: The type or namespace nameclipr' could not be found. Are you missing an assembly reference? Program.cs(1,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(11,40): error CS0246: The type or namespace nameTriggerBase' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(11,53): error CS0246: The type or namespace name IHelpGenerator' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(25,32): error CS0115:NbfcProbe.CommandLineOptions.CustomHelpGenerator.Description' is marked as an override but no suitable property found to override CommandLineOptions/CustomHelpGenerator.cs(30,32): error CS0115: NbfcProbe.CommandLineOptions.CustomHelpGenerator.Name' is marked as an override but no suitable property found to override CommandLineOptions/CustomHelpGenerator.cs(40,31): error CS0246: The type or namespace nameIParserConfig' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(71,29): error CS0246: The type or namespace name `IParserConfig' could not be found. Are you missing an assembly reference?

4 Warning(s) 15 Error(s)

Time Elapsed 00:00:01.4964370 /tmp/nbfc

I use Ubuntu 14.04 and installed the mono-complete as desccribed.

Thanks

hirschmann commented 8 years ago

Looks like the build script could not restore the nuget packages which are required to build NBFC.

Please try the following: If there is no nuget.exe in the nbfc folder you checked out, download it: wget http://nuget.org/nuget.exe

Then try to restore the packages: mozroots --import --sync mono nuget.exe restore

steadfasterX commented 8 years ago

Hi, yes great. Thanks for the fast help! That worked like a charm but now I can't find the service file: "start-nbfcservice.sh"...

The build completed with the following warnings (and without errors):

/tmp/nbfc/Windows/Setup/NbfcSetup/NbfcSetup.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring. /tmp/nbfc/Windows/Setup/NbfcBootstrapper/NbfcBootstrapper.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring. /tmp/nbfc/Windows/Setup/DriverSetupWixAction/DriverSetupWixAction.csproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.CA.targets, to import. Ignoring.

hirschmann commented 8 years ago

The script should be at: /tmp/nbfc/Linux/bin/ReleaseLinux/start-nbfcservice.sh You can ignore the warnings. They are related to several Windows-Setup projects which are not included in the Linux build configuration anyway.

steadfasterX commented 8 years ago

Unfortunately not I searched the whole directory including all subdirs:

find /tmp/nbfc/Linux/bin/ReleaseLinux/ /tmp/nbfc/Linux/bin/ReleaseLinux/ /tmp/nbfc/Linux/bin/ReleaseLinux/StagWare.FanControl.dll /tmp/nbfc/Linux/bin/ReleaseLinux/StagWare.FanControl.Configurations.dll /tmp/nbfc/Linux/bin/ReleaseLinux/nbfc.exe.config /tmp/nbfc/Linux/bin/ReleaseLinux/nbfc.exe /tmp/nbfc/Linux/bin/ReleaseLinux/Plugins /tmp/nbfc/Linux/bin/ReleaseLinux/Plugins/StagWare.Plugins.ECSysLinux.dll /tmp/nbfc/Linux/bin/ReleaseLinux/Plugins/StagWare.Plugins.FSTemperatureMonitor.dll /tmp/nbfc/Linux/bin/ReleaseLinux/clipr.dll /tmp/nbfc/Linux/bin/ReleaseLinux/NbfcService.exe.config /tmp/nbfc/Linux/bin/ReleaseLinux/ec-probe.exe /tmp/nbfc/Linux/bin/ReleaseLinux/StagWare.FanControl.Service.dll /tmp/nbfc/Linux/bin/ReleaseLinux/Configs /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Sony Vaio SVE1713Y1E.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP EliteBook 8760w.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire 7741G.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire S3.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire V3-371.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Lenovo Yoga 13 2191.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP Compaq 8710p.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire VN7-591 V15 Nitro.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP ENVY m6 Sleekbook.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Lenovo ThinkPad Helix.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Packard Bell Easynote TJ65.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Asus F5SR.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Asus Zenbook UX32LN.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Asus Zenbook UX31A.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer LT-10Q.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Lenovo x121e 30515YG.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer TravelMate 7730G.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Asus Zenbook UX51VZA.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Lenovo V580.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire One AO531h.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Asus Zenbook UX302LA.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Lenovo Yoga 3 14.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP ProBook 5330m.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Medion Akoya P6612.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Packard Bell AOA110.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire 7551G.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP ProBook 6560b.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP ProBook 650 G1.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Packard Bell ENBFT.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP ProBook 440 G3.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Asus Zenbook UX301LA.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Fujitsu ESPRIMO Mobile V5505.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire 1810TZ.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire 1410.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP Compaq 615.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire E5-731.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP ProBook 450 G1.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Gateway LT31.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP ProBook 4720s.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP ProBook 4530s.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire 5930.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP EliteBook 2760p.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire LT-10Q.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Asus Zenbook UX32A.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Packard Bell DOTMA.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Asus N550JV.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire 1810T.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Gateway AOA150.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Sony Vaio SVT1312M1ES.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Asus N56VZ.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire 5738G.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Asus N56JR.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Medion Akoya P6630.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Asus Vivobook S400CA.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Asus ROG G751JY.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Asus Zenbook UX21E.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire One AOA150.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Packard Bell DOTMU.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP EliteBook 8560p.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire E1-522.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Sony Vaio SVE1711.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire VN7-792G V17 Nitro.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire S7-191.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP Compaq 6735s Turion X2 RM-72.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Dell XPS M1530.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Lenovo ThinkPad Edge E520.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Asus M52VA.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire 7735.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire One AOA110.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire S7-391.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP ProBook 6460b.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Dell Vostro 3350.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Packard Bell DOA150.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Dell Inspiron 7348.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP ProBook 430 G1.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Packard Bell DOTVR46.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP Compaq 625.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire V5-572G.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP ProBook 6465b.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Sony Vaio VPCF12S1E.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire One AO751h.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP ProBook 4535s.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Lenovo T540p.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP Pavilion dv6.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP ProBook 4710s.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Lenovo Yoga 2 13.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Gateway AOA110.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Acer Aspire 1825PTZ.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP EliteBook Folio 9470m.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Lenovo Yoga 11s.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP ZBook 15.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/HP ProBook 4520s.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Asus Zenbook UX32VD.xml /tmp/nbfc/Linux/bin/ReleaseLinux/Configs/Packard Bell AOA150.xml /tmp/nbfc/Linux/bin/ReleaseLinux/NbfcService.exe

hirschmann commented 8 years ago

In that case just copy the scripts from /tmp/nbfc/Linux to /tmp/nbfc/bin/ReleaseLinux/ If there are no scripts in /tmp/nbfc/Linux, clone the repository again - they should be there.

steadfasterX commented 8 years ago

Hm ok I cloned again and this time it worked for me. I now have the start/stop scripts there but it still doesn't work:

sudo ./start-nbfcservice.sh mono nbfc.exe start mono nbfc.exe set --auto

Then (I also tried with and without "sudo"):

mono nbfc.exe status -a Service enabled : False <-- ???? Selected config name : Temperature : 0

Could not get fan info because the service is disabled <-- ???

"ps aux |grep mono" shows that this is not true. The service is running:

root 9329 22.0 0.1 555004 31288 pts/0 Sl 19:36 0:00 /usr/bin/mono /usr/lib/mono/4.5/mono-service.exe -m:NbfcService ./NbfcService.exe

hirschmann commented 8 years ago

The daemon which hosts the NBFC service is running, but not the service itself. nbfc start has no effect because you have not selected a config.

steadfasterX commented 8 years ago

oh ok.

mono nbfc.exe config --apply HP\ Compaq\ 8710p mono nbfc.exe start mono nbfc.exe status -a

Service enabled : True Selected config name : HP Compaq 8710p Temperature : 69

Fan display name : Auto control enabled : True Critical mode enabled : False Current fan speed : 10.00 Target fan speed : 10.00 Fan speed steps : 101

Thanks for all your help! I only need to find out now how I can control my Clevo W55xEU fans....

bender2305 commented 8 years ago

Hello,

trying to build the linux version under linux mint 17.3 and same error as mentioned at thread opening happens to me. Unfortunately there is already a nuget.exe in the main folder and mozroots --import --sync fails with "Couldn't retrieve the file using the supplied information." Am I doing something wrong? Any help would be appreciated. Build output is attached below. Thank you very much!

WARNUNG: The initialization function tries to access Value on this instance WARNUNG: The initialization function tries to access Value on this instance WARNUNG: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure Unable to find version '1.4.7.0' of package 'clipr'. Unable to find version '2.5' of package 'Extended.Wpf.Toolkit'. Unable to find version '1.0.5' of package 'Hardcodet.NotifyIcon.Wpf'. XBuild Engine Version 12.0 Mono, Version 3.2.8.0 Copyright (C) 2005-2013 Various Mono authors

Build started 18.08.2016 08:03:00.


/home/martin/Downloads/fancontrol/Windows/Setup/NbfcSetup/NbfcSetup.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring. /home/martin/Downloads/fancontrol/Windows/Setup/NbfcBootstrapper/NbfcBootstrapper.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring. /home/martin/Downloads/fancontrol/Windows/Setup/DriverSetupWixAction/DriverSetupWixAction.csproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.CA.targets, to import. Ignoring. Project "/home/martin/Downloads/fancontrol/NoteBookFanControl.sln" (Build target(s)): Target ValidateSolutionConfiguration: Building solution configuration "ReleaseLinux|Any CPU". Target Build: Project "/home/martin/Downloads/fancontrol/Core/StagWare.Configurations/StagWare.FanControl.Configurations.csproj" (default target(s)): Target PrepareForBuild: Configuration: Release Platform: AnyCPU Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date. Target CoreCompile: Skipping target "CoreCompile" because its outputs are up-to-date. Done building project "/home/martin/Downloads/fancontrol/Core/StagWare.Configurations/StagWare.FanControl.Configurations.csproj". Project "/home/martin/Downloads/fancontrol/Core/Plugins/StagWare.Hardware.LPC/StagWare.Hardware.LPC.csproj" (default target(s)): Target PrepareForBuild: Configuration: Release Platform: AnyCPU Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date. Target CoreCompile: Skipping target "CoreCompile" because its outputs are up-to-date. Done building project "/home/martin/Downloads/fancontrol/Core/Plugins/StagWare.Hardware.LPC/StagWare.Hardware.LPC.csproj". The project 'OpenHardwareMonitorLib' is disabled for solution configuration 'ReleaseLinux|Any CPU'. The project 'StagWare.BiosInfo' is disabled for solution configuration 'ReleaseLinux|Any CPU'. Project "/home/martin/Downloads/fancontrol/Core/StagWare.FanControl/StagWare.FanControl.csproj" (default target(s)): Target PrepareForBuild: Configuration: Release Platform: AnyCPU Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date. Target CoreCompile: Skipping target "CoreCompile" because its outputs are up-to-date. Done building project "/home/martin/Downloads/fancontrol/Core/StagWare.FanControl/StagWare.FanControl.csproj". The project 'ConfigEditor' is disabled for solution configuration 'ReleaseLinux|Any CPU'. The project 'DriverSetupWixAction' is disabled for solution configuration 'ReleaseLinux|Any CPU'. The project 'StagWare.Hardware' is disabled for solution configuration 'ReleaseLinux|Any CPU'. Project "/home/martin/Downloads/fancontrol/Core/NbfcProbe/NbfcProbe.csproj" (default target(s)): Target PrepareForBuild: Configuration: ReleaseLinux Platform: AnyCPU Target ResolveAssemblyReferences: /usr/lib/mono/4.5/Microsoft.Common.targets: warning : Reference 'clipr, Version=1.4.7.0, Culture=neutral, processorArchitecture=MSIL' not resolved For searchpath {CandidateAssemblyFiles} Warning: {CandidateAssemblyFiles} not supported currently For searchpath {HintPathFromItem} Considered ../../packages/clipr.1.4.7.0/lib/net35/clipr.dll, but it does not exist. For searchpath {TargetFrameworkDirectory} Considered target framework dir /usr/lib/mono/4.0, assembly named 'clipr' not found. For searchpath {PkgConfig} Considered clipr, Version=1.4.7.0, Culture=neutral, processorArchitecture=MSIL, but could not find in any pkg-config files. For searchpath {GAC} Considered clipr, Version=1.4.7.0, Culture=neutral, processorArchitecture=MSIL, but could not find in the GAC. For searchpath {RawFileName} Considered '/home/martin/Downloads/fancontrol/Core/NbfcProbe/clipr, Version=1.4.7.0, Culture=neutral, processorArchitecture=MSIL' as a file, but the file does not exist For searchpath bin/ReleaseLinux/ Considered '/home/martin/Downloads/fancontrol/Core/NbfcProbe/bin/ReleaseLinux/clipr' as a file, but the file does not exist Considered '/home/martin/Downloads/fancontrol/Core/NbfcProbe/bin/ReleaseLinux/clipr.exe' as a file, but the file does not exist Considered '/home/martin/Downloads/fancontrol/Core/NbfcProbe/bin/ReleaseLinux/clipr.dll' as a file, but the file does not exist Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date. Target CoreCompile: Tool /usr/bin/dmcs execution started with arguments: /noconfig /debug:pdbonly /optimize+ /out:obj/ReleaseLinux/ec-probe.exe CommandLineOptions/ECWriteVerb.cs CommandLineOptions/ECReadVerb.cs CommandLineOptions/ECDumpVerb.cs CommandLineOptions/CustomHelpGenerator.cs CommandLineOptions/Verbs.cs Program.cs Properties/AssemblyInfo.cs /target:exe /define:TRACE /main:NbfcProbe.Program /platform:AnyCPU /reference:/usr/lib/mono/4.0/System.dll /reference:/usr/lib/mono/4.0/System.Core.dll /reference:/home/martin/Downloads/fancontrol/Core/StagWare.FanControl/bin/Release//StagWare.FanControl.dll /warn:2 CommandLineOptions/ECWriteVerb.cs(1,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/ECReadVerb.cs(1,7): error CS0246: The type or namespace nameclipr' could not be found. Are you missing an assembly reference? CommandLineOptions/ECDumpVerb.cs(1,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(1,7): error CS0246: The type or namespace nameclipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(2,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(3,7): error CS0246: The type or namespace nameclipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(4,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/Verbs.cs(1,7): error CS0246: The type or namespace nameclipr' could not be found. Are you missing an assembly reference? Program.cs(1,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(11,40): error CS0246: The type or namespace nameTriggerBase' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(11,53): error CS0246: The type or namespace name IHelpGenerator' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(25,32): error CS0115:NbfcProbe.CommandLineOptions.CustomHelpGenerator.Description' is marked as an override but no suitable property found to override CommandLineOptions/CustomHelpGenerator.cs(30,32): error CS0115: NbfcProbe.CommandLineOptions.CustomHelpGenerator.Name' is marked as an override but no suitable property found to override CommandLineOptions/CustomHelpGenerator.cs(40,31): error CS0246: The type or namespace nameIParserConfig' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(71,29): error CS0246: The type or namespace name `IParserConfig' could not be found. Are you missing an assembly reference? Task "Csc" execution -- FAILED Done building target "CoreCompile" in project "/home/martin/Downloads/fancontrol/Core/NbfcProbe/NbfcProbe.csproj".-- FAILED Done building project "/home/martin/Downloads/fancontrol/Core/NbfcProbe/NbfcProbe.csproj".-- FAILED Project "/home/martin/Downloads/fancontrol/Core/Plugins/StagWare.Plugins.ECLinux/StagWare.Plugins.ECLinux.csproj" (default target(s)): Target PrepareForBuild: Configuration: ReleaseLinux Platform: AnyCPU Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date. Target CoreCompile: Skipping target "CoreCompile" because its outputs are up-to-date. Target AfterBuild: Copying file from '/home/martin/Downloads/fancontrol/Core/Plugins/StagWare.Plugins.ECLinux/bin/ReleaseLinux/StagWare.Hardware.LPC.dll' to '/home/martin/Downloads/fancontrol/Linux/bin/ReleaseLinux/Plugins/StagWare.Hardware.LPC.dll' Copying file from '/home/martin/Downloads/fancontrol/Core/Plugins/StagWare.Plugins.ECLinux/bin/ReleaseLinux/StagWare.Plugins.ECLinux.dll' to '/home/martin/Downloads/fancontrol/Linux/bin/ReleaseLinux/Plugins/StagWare.Plugins.ECLinux.dll' Done building project "/home/martin/Downloads/fancontrol/Core/Plugins/StagWare.Plugins.ECLinux/StagWare.Plugins.ECLinux.csproj". Project "/home/martin/Downloads/fancontrol/Core/Plugins/StagWare.Plugins.FSTemperatureMonitor/StagWare.Plugins.FSTemperatureMonitor.csproj" (default target(s)): Target PrepareForBuild: Configuration: ReleaseLinux Platform: AnyCPU Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date. Target CoreCompile: Skipping target "CoreCompile" because its outputs are up-to-date. Target AfterBuild: Copying file from '/home/martin/Downloads/fancontrol/Core/Plugins/StagWare.Plugins.FSTemperatureMonitor/bin/ReleaseLinux/StagWare.Plugins.FSTemperatureMonitor.dll' to '/home/martin/Downloads/fancontrol/Linux/bin/ReleaseLinux/Plugins/StagWare.Plugins.FSTemperatureMonitor.dll' Done building project "/home/martin/Downloads/fancontrol/Core/Plugins/StagWare.Plugins.FSTemperatureMonitor/StagWare.Plugins.FSTemperatureMonitor.csproj". Task "MSBuild" execution -- FAILED Done building target "Build" in project "/home/martin/Downloads/fancontrol/NoteBookFanControl.sln".-- FAILED Done building project "/home/martin/Downloads/fancontrol/NoteBookFanControl.sln".-- FAILED

Build FAILED.

Warnings:

/home/martin/Downloads/fancontrol/Windows/Setup/NbfcSetup/NbfcSetup.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring. /home/martin/Downloads/fancontrol/Windows/Setup/NbfcBootstrapper/NbfcBootstrapper.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring. /home/martin/Downloads/fancontrol/Windows/Setup/DriverSetupWixAction/DriverSetupWixAction.csproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.CA.targets, to import. Ignoring.

/home/martin/Downloads/fancontrol/NoteBookFanControl.sln (Build) -> (Build target) -> /home/martin/Downloads/fancontrol/Core/NbfcProbe/NbfcProbe.csproj (default targets) -> /usr/lib/mono/4.5/Microsoft.Common.targets (ResolveAssemblyReferences target) ->

/usr/lib/mono/4.5/Microsoft.Common.targets: warning : Reference 'clipr, Version=1.4.7.0, Culture=neutral, processorArchitecture=MSIL' not resolved

Errors:

/home/martin/Downloads/fancontrol/NoteBookFanControl.sln (Build) -> (Build target) -> /home/martin/Downloads/fancontrol/Core/NbfcProbe/NbfcProbe.csproj (default targets) -> /usr/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->

CommandLineOptions/ECWriteVerb.cs(1,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/ECReadVerb.cs(1,7): error CS0246: The type or namespace nameclipr' could not be found. Are you missing an assembly reference? CommandLineOptions/ECDumpVerb.cs(1,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(1,7): error CS0246: The type or namespace nameclipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(2,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(3,7): error CS0246: The type or namespace nameclipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(4,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/Verbs.cs(1,7): error CS0246: The type or namespace nameclipr' could not be found. Are you missing an assembly reference? Program.cs(1,7): error CS0246: The type or namespace name clipr' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(11,40): error CS0246: The type or namespace nameTriggerBase' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(11,53): error CS0246: The type or namespace name IHelpGenerator' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(25,32): error CS0115:NbfcProbe.CommandLineOptions.CustomHelpGenerator.Description' is marked as an override but no suitable property found to override CommandLineOptions/CustomHelpGenerator.cs(30,32): error CS0115: NbfcProbe.CommandLineOptions.CustomHelpGenerator.Name' is marked as an override but no suitable property found to override CommandLineOptions/CustomHelpGenerator.cs(40,31): error CS0246: The type or namespace nameIParserConfig' could not be found. Are you missing an assembly reference? CommandLineOptions/CustomHelpGenerator.cs(71,29): error CS0246: The type or namespace name `IParserConfig' could not be found. Are you missing an assembly reference?

4 Warning(s) 15 Error(s)

Time Elapsed 00:00:00.8652120

hirschmann commented 8 years ago

Looks like nuget.exe can't download the packages which are required to build NBFC because the Mozilla root certificates could not be imported into the user store.

Try to import the Mozilla root certificates into the machine store: sudo mozroots --import --machine --sync

If this fails, try to import the necessary certificates from an SSL session:

sudo certmgr -ssl -m https://go.microsoft.com
sudo certmgr -ssl -m https://nugetgallery.blob.core.windows.net
sudo certmgr -ssl -m https://nuget.org

Then run the build script again.

bender2305 commented 8 years ago

Importing the Mozilla root certificates into the machine store was failing but import from an SSL session worked well for me and nbfc runs great now! Thank you!