i've run both 'perl -MCPAN -eshell' and 'make DBI' and both come back
reporting heaps of errors like the following:
"from Perl.xs:1:
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:380:
30: sys/types.h: No such file or directory
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:411:
19: ctype.h: No such file or directory
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:423:
23: locale.h: No such file or directory
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:440:
20: setjmp.h: No such file or directory
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:446:
26: sys/param.h: No such file or directory
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:451:
23: stdlib.h: No such file or directory
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:1749:
error: parse error before "STRLEN"
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:1749:
warning: type defaults to `int' in declaration of `STRLEN'
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:1749:
warning: data definition has no type or storage class
In file included from
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/handy.h:121,
from
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:1805,
from DBIXS.h:19,
from Perl.xs:1:
/usr/include/gcc/darwin/3.3/inttypes.h:33:72: sys/cdefs.h: No such file
or directory
/usr/include/gcc/darwin/3.3/inttypes.h:34:56: machine/ansi.h: No such
file or directory
In file included from /usr/include/gcc/darwin/3.3/inttypes.h:35,
from
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/handy.h:121,
from
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:1805,
from DBIXS.h:19,
from Perl.xs:1:
/usr/include/gcc/darwin/3.3/stdint.h:24:27: machine/types.h: No such
file or directory
In file included from /usr/include/gcc/darwin/3.3/inttypes.h:35,
from
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/handy.h:121,
from
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:1805,
from DBIXS.h:19,
from Perl.xs:1:
/usr/include/gcc/darwin/3.3/stdint.h:34: error: parse error before
"uint8_t"
/usr/include/gcc/darwin/3.3/stdint.h:35: error: parse error before
"uint16_t"
/usr/include/gcc/darwin/3.3/stdint.h:36: error: parse error before
"uint32_t"
/usr/include/gcc/darwin/3.3/stdint.h:37: error: parse error before
"uint64_t"
/usr/include/gcc/darwin/3.3/stdint.h:41: error: parse error before
"int_least8_t"
/usr/include/gcc/darwin/3.3/stdint.h:42: error: parse error before
"int_least16_t"
/usr/include/gcc/darwin/3.3/stdint.h:43: error: parse error before
"int_least32_t""
etc etc etc
this just goes on and on...
what am I to do to get DBI installed on my OS10.3??????
please help
ta
tait
On 22/01/2004, at 5:42 AM, Moritz von Schweinitz wrote:
> i've never used MT, but this kinda sounds as if you dont have the DBI
> installed:
>
> $ perl -MCPAN -eshell
> install DBI
>
> cheers,
> M.
>
> tait sanders wrote:
>> hi all,
>> not sure if this is the appropriate place to post this -- so please
>> point me in the right direction if not here...
>> I have a G4 with os10.3.2 server, mysql v4.0.16, and MoveableType 2.6
>> I'm trying to initialise the moveabletype system by running
>> mt-load.cgi and am recieving the following error:
>> "Unsupported driver MT::ObjectDriver::DBI::mysql: Can't locate DBI.pm
>> in @INC..."
>> I've checked in my mt.cfg file and I have added:
>> "ObjectDriver DBI::mysql
>> Database /var/mysql/mtweblog
>> DBUser labadmin"
>> so I don't understand what's going on.
>> please help
>> ta
>> tait
>> tait sanders
>> computer technician
>> sir robert webster bldg
>> trc
>> unsw
>
>
tait sanders
computer technician
sir robert webster bldg
trc
unsw