On śro, 2009-06-17 at 11:37 +0200, Szymon Zygmunt wrote:
> Witam,
> 
> po małych trudnościach udało mi się skompilować i zainstalować
> najnowsze libgadu
> (http://lists.ziew.org/pipermail/libgadu-devel/2009-June/000454.html i
> dalsze w tym wątku). Teraz mam problem już samym ekg. Konfiguruje je w
> ten sposób:
> configure --prefix=$HOME/ekg --mandir=$HOME/ekg/share/man
> --with-python --with-openssl=/usr/sfw --without-libjpeg -enable-aspell
> "CFLAGS=-I$HOME/ekg/include -I$HOME/aspell/include"
> "LDFLAGS=-L$HOME/ekg/lib -L$HOME/aspell/lib"
> 
> ale kompilacja nie udaje się z następującym błędem:
> 
> [...]
> gcc  -I.. -I/home/etgrp/zigi/ekg/include
> -I/home/etgrp/zigi/aspell/include -Wall
> -I/home/etgrp/zigi/include/python2.4
> -DDATADIR=\"/home/etgrp/zigi/ekg/share/ekg\"
> -DSYSCONFDIR=\"/home/etgrp/zigi/ekg/etc\"   -c -o ekg.o ekg.c
> In file included from /home/etgrp/zigi/include/python2.4/Python.h:8,
>                  from python.h:23,
>                  from ekg.c:84:
> /home/etgrp/zigi/include/python2.4/pyconfig.h:820:1: warning:
> "_FILE_OFFSET_BITS" redefined
> In file included from
> /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/sys/types.h:27,
>                  from ekg.c:30:
> /usr/include/sys/feature_tests.h:188:1: warning: this is the location
> of the previous definition
> ekg.c: In function `main':
> ekg.c:1321: error: syntax error before ',' token
> gmake[1]: *** [ekg.o] Error 1
> gmake[1]: Leaving directory `/home/etgrp/zigi/tmp/ekg-20090616/src'
> *** Error code 2
> make: Fatal error: Command failed for target `ekg'
> 
> Gdy skonfiguruję bez pythona to błąd wygląda tak:
> 
> gcc  -I.. -I/home/etgrp/zigi/ekg/include
> -I/home/etgrp/zigi/aspell/include -Wall -I/usr/sfw/include
> -DDATADIR=\"/home/etgrp/zigi/ekg/share/ekg\"
> -DSYSCONFDIR=\"/home/etgrp/zigi/ekg/etc\"   -c -o ekg.o ekg.c
> ekg.c: In function `main':
> ekg.c:1321: error: syntax error before ',' token
> gmake[1]: *** [ekg.o] Error 1
> gmake[1]: Leaving directory `/home/etgrp/zigi/tmp/ekg-20090616/src'
> *** Error code 2
> make: Fatal error: Command failed for target `ekg'
> 
> Proszę o wskazówki, jeśli trzeba coś więcej to chętnie podeślę.
> Pozr.
> 
...Umknęło uwadze, czy mam czekać cierpliwie?

Pozdrawiam.

-- 
Szymon Zygmunt

Odpowiedź listem elektroniczym