Gregory Matthews wrote: > Hello All. > > I am trying to install Apache::DB and am getting the following error: > > +++++++++ > > > make test > cc -c -DVERSION=\"0.06\" -DXS_VERSION=\"0.06\" -DPIC -fpic > -I/usr/libdata/perl/5.00503/mach/CORE DB.c > In file included from /usr/include/sys/time.h:289, > from /usr/include/sys/stat.h:50, > from /usr/include/sys/mount.h:44, > from /usr/libdata/perl/5.00503/mach/CORE/perl.h:376, > from DB.xs:2: > /usr/include/time.h:2: syntax error before `1989' > /usr/include/time.h:26: empty character constant > /usr/include/time.h:32: syntax error before `PROFITS' > /usr/include/time.h:115: syntax error before `}' > *** Error code 1
You have a corrupted /usr/include/time.h, reinstall the package that it comes with or simply borrow this file from some other machine. before you try to build Apache::DB try to build test.c with the contents: #include <time.h> int main(void){return 0;} and then compile it: % cc test.c once it works move onto Apache::DB __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com