Re: prce, do I need it?

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Fri, 18 Jul 2008 11:20:47 +0200


Hi Marc,

  this is not possible as pcre code is used in the core of the ROOT libraries. Just link your application with lib/libpcre.a and with lib/libfreetype.a.

Cheers, Fons.

Marc de Kamps wrote:
> I would like to reiterate the question I posted yesterday. I have built
> a static library version of root: libroot.a. I use SWIG to make a Python
> module of my own C++ code, which calls root. I link my own code aginst
> the static roor library libRoot.a, but on importing in Python I get the
> following error message.
>
>
>
> ImportError: /tmp/code/build/libs/DynamicLib/libmiinddynamic.so:
> undefined symbol: pcre_free
>
>
>
> This is not called in my own code in if possible I would like to be the
> code that references prce not to be part of the static ROOT library. Can
> I do this?
>
>
>
> Thanks,
>
> Marc
>
>
>
> ------------------------------------------------------------------------
>
> *From:* owner-roottalk_at_lxbuild091.cern.ch
> [mailto:owner-roottalk_at_lxbuild091.cern.ch] *On Behalf Of *Marc de Kamps
> *Sent:* 17 July 2008 11:18
> *To:* roottalk_at_lxbuild091.cern.ch
> *Subject:* [ROOT] Reference to prce
>
>
>
> Hi,
>
>
>
> I just built ROOT (v.5.20/00) from source on Fedora. I want to use a
> static version of the ROOT libraries so I have used make static.
>
>
>
> In the version of libRoot.a I create there are apparently references to
> pcre (a library for regular expressions). I prefer not to have those in
> if it can be avoided, but I can not find a way to switch them off in the
> install instructions Can I get rid of pcre or do I need to install it?
>
>
>
> Thanks,
>
> Marc.
>
> -
>
> Dr. Marc de Kamps
>
> Biosystems Group
>
> School of Computing
>
> University of Leeds
>
> LS29JT, Leeds, UK
>
>
>
> dekamps_at_comp.leeds.ac.uk <mailto:dekamps_at_comp.leeds.ac.uk>
>
> http:/www.comp.leeds.ac.uk/dekamps
>
>
>

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640
Received on Fri Jul 18 2008 - 11:22:30 CEST

This archive was generated by hypermail 2.2.0 : Fri Jul 18 2008 - 11:50:02 CEST