Hi Tim, I am trying with version 1.19 now. Works better, but I am not finished yet.
Yesterday I tried to compile version 1.201 (not 1.21). The requires-Statement in the Makefile.PL requires 5.004 as minimum supported version. If version 5.005 is required, maybe the requires-statement is not correct. In the documentation on http://search.cpan.org/doc/TIMB/DBI-1.21/Changes I found no hint about minimum perl version 5.005 for DBI version 1.201 neither. Thank you for your support - I go on with building DBI 1.19 now (hopefully...) Susanne >Read > perldoc DBI >or > http://search.cpan.org/doc/TIMB/DBI-1.21/Changes > >DBI 1.20 will probably work okay. > >Tim. > >On Thu, Apr 25, 2002 at 08:20:00PM +0000, [EMAIL PROTECTED] wrote: >> Hi Tim, >> >> thanks for the answer. >> >> That's bad - I can't do anything about the perl version as I am not working on >> my own maschine :-( >> >> Is there any older version of the DBI-Module that works with my perl version? I >> thought the version 1.201 should work as the Makefile.PL requires only perl >> version 5.004. >> >> Susanne >> >> >> >Your perl version is too old. >> > >> >Tim. >> > >> >On Thu, Apr 25, 2002 at 07:47:31PM +0000, [EMAIL PROTECTED] wrote: >> >> Hi! >> >> >> >> I'm trying to install the DBI-Module, but the C-compiler generates error >> >> messages. I am quite a beginner in perl and I don't understand what's wrong. >> >> >> Please could anybody help me? >> >> >> >> Here is what I've done: >> >> >> >> I am working on DEC OSF/1, with perl 5.004_04. The package I try to build is >> >> DBI-1.201. >> >> >> >> I created the Makefile by >> >> perl Makefile.PL -LIB=~/createstats11/lib >> >> >> >> Until here everything works fine. >> >> After that I tried to make. Here's some of the output of it: >> >> >> >> .... >> >> >> >> cc -c -std -D_INTRINSICS -I/usr/local/include -D__LANGUAGE_C__ -O4 >> >> -DVERSION=\"1.201\" -DXS_VERSION=\"1.201\" >> >> -I/usr/opt/PERL5004/lib/perl5/alpha-dec_osf/5.00404/CORE -DDBI_NO_THREADS >> DBI.c >> >> cc: Error: DBI.xs, line 1611: Error parsing parameter list. Found "*" when >> >> expecting one of: ",", ")". (notexpecting) >> >> dbi_dopoptosub_at(PERL_CONTEXT *cxstk, I32 startingblock) >> >> -------------------------------^ >> >> cc: Error: DBI.xs, line 1614: Missing ";". (nosemi) >> >> register PERL_CONTEXT *cx; >> >> --------------------------^ >> >> cc: Error: DBI.xs, line 1637: Missing ";". (nosemi) >> >> register PERL_CONTEXT *cx; >> >> --------------------------^ >> >> cc: Error: DBI.xs, line 1638: Missing ";". (nosemi) >> >> register PERL_CONTEXT *ccstack = cxstack; >> >> --------------------------^ >> >> cc: Error: DBI.xs, line 1640: Invalid statement. (badstmt) >> >> char *stashname; >> >> ----^ >> >> cc: Error: DBI.xs, line 1638: In this declaration, "PERL_CONTEXT" has no >> >> linkage and has a prior declaration in this scope at line number 1637 in >> file >> >> DBI.xs. (nolinkage) >> >> register PERL_CONTEXT *ccstack = cxstack; >> >> -------------^ >> >> >> >> .... >> >> >> >> I understand that there's something wrong with PERL_CONTEXT, but in fact I >> >> don't understand what exactly it is and what I can do about it. >> >> >> >> Can anybody help me? >> >> >> >> Susanne Pfeiffer
