[PyKDE] IRIX build problems

Phil Thompson phil at river-bank.demon.co.uk
Fri Dec 17 11:33:27 GMT 1999


Randall Hopper wrote:
> 
> ==============================================================================
> --1. COMPILE-ERROR------------------------------------------------------------
> ==============================================================================
> 
> > make
> ...
> CC -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/python1.5 -O2 -OPT:Olimit=15000 -LANG:ansi-for-init-scope=ON -c  -DPIC siplib.cpp -o .libs/siplib.lo
> cc-1065 CC: ERROR File = sip.h, Line = 49
>   A semicolon is expected at this point.
> 
>         char *si_value;                 // The string value.
>               ^
> ------------------------------------------------------------------------------
> --   PROBLEM------------------------------------------------------------------
> ------------------------------------------------------------------------------
> 
> > grep si_value /usr/include/sys/siginfo.h
> #define si_value        __data.__value
> 
> ------------------------------------------------------------------------------
> --   SOLUTION-----------------------------------------------------------------
> ------------------------------------------------------------------------------
> 
> Change 'si_value' to 'si_val' in sip.h and siplib.cpp

Done.

> ==============================================================================
> --2. LINK ERROR---------------------------------------------------------------
> ==============================================================================
> 
> /bin/sh ../libtool --mode=link CC  -O2 -OPT:Olimit=15000 -LANG:ansi-for-init-scope=ON  -o libsip.la -rpath /usr/local/lib -version-info 0:0:0  siplib.lo qtlib.lo
> ../libtool[1334]: ANG:ansi-for-init-scope=ON:  not found
> libtool: link: cannot determine absolute directory name of `ANG:ansi-for-init-scope=ON'
> 
> ------------------------------------------------------------------------------
> --   PROBLEM------------------------------------------------------------------
> ------------------------------------------------------------------------------
> 
> I have no idea where configure is picking up this bogus
> -LANG:ansi-for-init-scope=ON declaration.  Hacking it out of
> siplib/Makefile works around this.
> 
> ------------------------------------------------------------------------------
> --   SOLUTION-----------------------------------------------------------------
> ------------------------------------------------------------------------------
> 
> ?
> 
> NOTE: I rebuilt again, this time with --prefix, and it didn't pick up this
> bogus linker flag.  Rebuilding again without --prefix causes it to pick up
> -LANG:ansi-for-init-scope=ON again.

Not sure I can do anything about this one.

Phil





More information about the PyQt mailing list