[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: have headers & libs, but cannot configure/make
From: |
Mike Miller |
Subject: |
Re: Re: have headers & libs, but cannot configure/make |
Date: |
Fri, 6 Jan 2017 07:18:55 -0800 |
User-agent: |
NeoMutt/20161126 (1.7.1) |
On Fri, Jan 06, 2017 at 09:55:44 -0500, John W. Eaton wrote:
> On 01/05/2017 02:37 PM, Mike Miller wrote:
> > On Tue, Jan 03, 2017 at 17:42:46 -0800, Chris Roat wrote:
> > > <elided>/gcc -std=gnu11 -o conftest --sysroot=<elided> -m64 -mcld
> > > -fopenmp
> > > -fopenmp -I<elided>/pcre -I<elided>/SuiteSparse_config --sysroot=<elided>
> > > -m64 -mcld -fopenmp -lstdc++ conftest.c -lpcre -lm
> > >
> > > <elided>: error: cannot find -lpcre
> > > /tmp/cc0c03Xl.o:conftest.c:function main: error: undefined reference to
> > > 'pcre_compile'
> > > collect2: error: ld returned 1 exit status
> > > configure:30566: $? = 1
> >
> > Ok, so it's only missing the appropriate -L option here. Octave's
> > configure currently does not have a PCRE_LDFLAGS variable, and it
> > probably should.
>
> I added that when I made this change:
>
> http://hg.savannah.gnu.org/hgweb/octave/rev/8e9dd0d6e337
>
> Does it work now for linking your pcre library?
I don't think it will, because it doesn't take PCRE_CPPFLAGS into
account when testing for the presence of pcre.h.
Why not use OCTAVE_CHECK_LIB for consistency?
--
mike
- Re: have headers & libs, but cannot configure/make, Chris Roat, 2017/01/03
- Re: have headers & libs, but cannot configure/make, Mike Miller, 2017/01/05
- Re: Re: have headers & libs, but cannot configure/make, John W. Eaton, 2017/01/06
- Re: Re: have headers & libs, but cannot configure/make,
Mike Miller <=
- Re: have headers & libs, but cannot configure/make, John W. Eaton, 2017/01/06
- Re: have headers & libs, but cannot configure/make, Mike Miller, 2017/01/06
- Re: have headers & libs, but cannot configure/make, John W. Eaton, 2017/01/06
- Re: have headers & libs, but cannot configure/make, John W. Eaton, 2017/01/06
- Re: have headers & libs, but cannot configure/make, Mike Miller, 2017/01/06
- Re: have headers & libs, but cannot configure/make, John W. Eaton, 2017/01/06
- Re: have headers & libs, but cannot configure/make, Mike Miller, 2017/01/06
Re: Re: have headers & libs, but cannot configure/make, John W. Eaton, 2017/01/06