EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
<== Date ==> <== Thread ==>

Subject: Re: StreamDevice error involving PCRE library in Debian Trixie
From: Gerrit Kühn via Tech-talk <tech-talk at aps.anl.gov>
To: Gerrit Kühn via Tech-talk <tech-talk at aps.anl.gov>
Date: Fri, 10 Apr 2026 14:07:16 +0200
Am Fri, 10 Apr 2026 13:42:13 +0200
schrieb Gerrit Kühn via Tech-talk <tech-talk at aps.anl.gov>:

After reverting this commit

---
commit 4cdace3ffebd83e6fd1a894afacb415ee74e7b3a
Author: Ralph Lange <ralph.lange at gmx.de>
Date:   Thu Sep 2 14:13:44 2021 +0200

    make "stream" in DBD and other file names explicit
    
    The LIBRARY_* variables may specify *multiple* libraries.
    (So they can't be used as part of file names.)
---


even the latest version (2.8.26) and HEAD of StreamDevice compile just fine.
Likely my configuration is wrong somewhere, but I cannot locate the root
cause.


cu
  Gerrit



> Am Fri, 10 Apr 2026 12:02:50 +0200
> schrieb Torsten Bögershausen <tboegi at edom.se>:
> 
> 
> Hello Thorsten,
> 
> Yes, calc is in my tree under ~/EPICS/epics-support/calc and should be
> properly configured:
> 
> ---
> $ grep CALC ~/EPICS/epics-support/RELEASE.local 
> CALC=$(SUPPORT)/calc
> ---
> 
> I did not touch configure/RELEASE (in favour of RELEASE.local) in
> StreamDevice itself to keep the local setup more tidy.
> As I said, 2.8.20 compiles just fine. If I skip the make clean, I can even
> check out later tags afterwards and let make recompile StreamDevice
> including the changes. So it looks like the .dbd files just don't make it
> to src/O.Common/ for 2.8.21 and later versions.
> 
> There were several changes between 2.8.20 and 2.8.21 concerning
> DBD-handling, handling of includes and handling of calc particularly. I
> will try narrowing down which change actually causes the issue.
> 
> I am not sure what you suggest to comment out.
> 
> 
> cu
>   Gerrit
> 
> 
> 
> > Hej Jörn,
> > 
> > shooting into the blue:
> > Do you have the calc mdoulein your tree ?
> > Is it configured/needed in configure/RELEASE ?
> > Or any other file under configure/ ?
> > 
> > Or somewhere in one of the Makefile(s)?
> > 
> > Where you may be able to comment it out ?
> > 
> > Just guessing.
> > /Torsten
> > 
> > 
> > 
> > On 2026-04-10 10:54, Gerrit Kühn via Tech-talk wrote:  
> > > Am Thu, 9 Apr 2026 05:46:51 +0000
> > > schrieb "Zimoch, Dirk" <dirk.zimoch at psi.ch>:
> > > 
> > > Hello Dirk,
> > > 
> > > Enjoy your vacation!
> > > I just tried to continue with a manual installation of pcre-8.45
> > > instead, and ran into a different issue that maybe soneone else can
> > > shed a light on. Making StreamDevice (recent git checkout) stops with
> > > 
> > > ---
> > > make[2]: Entering directory
> > > '/home/epics/EPICS/epics-support/StreamDevice/src/O.linux-x86_64'
> > > dbdExpand.pl: No input files for ../O.Common/stream.dbd
> > > dbdExpand.pl: No input files for ../O.Common/stream-base.dbd
> > > dbdExpand.pl: No input files for ../O.Common/stream-scalcout.dbd
> > > make[2]: *** No rule to make target 'stream.dbd.d', needed by 'build'.
> > > Stop. ---
> > > 
> > > I just did a bit of surfing through git history and found that this
> > > compiles fine for me up to tag 2.8.20, but breaks with 2.8.21:
> > > 
> > > ---
> > > commit 51e4a0749d3197c1b76b4d38510df18d8ead5359 (tag: 2.8.21)
> > > Author: Ralph Lange <ralph.lange at gmx.de>
> > > Date:   Thu Sep 2 15:54:08 2021 +0200
> > > 
> > >      make "ifdef CALC" also consider SYNAPPS variable
> > >      
> > >      change the ifdefs to the same expression used in CONFIG_STREAM
> > > ---
> > > 
> > > 
> > > However, I fail to see why no dbd files are not found anymore now. Any
> > > hints are as always much appreciated.
> > > 
> > > 
> > > cu
> > >    Gerrit
> > > 
> > > 
> > >     
> > >> Hi Gerrit
> > >>
> > >> I am currently on vacation and cannot test anything.
> > >>
> > >> Dirk
> > >>    
> > >>> Am 09.04.2026 um 01:40 schrieb Gerrit Kühn <gerrit.kuehn at aei.mpg.de>:
> > >>>
> > >>> Am Wed, 18 Mar 2026 21:42:06 +0000
> > >>> schrieb "Zimoch, Dirk via Tech-talk" <tech-talk at aps.anl.gov>:
> > >>>
> > >>> Hello Dirk,
> > >>>
> > >>> Unfortunately, we cannot get your pcre2 branch to compile, it fails
> > >>> with
> > >>>
> > >>> ---
> > >>> -MM -MF StreamEpics.d  ../StreamEpics.cc
> > >>> dbdExpand.pl: No input files for ../O.Common/stream.dbd
> > >>> dbdExpand.pl: No input files for ../O.Common/stream-base.dbd
> > >>> dbdExpand.pl: No input files for ../O.Common/stream-scalcout.dbd
> > >>> make[2]: *** No rule to make target 'stream.dbd.d', needed by
> > >>> 'build'. Stop. make[2]: Leaving directory
> > >>> '/home/epics/EPICS/epics-support/StreamDevice/src/O.linux-x86_64'
> > >>> make[1]: *** [/home/epics/EPICS/epics-base/configure/RULES_ARCHS:58:
> > >>> install.linux-x86_64] Error 2 make[1]: Leaving directory
> > >>> '/home/epics/EPICS/epics-support/StreamDevice/src' make: ***
> > >>> [/home/epics/EPICS/epics-base/configure/RULES_DIRS:85: src.install]
> > >>> Error 2 ---
> > >>>
> > >>> Is there anything obvious we are overlooking? We can get a bit
> > >>> further using https://github.com/daykin/StreamDevice/commits/pcre2
> > >>>
> > >>> However, this only compiles up to base tag R7.0.9, but it will fail
> > >>> with R7.0.10. Is there any recommendation on how to proceed? Is there
> > >>> already an ETA for "official" pcre2 support in StreamDevice?
> > >>> Alternatively, we might also fall back to a manually installed pcre3
> > >>> for the time being.
> > >>>
> > >>>
> > >>> cu
> > >>>   Gerrit
> > >>>
> > >>>
> > >>>        
> > >>>> There is a branch on github where I started with pcre-2 support.
> > >>>> Dirk
> > >>>>
> > >>>> Am 19.03.2026 um 10:25 schrieb Windsor Tanner via Tech-talk
> > >>>> <tech-talk at aps.anl.gov>:
> > >>>>
> > >>>> 
> > >>>>
> > >>>> Hello All,
> > >>>>
> > >>>> My question pertains to getting StreamDevice to build on Debian
> > >>>> Trixie, as device support for EPICS.
> > >>>>
> > >>>> We're running into the following error related to the discrepancy
> > >>>> between the "new"  library packaged in Trixie, and the one which
> > >>>> StreamDevice depends on:
> > >>>>
> > >>>> ../RegexpConverter.cc:31:10: fatal error: pcre.h: No such file or
> > >>>> directory 31 | #include "pcre.h"
> > >>>>
> > >>>>
> > >>>> Does anyone know of a workaround/solution for this, other than
> > >>>> perhaps resorting to the legacy PCRE library? Is there a
> > >>>> configuration setting in the  StreamDevice clone that could be
> > >>>> changed to point to the location of the pcre2.h header in Trixie?
> > >>>>
> > >>>> It seems Debian removed the package (ibpcre3-dev) from Trixie that
> > >>>> would have been compatible with StreamDevice .
> > >>>>
> > >>>> Thanks in advance,
> > >>>>
> > >>>> Windsor    
> >   

Attachment: smime.p7s
Description: S/MIME cryptographic signature


References:
StreamDevice error involving PCRE library in Debian Trixie Windsor Tanner via Tech-talk
Re: StreamDevice error involving PCRE library in Debian Trixie Zimoch, Dirk via Tech-talk
Re: StreamDevice error involving PCRE library in Debian Trixie Gerrit Kühn via Tech-talk
Re: StreamDevice error involving PCRE library in Debian Trixie Zimoch, Dirk via Tech-talk
Re: StreamDevice error involving PCRE library in Debian Trixie Gerrit Kühn via Tech-talk
Re: StreamDevice error involving PCRE library in Debian Trixie Torsten Bögershausen via Tech-talk
Re: StreamDevice error involving PCRE library in Debian Trixie Gerrit Kühn via Tech-talk

Navigate by Date:
Prev: Re: StreamDevice error involving PCRE library in Debian Trixie Gerrit Kühn via Tech-talk
Next: Re: StreamDevice error involving PCRE library in Debian Trixie Michael Davidsaver via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
Navigate by Thread:
Prev: Re: StreamDevice error involving PCRE library in Debian Trixie Gerrit Kühn via Tech-talk
Next: Re: StreamDevice error involving PCRE library in Debian Trixie Michael Davidsaver via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
ANJ, 10 Apr 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·