Installing Perl Modules Problems!!! :(

dominet

Active Member
Mar 23, 2002
29
0
301
when i click on &INSTALL PERL MODULE& it ask me for the perl module to install. I typed dbd::mysql

before the installation it show this:

In file included from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:426,
from ReadKey.xs:4:
/usr/include/sys/types.h:34: parse error before `u_char'
/usr/include/sys/types.h:34: warning: data definition has no type or storage class
/usr/include/sys/types.h:35: parse error before `u_short'
/usr/include/sys/types.h:35: warning: data definition has no type or storage class
/usr/include/sys/types.h:36: parse error before `u_int'
/usr/include/sys/types.h:36: warning: data definition has no type or storage class
/usr/include/sys/types.h:37: parse error before `u_long'
/usr/include/sys/types.h:37: warning: data definition has no type or storage class
/usr/include/sys/types.h:38: parse error before `quad_t'
/usr/include/sys/types.h:38: warning: data definition has no type or storage class
/usr/include/sys/types.h:39: parse error before `u_quad_t'
/usr/include/sys/types.h:39: warning: data definition has no type or storage class
/usr/include/sys/types.h:40: parse error before `fsid_t'
/usr/include/sys/types.h:40: warning: data definition has no type or storage class
/usr/include/sys/types.h:45: parse error before `loff_t'
/usr/include/sys/types.h:45: warning: data definition has no type or storage class
/usr/include/sys/types.h:51: parse error before `ino_t'
/usr/include/sys/types.h:51: warning: data definition has no type or storage class
/usr/include/sys/types.h:56: parse error before `ino64_t'
/usr/include/sys/types.h:56: warning: data definition has no type or storage class
/usr/include/sys/types.h:61: parse error before `dev_t'
.
.
.
.
more errors
.
.
.
/usr/include/fcntl.h:86: parse error before `__mode_t'
/usr/include/fcntl.h:93: parse error before `__mode_t'
/usr/include/fcntl.h:134: parse error before `__off64_t'
/usr/include/fcntl.h:142: parse error before `__off64_t'
/usr/include/fcntl.h:152: parse error before `__off64_t'
/usr/include/fcntl.h:160: parse error before `__off64_t'
In file included from ReadKey.xs:328:
/usr/include/termios.h:97: parse error before `tcgetsid'
/usr/include/termios.h:97: warning: data definition has no type or storage class
ReadKey.xs: In function `selectfile':
ReadKey.xs:1447: storage size of `t' isn't known
ReadKey.xs:1454: dereferencing pointer to incomplete type
ReadKey.xs:1454: dereferencing pointer to incomplete type
make: *** [ReadKey.o] Error 1

Modules matching your query (click to install)

DBD::mysql
DBD::mysql::Install
DBD::mysqlPP
DBIx::DBSchema::DBD::mysql


Then i click on dbd::mysql and it has INSTALL PROBLEMS as well.


Any help!?
 

feanor

Well-Known Member
Aug 13, 2001
836
0
316
run /scripts/fixheaders
as root from the command line.

then
/scripts/installdbi &
and
/scripts/cleanmd5 &