473,840 Members | 1,577 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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=\"80 4.025\"
"-I/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE" -D__WIN32__ -D_WIN32 -Wall
Wno-comment -Wno-unused -D__USE_FIXED_PR OTOTYPES__ 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 4828
On Mon, 13 Oct 2003 07:15:00 -0400
"James Hull" <ja*******@comc ast.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*******@remo ve.adelphia.net > writes:
On Mon, 13 Oct 2003 07:15:00 -0400
"James Hull" <ja*******@comc ast.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
3543
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 call last): File "dbmod.py", line 2, in ? File "odbc.pyo", line 9, in ?
0
1394
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 for tup in cur.description: print tup,
0
1559
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 xml::parser, along the lines of $dbh = DBI->connect("my connection"); $xp = new XML:Parser(HANDLERS =>{Start => \&myStartSub} sub myStartSub { # creates sql statment $dbh->do("the sql statment")
2
7857
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 cpan>install DBD::mysql
2
2060
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 database. I keep getting this message ( DBI connect failed : Access denied for user: '@localhost' to database 'mysql') and have no clue how to fix it. I have tried to reinstall the rpms that came on the mandrake 9.2 cds and I still get the same...
0
1366
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 file (and it's xsd) is just a copy of the structure of the final mySLQ database. Somebody of you noted me that to say "XML with multi-tables datas" means all and nothing ... with more detail I can say that I realized this xml file using the export...
0
1213
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? ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
2
2351
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
2184
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 to? Sally _________________________________________________________________ Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
2
2840
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 the table: <?php include("../config.php"); $dbi = mysql_connect($dbhost,$dbuname,$dbpass);
0
9699
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10922
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10603
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10660
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10301
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5685
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5874
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4498
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4076
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.