Hi,

I tried to install using the following eb file :

easyblock = 'ConfigureMake'

name = "lm-sensors"
version = "3.4.0"

homepage = "https://github.com/groeck/lm-sensors";
description = """The lm-sensors package,  provides user-space support for
the
hardware monitoring drivers in Linux. """

buildopts = 'all'

toolchain = {'name': 'dummy', 'version': ''}

source_urls = ['https://github.com/groeck/lm-sensors.git']
sources = [SOURCE_TAR_GZ]
checksums =
['e79c58404f8d792c153207a957b1ed59ed5df109b25482a39526106a4a4acbd3']

dependencies = [('GCC', '4.9.2'), ('Bison', '3.0.4'), ('flex', '2.6.0')]

skipsteps = ['configure']
installopts = 'PREFIX=%(installdir)s'

moduleclass = "lang"


But i keep getting this error:

mkdir -p /etc /etc/sensors.d
mkdir: cannot create directory '/etc/sensors.d': Read-only file system
make: *** [install-etc] Error 1
 (at
easybuild/centos/7.3.1611/Broadwell/software/EasyBuild/3.5.0/lib/python2.7/site-packages/easybuild_framework-3.5.0-py2.7.egg/easybuild/tools/run.py:481
in parse_cmd_output)
== 2018-05-02 01:21:36,082 easyblock.py:2685 WARNING build failed (first
300 chars): cmd " make install
PREFIX=/sNow/easybuild/centos/7.3.1611/Broadwell/software/lm-sensors/3.4.0"
exited with exit code 2 and output:
mkdir -p
/sNow/easybuild/centos/7.3.1611/Broadwell/software/lm-sensors/3.4.0/lib
/sNow/easybuild/centos/7.3.1611/Broadwell/software/lm-sensors/3.4.0/include/sensors
/sNo
== 2018-05-02 01:21:36,082 easyblock.py:279 INFO Closing log for
application name lm-sensors version 3.4.0

Is there anyway to set these permissions through easybuild or should I
change the permission separately?

Yours sincerely,



*Joseph John*

*Assistant Professor*

*Department of Computer Science & Engineering*
*Rajagiri School of Engineering & Technology*
*https://josephjohnjj.github.io/ <https://josephjohnjj.github.io/>*

On Sun, Mar 25, 2018 at 1:10 AM, Pablo Escobar Lopez <
[email protected]> wrote:

> Hi Joseph,
>
> The installation procedure is "make all" and "make install" so it
> shouldn't be difficult to install it using easybuild. Providing the
> dependencies with easybuild shouldn't be difficult neither.
> https://github.com/groeck/lm-sensors/blob/master/INSTALL
>
> You can use this easyconfig as reference
> https://github.com/easybuilders/easybuild-easyconfigs/blob/
> 68176cd383d3bc3569894bced5a3fda001d0e4fb/easybuild/
> easyconfigs/l/LuaJIT/LuaJIT-2.0.2-GCC-4.9.2.eb
>
> I think the only missing detail in that easyconfig is
> buildopts = 'all'
>
> You still need proper support from your kernel but I guess this should be
> provided by most modern distributions out of the box.
>
> regards,
> Pablo.
>
>
> On Sat, Mar 24, 2018 at 6:52 AM, Mr. Joseph John <
> [email protected]> wrote:
>
>> Hi,
>>
>>  I there anyay to install lm-sensors using easybuild?
>>
>> yours sincerely,
>>
>>
>> *Joseph John *
>>
>> *Assistant Professor *
>>
>> *Department of Computer Science & Engineering *
>> *Rajagiri School of Engineering & Technology*
>> *https://josephjohnjj.github.io/ <https://josephjohnjj.github.io/>*
>>
>
>
>
> --
> Pablo Escobar López
> Linux/HPC systems engineer
> sciCORE, University of Basel
> SIB Swiss Institute of Bioinformatics
> http://scicore.unibas.ch
>

Reply via email to