473,387 Members | 1,515 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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.

Jul 19 '05 #1
2 4798
On Mon, 13 Oct 2003 07:15:00 -0400
"James Hull" <ja*******@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. http://www.gnu.org/licenses/gpl.txt
for more information.

a fortune quote ...
"He flung himself on his horse and rode madly off in all
<directions"
Jul 19 '05 #2
James Willmore <jw*******@remove.adelphia.net> writes:
On Mon, 13 Oct 2003 07:15:00 -0400
"James Hull" <ja*******@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 - sl****@rezic.de

tknotes - A knotes clone, written in Perl/Tk.
http://ptktools.sourceforge.net/#tknotes
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Marc Ederis | last post by:
Hello, I'm trying to create an executable with py2exe, and it uses the odbc module. The script runs fine until I use py2exe on it and run the ..exe. Then I get: -- Traceback (most recent...
0
by: tallpaul | last post by:
I'm trying to run the following on an xp box. import dbi, odbc try: s = odbc.odbc('DSN/username/userpassword') cur = s.cursor() cur.execute('select * from tablename') print cur.description...
0
by: bugs | last post by:
i have created a script that uses the DBI and the XML::Parser modules. i have created a connection in the main scope and then i create & execute a statment in one of the start_handler of the...
2
by: Yun Guan | last post by:
Hello mysql gurus, I am trying to run perl on mysql database on Red Hat box. I want to install DBI and DBD:mysql using CPAN: perl -MCPAN -e shell cpan>install DBI The above succeeded, but...
2
by: William Friend | last post by:
Im rather new to Linux and my server has been running great, up until the other day. I was messing around with mysql through webmin in mandrake 9.2 and know I cant do anything, not even create a...
0
by: Federico Bari | last post by:
.... many of you suggested me to give a look to DBI::AnyData. I have the necessity to insert and update a mySQL database taking datas fom xml files that have *more tha one table*; infact the xml...
0
by: David Siebert | last post by:
How do I connect to a postgres sever across a network using DBI? I can not find an example of it anywhere in any docs. Thanks. Also what do I type after man to get the Pg dbi man file? ...
2
by: Brian Herbert Withun | last post by:
I'm having difficulty catching dbi.program-error which occurs this way: import dbi, odbc self.__cur.execute(sql) >>> dbi.program-error: Table 'depfile' not found in EXEC but
1
by: Sally Sally | last post by:
When I try to connect to a remote server using DBI I get an error " expected authentication request from server, but received S" Has anyone encountered this? I am not quite sure what it is refering...
2
by: Sugapablo | last post by:
I have a small test script connecting to a MySQL database. It seems to work, unless I try to use the resource link identifier returned by mysql_connect(); This works and returns all the rows in...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.