[pypy-dev] Dependencies in noon-standard locations

Maciej Fijalkowski fijall at gmail.com
Mon Aug 31 23:04:59 CEST 2015


welll...... as you can see the C flag got passed through, so either
you have a typo or something is off. You can see what sort of gcc
invocation was there, so execute it and figure out why it's not
working

On Mon, Aug 31, 2015 at 10:47 PM, Skip Montanaro
<skip.montanaro at gmail.com> wrote:
>
> On Mon, Aug 31, 2015 at 3:16 PM, Maciej Fijalkowski <fijall at gmail.com>
> wrote:
>>
>> pypy should respect LDFLAGS and CFLAGS (but indeed not CPPFLAGS)
>
>
> Thanks. I gave that a try, but got the same error:
>
> blade% pwd
> /home/skipm/3rdParty/pypy-2.6.1-src/pypy/goal
> blade% LDFLAGS='-L /opt/TWWfsw/libexpat20/lib' CFLAGS='-I
> /opt/TWWfsw/libexpat20/Include' python ../../rpython/bin/rpython -Ojit
> targetpypystandalone
> ... lots of output elided ...
> [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall
> -Wno-unused -I /opt/TWWfsw/libexpat20/Include
> /tmp/usession-release-2.6.1-2/platcheck_54.c -o
> /tmp/usession-release-2.6.1-2/platcheck_54.o
> ...
> [translation:ERROR] CompilationError: CompilationError(err="""
> [translation:ERROR] /tmp/usession-release-2.6.1-2/platcheck_54.c:79:19:
> error: expat.h: No such file or directory
> [translation:ERROR] """)
>
>
> Skip
>
>


More information about the pypy-dev mailing list