Pl Script Error With Gd Modul Use

Support section for FREESCO v0.3.x 3rd Party Packages

Postby lgrfbs » Thu Apr 05, 2007 3:51 am

I are trying too use the GD-module in perl for resize a jpeg images but gets
errors so I write a test script (z.cgi) for checkin if the GD-modul works and the output from
the test script is the GD-modul versions number.

But I can not get this to work at all in freesco 0.3.5 so if I reinstall my computer with freesco 0.3.7 and put in all packages as I have now under 0.3.7 can that be
a good idée too try?

In my old freesco 0.3.4 setup as is offline after I setup the freesco 0.3.5 in new hardware the z.cgi file works and the the pl-file for resize the jepg file works to.

- list of all installed packages -
My online freesco 0.3.5
Code: Select all
edrive_1.02_gnork            e2fs_1.01_gnork
mc-4.6.0-lightning           usergui_1b_tiger
perl_5.6.1_dingetje          openssl-0.9.6g_user_nadegda
apache_1.3.27_dingetje       antivir_2.1.2_phbc50
utils_1.1_dingetje


My offline freesco 0.3.4
Code: Select all
banip_0.13_ysby-03x          antivir_2.1.2_phbc50
perl_5.6.1_dingetje          seti_3.0.3_dingetje
mc-4.6.0-lightning           mysql-4.1.7a-lightning
usergui_1b_tiger             lcdproc_0.4.5_dingetje
netwatch_1.0b_dingetje       thttpd+_php-4.2.3_the.icy.k
e2fs_1.01_gnork              edrive_1.02_gnork
utils_1.1_dingetje           UpLA_1.3_the-icy-k
shaper-2.2.12-lightning      mrtg_2.9.12a_ionelmi
banip_0.15_ysby-03x          banip_0.17_ysby-03x
hosts-1.1-lightning          rrdtool_1.0.40_dingetje



dingetje Exacly that I trying too do, but I geting only:
"Can't load '/usr/local/lib/perl5/site_perl/5.6.1/i386-linux/auto/GD/GD.so'for module GD: File not found at /usr/local/lib/perl5/5.6.1/i386-linux/DynaLoader.pm line 206.
at gd.pl line 3
Compilation failed in require at gd.pl line 3.
BEGIN failed--compilation aborted at gd.pl line 3." :angry: :(
Freesco - PicoPhone & NetMeeting: robb-h.mine.nu
Intressanta hemsidor: JemtRallarna LGR FBS Min Labbsida
Fel 404 = Felet är 404mm från skärmen.
User avatar
lgrfbs
Junior Advanced Member
 
Posts: 100
Joined: Mon Mar 01, 2004 5:37 pm
Location: Jamtland

Postby lgrfbs » Thu Apr 05, 2007 1:12 pm

Can this help me with the perl problem?
<a href='http://lgrfbs.dyndns.org/cgi/05Test_b.pl' target='_blank'>http://lgrfbs.dyndns.org/cgi/05Test_b.pl</a>
<a href='http://lgrfbs.dyndns.org/apache.html' target='_blank'>http://lgrfbs.dyndns.org/apache.html</a>
Freesco - PicoPhone & NetMeeting: robb-h.mine.nu
Intressanta hemsidor: JemtRallarna LGR FBS Min Labbsida
Fel 404 = Felet är 404mm från skärmen.
User avatar
lgrfbs
Junior Advanced Member
 
Posts: 100
Joined: Mon Mar 01, 2004 5:37 pm
Location: Jamtland

Postby dingetje » Thu Apr 05, 2007 3:18 pm

When I run the 'test.pl' script (do a search on Google for the code) on my system and edit it to add the GD check, it runs OK.
The only thing I can think of, that may cause this kind of trouble, is a corrupted file system. Maybe when you rename the i386-linux directory in site_perl and untar the above posted tarball once more (in effect you have the files twice on your system then, once in the possibly corrupted but now renamed directory, and once in the newly created i386-linux directory) the problem may be resolved.

The fact that the software works on your off-line 034 box proves to me it is related to this new 035 box. I can't rule out a conflict with one of the other packages though...
GreetZ
http://dingetje.homeip.net

"Software is like sex: it's better when it's free." - LINUS TORVALDS
User avatar
dingetje
FREESCO GURU !!
 
Posts: 1004
Joined: Wed Nov 14, 2001 12:13 pm
Location: The Netherlands

Postby lgrfbs » Sat Apr 07, 2007 7:40 am

Real thanks for all help, you gays is the best!

dingetje I tested you answer but gets the same error. :(

I will reinstall the 0.3.5 box with 0.3.7 but only after a
real formatin of the hardrive so nothing is in the way of
the new freesco installation.

How do you backup you files then you shall reinstall?
I do a FTP of www/cgi files to a other linux computer for the moment.


Edit:
fixed some spelling errors.
Freesco - PicoPhone & NetMeeting: robb-h.mine.nu
Intressanta hemsidor: JemtRallarna LGR FBS Min Labbsida
Fel 404 = Felet är 404mm från skärmen.
User avatar
lgrfbs
Junior Advanced Member
 
Posts: 100
Joined: Mon Mar 01, 2004 5:37 pm
Location: Jamtland

Previous

Return to 3rd Party Package Support for FREESCO v0.3.x

Who is online

Users browsing this forum: No registered users and 1 guest