Re: Building extensions ( suit / was: Python 1.0 & gnu readline )
lance@markv.com
Thu, 3 Feb 94 10:44:18 PST
> From: "Steven D. Majewski" <sdm7g@elvis.med.virginia.edu>
>
> Now I got as far as:
>
> >make
> > gcc -O -I/usr/local/src/python/Modules/./../Include -I..
> > -DHAVE_CONFIG_H -c config.c
> >config.c:147: parse error before `.'
> >config.c:176: `initsuitmodule' undeclared here (not in a function)
> >The error code from the last failed command is 1.
>
> Where it looks like config.c has been mis-generated:
>
> } inittab[] = {
>
> [ ... ]
>
> {"audioop", initaudioop},
> {"imageop", initimageop},
> {"rgbimg", initrgbimg},
> {"md5", initmd5},
> {"rotor", initrotor},
>
> {"suitmodule.c", initsuitmodule.c},
> /* -- ADDMODULE MARKER 2 -- */
Look in the Makefile for suit. Find the MODS= line and
change it from MODS=suitmodule.c to MODS=suit
This will fix that problem.
--
Lance Ellinghouse lance@markv.com
UNIX Systems Support support@markv.com
Mark V Systems Limited Voice: +1 818 995 7671
FAX: +1 818 995 4267