Re: [comedi] install error of comedi on rhel9

A Asraoui <[email protected]> Tue, 24 Jun 2025 14:19:37 -0700 (PDT)
Newsgroups gmane.linux.comedi
Message-ID <[email protected]>
------=_Part_7438_1206581076.1750799977639
Content-Type: multipart/alternative; 
	boundary="----=_Part_7439_1302550966.1750799977639"

------=_Part_7439_1302550966.1750799977639
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

comedi successfully installed however running into an install issue with=20
comedilib-0.13.0 specifically
at this stage here:
mkdir -p '/usr/local/share/doc/comedilib/html'
/bin/install -c m 644 ./html/acquisitionfunction.html ./html/xxx....
/bin/install can not stat './html/acquisitionfuntions.html' : No such file=
=20
or directory
...
[Makefile:843: install-html-local] Error 1
are there any requirements for the LD_LIBRARY_PATH settings for this=20
install ?

Thanks!
On Tuesday, June 24, 2025 at 10:49:26=E2=80=AFAM UTC-7 Ian Abbott wrote:

> On 20/06/2025 22:32, A Asraoui wrote:
> > thank you Ian for checking on this , when do we get the updated version=
=20
> > with the fix ..
>
> I haven't fixed it yet, but the modules should get installed despite the=
=20
> SSL signing errors. The kernel should be able to load the modules=20
> unless it is built with the CONFIG_MODULE_SIG_FORCE option, or the=20
> module.sig_enforce kernel command line parameter is set, or secure boot=
=20
> is enabled.
>
> Note that due to a recently fixed kernel memory corruption bug, be sure=
=20
> to use the latest sources at the time of this email, or later.
>
> Cheers,
> Ian
>
> > On Friday, June 20, 2025 at 4:07:44=E2=80=AFAM UTC-7 Ian Abbott wrote:
> >=20
> > On 16/06/2025 15:24, A Asraoui wrote:
> > > hi,
> > > Running into ssl error during the install of comedi and wondering if
> > > this is a known problem in rhel9
> > > thanks!
> > > ./autogen.sh
> > > make
> > > make install
> > > make entering dir "/usr/local/comedi'
> > >
> > > make -I /usr/local/comedi/comedi -C /lib/modules/..../build M=3D/usr/
> > > local/comedi/comedi \
> > >       INSTALL_MOD_DIR=3Dcomedi \
> > >       INSTALL_MOD_PATH=3D"/" modules_install
> > > make[4]: Entering directory '/usr/src/linix-xxxx
> > >   INSTALL //lib/modules/xxxx/comedit/comedi/comedi.ko
> > >   STRIP //lib/modules/xxxx/comedit/comedi/comedi.ko
> > >   SIGN //lib.modules/xxx/comedi/comedi.ko
> > > At main.c:171
> > > -SSL error: Fxxxx:system library: No such file or directory: crypto/
> > > bios/bss_file.c:67
> > > -SSL_error:1xxxxx:BIO routines::no such file: crypto:/bio/
> > bss_file.c:75
> > > sign-file: ./certs/signing_key.pem
> >=20
> > I can reproduce it. It's under investigation. I think the eventual
> > solution will involve using "akmods" to sign the modules.
> >=20
> > In the meantime, I have fixed a problem with comedi failing to build
> > for
> > later versions of Red Hat's 5.14 kernels due to Red Hat back-porting
> > API
> > changes to the class_create() function from the mainline 6.4 kernel.
> > This broke Comedi's kernel compatibility wrapper code for this
> > function.
>
> --=20
> -=3D( Ian Abbott <[email protected]> || MEV Ltd. is a company )=3D-
> -=3D( registered in England & Wales. Regd. number: 02862268. )=3D-
> -=3D( Regd. addr.: S11 & 12 Building 67, Europa Business Park, )=3D-
> -=3D( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || www.mev.co.uk )=3D-
>

--=20
You received this message because you are subscribed to the Google Groups "=
Comedi: Linux Control and Measurement Device Interface" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/comedi_list=
/c3e17e94-9cbd-405f-b1a3-12edb930eb8en%40googlegroups.com.

------=_Part_7439_1302550966.1750799977639
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

