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: "Zimoch, Dirk" <dirk.zimoch at psi.ch>
Cc: "Zimoch, Dirk via Tech-talk" <tech-talk at aps.anl.gov>
Date: Fri, 10 Apr 2026 10:54:06 +0200
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


Replies:
Re: StreamDevice error involving PCRE library in Debian Trixie Torsten Bögershausen via Tech-talk
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

Navigate by Date:
Prev: Re: PVA via sshuttel tunnel Ralph Lange via Tech-talk
Next: Re: StreamDevice error involving PCRE library in Debian Trixie Torsten Bögershausen 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 Zimoch, Dirk via Tech-talk
Next: Re: StreamDevice error involving PCRE library in Debian Trixie Torsten Bögershausen 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 ·