Help: Install DBI-Oracle on cygwin with Perl 5.8.0

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default 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:
    > 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"?
    >
    <snip>

    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

  4. #3

    Default Re: Help: Install DBI-Oracle on cygwin with Perl 5.8.0

    James Willmore <jwillmore@remove.adelphia.net> writes:
    > On Mon, 13 Oct 2003 07:15:00 -0400
    > "James Hull" <jameshull@comcast.net> wrote:
    >
    > > 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"?
    > >
    > <snip>
    >
    > If you're trying to compile Tk and getting errors, you may want to try
    > version 804.024. Version 804.25 is still beta.
    No. The current stable version is 800.025.
    > 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
    >
    Regards,
    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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139