[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Weird compile time error from cmodule.c
From: |
Alan Horn |
Subject: |
[rdiff-backup-users] Weird compile time error from cmodule.c |
Date: |
Wed, 2 Jun 2004 01:21:08 -0700 (PDT) |
Hi,
Environment :
Netbsd 1.6 release.
librsync-0.9.6nb2 installed from pkgsrc inside /usr/pkg tree
Python-2.3.3nb3 installed from pkgsrc (python23-2.3.3nb3) inside /usr/pkg
Initially tried installing rdiff-backup from pkgsrc, this didn't work, so
I downloaded the source to rdiff-backup-0.12.7 directly, both times gave
the same error below.
which python2.3 returns /usr/pkg/bin/python2.3
python2.3 setup.py --librsync-dir=/usr/pkg build
And I get the following output as a failure :
slick: {20} python2.3 setup.py --librsync-dir=/usr/pkg build
running build
running build_py
running build_ext
building 'rdiff_backup.C' extension
gcc -fno-strict-aliasing -DNDEBUG -O2 -I/usr/include -I/usr/pkg/include
-fPIC -I/usr/pkg/include/python2.3 -c cmodule.c -o
build/temp.netbsd-1.6_STABLE-i386-2.3/cmodule.o
In file included from /usr/pkg/include/python2.3/Python.h:48,
from cmodule.c:24:
/usr/pkg/include/python2.3/pyport.h:370: warning: `struct winsize'
declared inside parameter list
/usr/pkg/include/python2.3/pyport.h:370: warning: its scope is only this
definition or declaration, which is probably not what you want.
/usr/pkg/include/python2.3/pyport.h:371: warning: `struct winsize'
declared inside parameter list
cmodule.c: In function `c_make_file_dict':
cmodule.c:131: parse error before `S_ISSOCK'
cmodule.c:131: parse error before `strcpy'
error: command 'gcc' failed with exit status 1
Any help gratefully received, I'm a bit stumped here not being a real
heavy python person.
Cheers,
Al
- [rdiff-backup-users] Weird compile time error from cmodule.c,
Alan Horn <=