Someone may be equipped to answer this on this list, but if not, I'm sure
you could get it answered on the DBI users group. I haven't seen this post
on that list, have you tried them?
Steve H.
-----Original Message-----
From: Webster, Murray [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24, 2001 10:55 PM
To: '[EMAIL PROTECTED]'
Subject: UNIX install of Term::ReadKey errors
Folks,
sorry if this isn't really where I should be asking this. I've
successfully installed DBI, DBD::Oracle and Term::ReadKey using ppm on my
NT4 workstation. They all work as advertised :)
However, I now want to install onto a UNIX (Solaris 2.6) box. When I try to
install Term::ReadKey CPAN module I'm getting (running make after
un-gzip/tar'ing):-
/tools/perl/bin/perl -I/tools/perl/lib/sun4-solaris/5.00404
-I/tools/perl/lib /t
ools/perl/lib/ExtUtils/xsubpp -typemap /tools/perl/lib/ExtUtils/typemap
ReadKey
.xs >ReadKey.tc && mv ReadKey.tc ReadKey.c
Please specify prototyping behavior for ReadKey.xs (see perlxs manual)
gcc -c -O -DVERSION=\"2.14\" -DXS_VERSION=\"2.14\" -fpic
-I/tools/perl/li
b/sun4-solaris/5.00404/CORE ReadKey.c
In file included from /tools/perl/lib/sun4-solaris/5.00404/CORE/perl.h:679,
from ReadKey.xs:4:
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/limits.h:11:
syslimits.h:
No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `ReadKey.o'
Lookng at the `No such file or directory' and doing some reading re
syslimits, I created a symlink to limits.h.
Then I get:-
hgcgln02:/u02/app/oracle/local/perl/TermReadKey-2.14$ make test
gcc -c -O -DVERSION=\"2.14\" -DXS_VERSION=\"2.14\" -fpic
-I/tools/perl/li
b/sun4-solaris/5.00404/CORE ReadKey.c
In file included from /tools/perl/lib/sun4-solaris/5.00404/CORE/perl.h:1016,
from ReadKey.xs:4:
/tools/perl/lib/sun4-solaris/5.00404/CORE/scope.h:91: parse error before
`sigjmp
_buf'
/tools/perl/lib/sun4-solaris/5.00404/CORE/scope.h:91: warning: no semicolon
at e
nd of struct or union
/tools/perl/lib/sun4-solaris/5.00404/CORE/scope.h:94: parse error before `}'
*** Error code 1
make: Fatal error: Command failed for target `ReadKey.o'
What, if anything, am I doing wrong?
Please feel free to point me at another group if it's more appropriate. I'm
trying to get Perl accepted as the standard way of doing Oracle monitoring
and reporting here (on NT and UNIX). Hopefully I've just made a simple
stuff-up.
Thanks in advance.
Murray Webster
Database Administrator
EDS Australia
Adelaide Solution Centre.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]