From fblack at docucorp.com Tue Dec 9 08:40:27 2003 From: fblack at docucorp.com (Black, Franklin) Date: Mon Aug 2 21:33:08 2004 Subject: [Nh-pm] perlcc Message-ID: I am using perlcc to create a c program. When I have "use DBI" in the perl script, it creates the C program. The c program compiles, buts blows up when it runs. From rgacote at AppropriateSolutions.com Tue Dec 9 10:21:06 2003 From: rgacote at AppropriateSolutions.com (Ray Cote) Date: Mon Aug 2 21:33:08 2004 Subject: [Nh-pm] perlcc In-Reply-To: References: Message-ID: At 8:40 AM -0600 12/9/03, Black, Franklin wrote: >I am using perlcc to create a c program. When I have "use DBI" in the perl >script, >it creates the C program. The c program compiles, buts blows up when it >runs. Franklin, I've not used perlcc, but I do know that other programs (such as perl2exe) require you to include the DBD module you're using (such as use DBD::Oracle). Otherwise, DBI code tries to resolve the specific DBD at run-time, and of course it is not there. --Ray -- Raymond Cote Appropriate Solutions, Inc. PO Box 458 ~ Peterborough, NH 03458-0458 Phone: 603.924.6079 ~ Fax: 603.924.8668 rgacote(at)AppropriateSolutions.com www.AppropriateSolutions.com From morbus at disobey.com Tue Dec 9 10:49:02 2003 From: morbus at disobey.com (Morbus Iff) Date: Mon Aug 2 21:33:08 2004 Subject: [Nh-pm] perlcc In-Reply-To: References: Message-ID: >Franklin, I've not used perlcc, but I do know that other programs >(such as perl2exe) require you to include the DBD module you're using >(such as use DBD::Oracle). If you're going to compile Perl, I'd heartily recommend PAR. I've used perl2exe exclusively, really, but PAR comes from someone "known" in the Perl community, has strong support behind it, is free and open sourced, blah blah blah. -- Morbus Iff ( strive for mediocrity ) Technical: http://www.oreillynet.com/pub/au/779 Culture: http://www.disobey.com/ and http://www.gamegrene.com/ icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus From fblack at docucorp.com Tue Dec 9 14:31:17 2003 From: fblack at docucorp.com (Black, Franklin) Date: Mon Aug 2 21:33:08 2004 Subject: [Nh-pm] RE: Nh-pm Digest, Vol 4, Issue 1 Message-ID: I got par from cpan and installed it. But when I try to run it, it doesn't find anything in @INC. -----Original Message----- From: nh-pm-request@mail.pm.org [mailto:nh-pm-request@mail.pm.org] Sent: Tuesday, December 09, 2003 12:00 PM To: nh-pm@mail.pm.org Subject: Nh-pm Digest, Vol 4, Issue 1 Send Nh-pm mailing list submissions to nh-pm@mail.pm.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.pm.org/mailman/listinfo/nh-pm or, via email, send a message with subject or body 'help' to nh-pm-request@mail.pm.org You can reach the person managing the list at nh-pm-owner@mail.pm.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Nh-pm digest..." Today's Topics: 1. perlcc (Black, Franklin) 2. Re: perlcc (Ray Cote) 3. Re: perlcc (Morbus Iff) ---------------------------------------------------------------------- Message: 1 Date: Tue, 9 Dec 2003 08:40:27 -0600 From: "Black, Franklin" Subject: [Nh-pm] perlcc To: "'nh-pm@mail.pm.org'" Message-ID: Content-Type: text/plain; charset="iso-8859-1" I am using perlcc to create a c program. When I have "use DBI" in the perl script, it creates the C program. The c program compiles, buts blows up when it runs. ------------------------------ Message: 2 Date: Tue, 9 Dec 2003 11:21:06 -0500 From: Ray Cote Subject: Re: [Nh-pm] perlcc To: "Black, Franklin" Cc: "'nh-pm@mail.pm.org'" Message-ID: Content-Type: text/plain; charset="us-ascii" ; format="flowed" At 8:40 AM -0600 12/9/03, Black, Franklin wrote: >I am using perlcc to create a c program. When I have "use DBI" in the perl >script, >it creates the C program. The c program compiles, buts blows up when it >runs. Franklin, I've not used perlcc, but I do know that other programs (such as perl2exe) require you to include the DBD module you're using (such as use DBD::Oracle). Otherwise, DBI code tries to resolve the specific DBD at run-time, and of course it is not there. --Ray -- Raymond Cote Appropriate Solutions, Inc. PO Box 458 ~ Peterborough, NH 03458-0458 Phone: 603.924.6079 ~ Fax: 603.924.8668 rgacote(at)AppropriateSolutions.com www.AppropriateSolutions.com ------------------------------ Message: 3 Date: Tue, 9 Dec 2003 11:49:02 -0500 From: Morbus Iff Subject: Re: [Nh-pm] perlcc To: Ray Cote , "Black, Franklin" Cc: "'nh-pm@mail.pm.org'" Message-ID: Content-Type: text/plain; charset="us-ascii" >Franklin, I've not used perlcc, but I do know that other programs >(such as perl2exe) require you to include the DBD module you're using >(such as use DBD::Oracle). If you're going to compile Perl, I'd heartily recommend PAR. I've used perl2exe exclusively, really, but PAR comes from someone "known" in the Perl community, has strong support behind it, is free and open sourced, blah blah blah. -- Morbus Iff ( strive for mediocrity ) Technical: http://www.oreillynet.com/pub/au/779 Culture: http://www.disobey.com/ and http://www.gamegrene.com/ icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus ------------------------------ _______________________________________________ Nh-pm mailing list Nh-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/nh-pm End of Nh-pm Digest, Vol 4, Issue 1 *********************************** From kclark at CetaceanNetworks.com Tue Dec 9 14:45:01 2003 From: kclark at CetaceanNetworks.com (Kevin D. Clark) Date: Mon Aug 2 21:33:08 2004 Subject: [Nh-pm] perlcc In-Reply-To: References: Message-ID: I think that you'll find that you get better help on this list if you can provide us with a better problem description. Regards, --kevin -- Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA) cetaceannetworks.com!kclark (GnuPG ID: B280F24E) alumni.unh.edu!kdc From fblack at docucorp.com Tue Dec 9 14:55:37 2003 From: fblack at docucorp.com (Black, Franklin) Date: Mon Aug 2 21:33:09 2004 Subject: [Nh-pm] perlcc Message-ID: Sorry: My original problem. I entered: "pp test.pl -o test.exe" It said it could not find config.pm in @INC and had no directories in @INC. I got past this problem. My new problem: I try to run test.exe and it can't find XSLoader.pm, which is in lib. -----Original Message----- From: kclark@CetaceanNetworks.com [mailto:kclark@CetaceanNetworks.com] Sent: Tuesday, December 09, 2003 2:41 PM To: Black, Franklin Cc: 'nh-pm@mail.pm.org' Subject: Re: [Nh-pm] perlcc I think that you'll find that you get better help on this list if you can provide us with a better problem description. Regards, --kevin -- Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA) cetaceannetworks.com!kclark (GnuPG ID: B280F24E) alumni.unh.edu!kdc