SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Weird compile time error from cmodule.c
Author Message
Post Weird compile time error from cmodule.c 
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

Post Weird compile time error from cmodule.c 
Please ignore this. It seems my python2.3 install was borked in some way..
about three files were missing from the packing list when I uninstalled
and wongraded to python2.2, which worked perfectly for my needs.

Apologies for the spam :)

Cheers,

Al

On Wed, 2 Jun 2004, Alan Horn wrote:

Date: Wed, 2 Jun 2004 01:21:08 -0700 (PDT)
From: Alan Horn <ahorn < at > deorth.org>
To: rdiff-backup-users < at > nongnu.org
Subject: Weird compile time error from cmodule.c


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



Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB