i just installed mysql 3.22.32 server, client and devel on my rh6.0 system
i need to access mysql through perl . so i also downloaded dbi 1.13 and
mysql dbd module

during the installation on dbi
the perl Makefile.PL didnt give any errors,
but when i ran the make command as said i nthe readme , it gave lots of
errors as below.
please help me ...
thanks a lot
regards,
gaurav


Errors:

<snip>
map DBI.xs >xstmp.c && mv xstmp.c DBI.c
cc -c  -Dbool=char -DHAS_BOOL -I/usr/local/include -O2    -DVERSION=\"1.13\"
 -DX
S_VERSION=\"1.13\" -fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE -DDBI_NO_T
HREA
DS DBI.c
DBI.xs:75: parse error before `->'
DBI.xs:75: stray '\' in program
DBI.xs:76: parse error before `('
DBI.xs:76: warning: data definition has no type or storage class
DBI.xs:76: parse error before `}'
DBI.xs:76: conflicting declarations of `__result'
DBI.xs:76: `__result' previously declared here
DBI.xs:76: `state' undeclared here (not in a function)
DBI.xs:76: `lna' undeclared here (not in a function)
DBI.xs:76: `state' undeclared here (not in a function)
DBI.xs:76: `state' undeclared here (not in a function)
DBI.xs:76: `state' undeclared here (not in a function)
DBI.xs:76: `lna' undeclared here (not in a function)
DBI.xs:76: `__s2' undeclared here (not in a function)
DBI.xs:76: initializer element is not constant
DBI.xs:76: parse error before `if'
DBI.xs:76: conflicting declarations of `__result'
DBI.xs:76: `__result' previously defined here
DBI.xs:76: warning: data definition has no type or storage class
DBI.xs:76: parse error before `}'
DBI.xs:76: warning: data definition has no type or storage class
DBI.xs:76: parse error before `}'
DBI.xs:76: redefinition of `__result'
DBI.xs:76: `__result' previously defined here
DBI.xs:76: `__s1' undeclared here (not in a function)
DBI.xs:76: initializer element is not constant
DBI.xs:76: parse error before `if'
DBI.xs:76: conflicting declarations of `__result'
DBI.xs:76: `__result' previously defined here
DBI.xs:76: warning: data definition has no type or storage class
DBI.xs:76: parse error before `}'
DBI.xs:76: stray '\' in program
DBI.xs:77: stray '\' in program
DBI.xs:78: stray '\' in program
DBI.xs:79: stray '\' in program
DBI.xs: In function `XS_DBI_trace':
DBI.xs:2127: `dbi_build_opt' undeclared (first use in this function)
DBI.xs:2127: (Each undeclared identifier is reported only once
DBI.xs:2127: for each function it appears in.)
DBI.xs: In function `XS_DBI__var_FETCH':
DBI.xs:2222: stray '\' in program
DBI.xs:2222: parse error before `;'
DBI.xs: In function `XS_DBD_____common_state':
DBI.xs:2488: stray '\' in program
DBI.xs:2488: parse error before `;'
DBI.xs: In function `XS_DBD_____common_trace':
DBI.xs:2522: `dbi_build_opt' undeclared (first use in this function)
make: *** [DBI.o] Error 1
</snip>


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to