From: Richard K. <n1...@ho...> - 2005-08-07 20:24:23
|
OK, I remember setting gd=0 in my mh.private.ini to overcome the below error, anyone know why I may be getting this error? Code Directories: - /usr/local/misterhouse/code - ./../code/common Error in use GD: Can't locate GD/Image.pm in @INC (@INC contains: /usr/local/misterhouse/code ./../code/common ./../lib ./../lib/site . /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.4/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.3/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.4/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.6/x86_64-linux-thread-multi /usr/lib/perl5/5.8.6 .) at /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi/GD.pm line 14. BEGIN failed--compilation aborted at /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi/GD.pm line 14. Compilation failed in require at (eval 307) line 2. BEGIN failed--compilation aborted at (eval 307) line 2. >From: "Richard Koch" <n1...@ho...> >Reply-To: mis...@li... >To: mis...@li... >Subject: [mh] Questions, no dynamic buttons in html, and whats up with >Debug{x10}? >Date: Sun, 07 Aug 2005 10:00:58 -0400 > >I recently switched from Win to Lin. Didn't have these problems in Win. >Just >minor problems, hoping someone can steer me right... > >My system in running Fedora Core 4 X86_64, with MH 2.99 > >When I click on "Lights - Appliances" button on the ia5 main page I get >button icons for >all predefined names, but the non-predefined which I understand should get >generated >by button.pl, are just text. I also get the errors below in the console. I >tried putting >single and double quotes around the Barewords in button.pl, that squelched >the error but >still generated no icon. And I do have Perl GD loaded successfully. > >http error in http eval of button.pl: Bareword "gdMediumBoldFont" not >allowed while "strict subs" in use at (eval 5820) line 119, <HTML> line >178. >Bareword "gdMediumBoldFont" not allowed while "strict subs" in use at (eval >5820) line 123, <HTML> line 178. >Bareword "gdMediumBoldFont" not allowed while "strict subs" in use at (eval >5820) line 158, <HTML> line 178. > >Also I'm seeing all the CM11 traffic. I know I can go in to >ControlX10/CM11.pm >and set $DEBUG=0, but wondering what how to set this from mh.ini >(mh.private.ini) >config file? It seems that was the original entention judging from the code >below. >But then again that is only in the receive area..? > >Shouldn't all the debug be dependant on what you put in the "debug" string >in the >config file? It seems $Debug{x10} and $Debug{cm11} are enabled by default? > >sub receive_buffer { > my ($serial_port) = @_; > if (exists $main::Debug{x10}) { > $DEBUG = ($main::Debug{x10} >= 1) ? 1 : 0; > } > >CM11 data=90 hex=5a >cm11 reading... >.. >CM11 data=3 hex=03 >receive buffer length=3, mask=00000010, data_h=0302c1c3. >CM11 db: data=P5PK >cm11 received: P5PK > > > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >________________________________________________________ >To unsubscribe from this list, go to: >http://sourceforge.net/mail/?group_id=1365 > |