Perl compile error - not yet resolved

Greg Schafer gschafer at zip.com.au
Tue Oct 1 01:33:44 PDT 2002


On Mon, Sep 30, 2002 at 08:31:43PM -0600, Gerard Beekmans wrote:
> Hi guys,
> 
> I just encountered a problem getting Perl to compile. I haven't resolved it 
> yet, still looking into it but I've hit a wall at the moment. Maybe somebody 
> has a clue:
> 
> root:/usr/src/perl-5.8.0# make
> `sh  cflags "optimize='-O2'" pp_sys.o`  pp_sys.c
>           CCCMD =  cc -DPERL_CORE -c -fno-strict-aliasing -I/opt/local/include 
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall
> cc1: warning: changing search order for system directory "/usr/local/include"
> cc1: warning:   as it is the same as non-system directory "/opt/local/include"
> cc1: warning: changing search order for system directory "/usr/include"
> cc1: warning:   as it is the same as non-system directory "/opt/local/include"

What's with the "-I/opt/local/include" ? Not sure where that came from. The
fact that you get the "changing search order" warning smells a bit fishy. This
possibly broke the perl configure step.

As an aside, gcc-3.2.1 will handle the "includes search order" thing a lot better.

Greg
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list