[rt-users] Rtadmin problem creating queue and user

Rich West Rich.West at divatv.com
Tue Feb 6 12:29:40 EST 2001


Is this a new installation?  If so, then you have to install the
Msql-Mysql-Modules package (distributed separately).  If you have "cpan"
installed as part of your PERL package, you can simply do:
#> cpan
cpan> install Mysql

and it will automatically install the Mysql perl module (after asking a
few questions) in the proper location for you.

-Rich

--
Richard West                    mailto:rwest at wesmo.com
Wesmo Computer Services         http://www.wesmo.com
Register Your Domain For          Got TV?
As Little As $14.95/yr!           Get your .TV!


> Can't locate Mysql.pm in @INC (@INC contains:
> /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
> /usr/lib/perl5/site_perl/5.005/i386-linux
> /usr/lib/perl5/site_perl/5.005 /opt/rt/lib) at
> /opt/rt/lib/rt/database.pm line 8.
> BEGIN failed--compilation aborted at /opt/rt/lib/rt/database.pm line
> 8.
>
>
> Linux Generator 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686 unknow
>
> Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
>   Platform:
>     osname=linux, osvers=2.2.5-22smp, archname=i386-linux
>     uname='linux porky.devel.redhat.com 2.2.5-22smp #1 smp wed jun 2
> 09:11:51 edt 1999 i686 unknown '
>     hint=recommended, useposix=true, d_sigaction=define
>     usethreads=undef useperlio=undef d_sfio=undef
>   Compiler:
>     cc='cc', optimize='-O2 -m486 -fno-strength-reduce',
> gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
>     cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
>     ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
>     stdchar='char', d_stdstdio=undef, usevfork=false
>     intsize=4, longsize=4, ptrsize=4, doublesize=8
>     d_longlong=define, longlongsize=8, d_longdbl=define,
> longdblsize=12
>     alignbytes=4, usemymalloc=n, prototype=define
>   Linker and Libraries:
>     ld='cc', ldflags =' -L/usr/local/lib'
>     libpth=/usr/local/lib /lib /usr/lib
>     libs=-lnsl -ldl -lm -lc -lposix -lcrypt
>     libc=, so=so, useshrplib=false, libperl=libperl.a
>   Dynamic Linking:
>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
> ccdlflags='-rdynamic'
>     cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
>
>
> Problem when creating queue:
>
> [root at Generator bin]# ./rtadmin queue -create rt queue
>
> Can't locate Mysql.pm in @INC (@INC contains:
> /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
> /usr/lib/perl5/site_perl/5.005/i386-linux
> /usr/lib/perl5/site_perl/5.005 /opt/rt/lib) at
> /opt/rt/lib/rt/database.pm line 8.
> BEGIN failed--compilation aborted at /opt/rt/lib/rt/database.pm line
> 8.
>
> database.pm line 8 :   use Mysql;
>
>
> -------------------------------------------------
> Robert Pash
> Systems Engineer
> Amnet Co.
> 6051 SW 45th Street
> Davie,  Florida  33314
> Phone # 954-327-9949
> Fax # 954-327-2389
> -------------------------------------------------





More information about the rt-users mailing list