Ask a Question related to PERL Modules, Design and Development.
-
James Hull #1
Help: Install DBI-Oracle on cygwin with Perl 5.8.0
Hi All:
I am new in the Perl world. So far I have installed cygwin and Perl 5.8.0
along with Perl DBI and DBD::Oracle modules. NowI am trying to install Perl
Tk on my PC (Windows 2K). I have tried both Tk804.025 and Tk804.025_beta2.
However, both versions failed with following errors. It appeared that the
command "perl Makefile.PL" ran successfully, but the "make" command failed.
I also ran "perl -Mblib demos/widget". It was complaining it "Can't locate
Tk/Event.pm in @INC" (See following enclosed error message).
BTW, what is "@INC"?
Thanks in advance.
Jim
Error Messages from "make" and "perl -Mblib demos/widget":
$ make
cd pTk && make
make[1]: Entering directory `/Tk804.025_beta2/pTk'
make[1]: Leaving directory `/Tk804.025_beta2/pTk'
make[1]: Entering directory `/Tk804.025_beta2/pTk'
make[1]: Leaving directory `/Tk804.025_beta2/pTk'
make[1]: Entering directory `/Tk804.025_beta2/pod'
make[1]: Leaving directory `/Tk804.025_beta2/pod'
make[1]: Entering directory `/Tk804.025_beta2/demos'
cp widget ../blib/script/widget
/usr/bin/perl.exe "-MExtUtils::MY" -e "MY->fixin(shift)"
.../blib/script/widget
make[1]: Leaving directory `/Tk804.025_beta2/demos'
make[1]: Entering directory `/Tk804.025_beta2/Xlib'
make[2]: Entering directory `/Tk804.025_beta2/Xlib/X'
Running Mkbootstrap for Tk::X ()
chmod 644 X.bs
rm -f ../../blib/arch/auto/Tk/X/X.dll
LD_RUN_PATH="" gcc -shared -s -L/usr/local/lib X.o -o
.../../blib/arch/auto/Tk/X/X.dll /usr/lib/pe
ti-64int/CORE/libperl.dll.a -L/lib/w32api -lcomdlg32 -lgdi32
chmod 755 ../../blib/arch/auto/Tk/X/X.dll
cp X.bs ../../blib/arch/auto/Tk/X/X.bs
chmod 644 ../../blib/arch/auto/Tk/X/X.bs
make[2]: Leaving directory `/Tk804.025_beta2/Xlib/X'
gcc -c -I.. -I../pTk/mTk/xlib -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -
DUSEIMPORTLIB -O3 -DVE
XS_VERSION=\"804.025\"
"-I/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE" -D__WIN32__ -D_WIN32 -Wall
Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ Xlib.c
Xlib.xs:13: error: parse error before '*' token
Xlib.xs:13: warning: data definition has no type or storage class
Xlib.xs: In function `boot_Tk__Xlib':
Xlib.xs:383: warning: cast to pointer from integer of different size
Xlib.xs:383: warning: cast to pointer from integer of different size
Xlib.xs:383: warning: cast to pointer from integer of different size
Xlib.xs:383: warning: cast to pointer from integer of different size
Xlib.xs:383: warning: cast to pointer from integer of different size
Xlib.xs:383: warning: cast to pointer from integer of different size
Xlib.xs:383: warning: cast to pointer from integer of different size
Xlib.xs:383: warning: cast to pointer from integer of different size
Xlib.xs:383: warning: cast to pointer from integer of different size
Xlib.xs:383: error: `XlibVtab' undeclared (first use in this function)
Xlib.xs:383: error: (Each undeclared identifier is reported only once
Xlib.xs:383: error: for each function it appears in.)
Xlib.xs:383: error: parse error before ')' token
make[1]: *** [Xlib.o] Error 1
make[1]: Leaving directory `/Tk804.025_beta2/Xlib'
make: *** [subdirs] Error 2
$ perl -Mblib demos/widget
Can't locate Tk/Event.pm in @INC (@INC contains: /Tk804.025_beta2/blib/arch
/Tk804.025_beta2/blib/lib /usr/lib/perl5/5.8
..0/cygwin-multi-64int /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int
/usr/lib/perl5/site_perl/5.
8.0 /usr/lib/perl5/site_perl .) at /Tk804.025_beta2/blib/lib/Tk.pm line 13.
BEGIN failed--compilation aborted at /Tk804.025_beta2/blib/lib/Tk.pm line
13.
Compilation failed in require at demos/widget line 4.
BEGIN failed--compilation aborted at demos/widget line 4.
James Hull Guest
-
DBD::Oracle on cygwin
hi, on HP-UX (and probably anything unix-like) you don't need a full oracle client installation to compile DBD::Oracle; a couple headers and the... -
Installation problem - Net-SNMP Perl Modules on cygwin
When Net-SNMP Perl modules are installed in cygwin $cd net-snmp5.2.1/perl $perl MakeFile.PL Writing Makefile for NetSNMP::default_store... -
Off Topic: Active Perl Native Windows / cygwin perl
I have both activestate windows native perl installed and the default cygwin perl. How can I have the cygwin shell use the windows perl rather... -
install QuoteHist in cygwin
After install all required packages, I try to install QuoteHist to cygwin on Win2K. The perl version is 5.8.0. Unfortunately, make test fails. I... -
Perl system() command failing under CYGWIN
Hi, I am trying to install a software product that uses Perl under CYGWIN and am having a problem with the Perl system() command failing. The... -
James Willmore #2
Re: Help: Install DBI-Oracle on cygwin with Perl 5.8.0
On Mon, 13 Oct 2003 07:15:00 -0400
"James Hull" <jameshull@comcast.net> wrote:
<snip>> I am new in the Perl world. So far I have installed cygwin and Perl
> 5.8.0 along with Perl DBI and DBD::Oracle modules. NowI am trying to
> install Perl Tk on my PC (Windows 2K). I have tried both Tk804.025
> and Tk804.025_beta2. However, both versions failed with following
> errors. It appeared that the command "perl Makefile.PL" ran
> successfully, but the "make" command failed. I also ran "perl -Mblib
> demos/widget". It was complaining it "Can't locate Tk/Event.pm in
> @INC" (See following enclosed error message).
>
> BTW, what is "@INC"?
>
If you're trying to compile Tk and getting errors, you may want to try
version 804.024. Version 804.25 is still beta. If you continue to
have issues, you may far better posting to comp.lang.perl.tk - you
posted to evry other newsgroup but the one where you may find an
answer :-)
And change your subject line - the one you have is very mis-leading.
Your question relates to Tk, not DBD::Oracle. At least, that's what I
got out of your post.
The answer to your @INC question can be found by typing the command:
perldoc perlvar
HTH
--
Jim
Copyright notice: all code written by the author in this post is
released under the GPL. [url]http://www.gnu.org/licenses/gpl.txt[/url]
for more information.
a fortune quote ...
"He flung himself on his horse and rode madly off in all
<directions"
James Willmore Guest
-
Slaven Rezic #3
Re: Help: Install DBI-Oracle on cygwin with Perl 5.8.0
James Willmore <jwillmore@remove.adelphia.net> writes:
No. The current stable version is 800.025.> On Mon, 13 Oct 2003 07:15:00 -0400
> "James Hull" <jameshull@comcast.net> wrote:
>> <snip>> > I am new in the Perl world. So far I have installed cygwin and Perl
> > 5.8.0 along with Perl DBI and DBD::Oracle modules. NowI am trying to
> > install Perl Tk on my PC (Windows 2K). I have tried both Tk804.025
> > and Tk804.025_beta2. However, both versions failed with following
> > errors. It appeared that the command "perl Makefile.PL" ran
> > successfully, but the "make" command failed. I also ran "perl -Mblib
> > demos/widget". It was complaining it "Can't locate Tk/Event.pm in
> > @INC" (See following enclosed error message).
> >
> > BTW, what is "@INC"?
> >
>
> If you're trying to compile Tk and getting errors, you may want to try
> version 804.024. Version 804.25 is still beta.
Regards,> If you continue to
> have issues, you may far better posting to comp.lang.perl.tk - you
> posted to evry other newsgroup but the one where you may find an
> answer :-)
>
> And change your subject line - the one you have is very mis-leading.
> Your question relates to Tk, not DBD::Oracle. At least, that's what I
> got out of your post.
>
> The answer to your @INC question can be found by typing the command:
> perldoc perlvar
>
Slaven
--
Slaven Rezic - [email]slaven@rezic.de[/email]
tknotes - A knotes clone, written in Perl/Tk.
[url]http://ptktools.sourceforge.net/#tknotes[/url]
Slaven Rezic Guest



Reply With Quote