comedi successfully installed however running into an install issue with co=
medilib-0.13.0 specifically<div>at this stage here:</div><div>mkdir -p '/us=
r/local/share/doc/comedilib/html'</div><div>/bin/install -c m 644 ./html/ac=
quisitionfunction.html ./html/xxx....</div><div>/bin/install can not stat '=
./html/acquisitionfuntions.html' : No such file or directory</div><div>...<=
/div><div>[Makefile:843: install-html-local] Error 1<br /><div>are there an=
y requirements for the LD_LIBRARY_PATH settings for this install ?</div></d=
iv><div><br /></div><div>Thanks!</div><div class=3D"gmail_quote"><div dir=
=3D"auto" class=3D"gmail_attr">On Tuesday, June 24, 2025 at 10:49:26=E2=80=
=AFAM UTC-7 Ian Abbott wrote:<br/></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); pad=
ding-left: 1ex;">On 20/06/2025 22:32, A Asraoui wrote:
<br>&gt; thank you Ian for checking on this , when do we get the updated ve=
rsion=20
<br>&gt; with the fix ..
<br>
<br>I haven&#39;t fixed it yet, but the modules should get installed despit=
e the=20
<br>SSL signing errors.  The kernel should be able to load the modules=20
<br>unless it is built with the CONFIG_MODULE_SIG_FORCE option, or the=20
<br>module.sig_enforce kernel command line parameter is set, or secure boot=
=20
<br>is enabled.
<br>
<br>Note that due to a recently fixed kernel memory corruption bug, be sure=
=20
<br>to use the latest sources at the time of this email, or later.
<br>
<br>Cheers,
<br>Ian
<br>
<br>&gt; On Friday, June 20, 2025 at 4:07:44=E2=80=AFAM UTC-7 Ian Abbott wr=
ote:
<br>&gt;=20
<br>&gt;     On 16/06/2025 15:24, A Asraoui wrote:
<br>&gt;      &gt; hi,
<br>&gt;      &gt; Running into ssl error during the install of comedi and =
wondering if
<br>&gt;      &gt; this is a known problem in rhel9
<br>&gt;      &gt; thanks!
<br>&gt;      &gt; ./autogen.sh
<br>&gt;      &gt; make
<br>&gt;      &gt; make install
<br>&gt;      &gt; make entering dir &quot;/usr/local/comedi&#39;
<br>&gt;      &gt;
<br>&gt;      &gt; make -I /usr/local/comedi/comedi -C /lib/modules/..../bu=
ild M=3D/usr/
<br>&gt;      &gt; local/comedi/comedi \
<br>&gt;      &gt; =C2=A0 =C2=A0 =C2=A0 INSTALL_MOD_DIR=3Dcomedi \
<br>&gt;      &gt; =C2=A0 =C2=A0 =C2=A0 INSTALL_MOD_PATH=3D&quot;/&quot; mo=
dules_install
<br>&gt;      &gt; make[4]: Entering directory &#39;/usr/src/linix-xxxx
<br>&gt;      &gt; =C2=A0 INSTALL //lib/modules/xxxx/comedit/comedi/comedi.=
ko
<br>&gt;      &gt; =C2=A0 STRIP //lib/modules/xxxx/comedit/comedi/comedi.ko
<br>&gt;      &gt; =C2=A0 SIGN //lib.modules/xxx/comedi/comedi.ko
<br>&gt;      &gt; At main.c:171
<br>&gt;      &gt; -SSL error: Fxxxx:system library: No such file or direct=
ory: crypto/
<br>&gt;      &gt; bios/bss_file.c:67
<br>&gt;      &gt; -SSL_error:1xxxxx:BIO routines::no such file: crypto:/bi=
o/
<br>&gt;     bss_file.c:75
<br>&gt;      &gt; sign-file: ./certs/signing_key.pem
<br>&gt;=20
<br>&gt;     I can reproduce it. It&#39;s under investigation. I think the =
eventual
<br>&gt;     solution will involve using &quot;akmods&quot; to sign the mod=
ules.
<br>&gt;=20
<br>&gt;     In the meantime, I have fixed a problem with comedi failing to=
 build
<br>&gt;     for
<br>&gt;     later versions of Red Hat&#39;s 5.14 kernels due to Red Hat ba=
ck-porting
<br>&gt;     API
<br>&gt;     changes to the class_create() function from the mainline 6.4 k=
ernel.
<br>&gt;     This broke Comedi&#39;s kernel compatibility wrapper code for =
this
<br>&gt;     function.
<br>
<br>--=20
<br>-=3D( Ian Abbott &lt;<a href data-email-masked rel=3D"nofollow">abb...@=
mev.co.uk</a>&gt; || MEV Ltd. is a company  )=3D-
<br>-=3D( registered in England &amp; Wales.  Regd. number: 02862268.  )=3D=
-
<br>-=3D( Regd. addr.: S11 &amp; 12 Building 67, Europa Business Park, )=3D=
-
<br>-=3D( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || <a href=3D"http://www.=
mev.co.uk" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https=
://www.google.com/url?hl=3Den&amp;q=3Dhttp://www.mev.co.uk&amp;source=3Dgma=
il&amp;ust=3D1750885747669000&amp;usg=3DAOvVaw3TBqpFilrUxI_PWJ4cXR5L">www.m=
ev.co.uk</a> )=3D-
<br></blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Comedi: Linux Control and Measurement Device Interface&quot; group.<br=
 />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">comedi_=
[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
comedi_list/c3e17e94-9cbd-405f-b1a3-12edb930eb8en%40googlegroups.com?utm_me=
dium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/comedi_=
list/c3e17e94-9cbd-405f-b1a3-12edb930eb8en%40googlegroups.com</a>.<br />

------=_Part_7439_1302550966.1750799977639--

------=_Part_7438_1206581076.1750799977639--