Add GD modul to perl_5.6.1_dingetje.pkg

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

Add GD modul to perl_5.6.1_dingetje.pkg

Postby lgrfbs » Fri Jan 21, 2011 9:03 am

System: Freesco 0.4.2
LIST OF ALL INSTALLED PACKAGES:
apache_1.3.27b_dingetje
lynx-2.8.1-lightning
patches-042-2
mc-4.6.0-lightning
patches-042-3
mysql-4.1.7-lightning
perl_5.6.1_dingetje
ext2-0.4.2-lewis
openssl-0.9.6g-lightning
patches-042-1
utils_1.1_dingetje

How do I add the perls GD modul to the perl_5.6.1_dingetje.pkg install?
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

Re: Add GD modul to perl_5.6.1_dingetje.pkg

Postby Lightning » Sat Jan 22, 2011 12:17 am

The first thing that you need is the libgd library. Which to my knowledge only comes with one package. So what you need to do is to install the "lightsquid_1.7.1_system32.pkg" package. You then can uninstall the package as soon as it is installed and the libgd libraries will remain on your system and active. Libraries are the single item that are not removed when removing packages because of other possible dependencies.
I do not know if there are any specific scripts required in perl as well but lightsquid is written almost entriely in perl so it is a start at least and it works in the lightsquid package do draw graphs and such on web pages.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Re: Add GD modul to perl_5.6.1_dingetje.pkg

Postby lgrfbs » Sat Jan 22, 2011 10:54 am

Thanks, a littel better.
Now I get "Memory fault" then I try to run a perl script as uses the GD.

Edit:
After rebooting the system it will not run, I can have done it harm....
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

Re: Add GD modul to perl_5.6.1_dingetje.pkg

Postby lgrfbs » Sat Jan 22, 2011 3:55 pm

My system is up and runing now, but I have same error from the perl GD
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

Re: Add GD modul to perl_5.6.1_dingetje.pkg

Postby Lightning » Sat Jan 22, 2011 7:42 pm

Ok, I just recompiled the library myself. So you can try it out and see what happens. Here is how to install it
Code: Select all
cd /pkg/lib
rm libgd.so.2.0.0
snarf http://lewys-spot.dyndns.org/test/libgd.so.2.0.0.gz
zcat < libgd.so.2.0.0.gz > libgd.so.2.0.0
rm  libgd.so.2.0.0.gz
chmod +x libgd.so.2.0.0
ln -sf  libgd.so.2.0.0  libgd.so.2
ln -sf libgd.so.2.0.0 libgd.so
pkg -rescan

Then try your perl scripting again and see what happens.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Re: Add GD modul to perl_5.6.1_dingetje.pkg

Postby lgrfbs » Sat Jan 22, 2011 11:02 pm

:evil: dame, snarf cammand failed, I can load webpage on my mobilephone out of my Wlan, so the internet can see my webpages but the freesco can not see webpages on the internet. freesco runs as server only.

Code: Select all
Internet}---{ADSL Modem/Router}
{freesco}-------+       :
{My Laptop}-------------+
You do not have the required permissions to view the files attached to this post.
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

Re: Add GD modul to perl_5.6.1_dingetje.pkg

Postby Lightning » Sun Jan 23, 2011 1:44 am

You can download the file with anything and copy it to a floppy. Then put the floppy in FREESCO and use
Code: Select all
a:
cp /mnt/fd/libgd.so.2.0.0.gz  /pkg/lib/
a:
Just add this code to the above code in place of the snarf command.
Although looking at the report it looks like it should be able to do it on it's own.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Re: Add GD modul to perl_5.6.1_dingetje.pkg

Postby lgrfbs » Thu Jan 27, 2011 4:51 pm

Shall I reboot the system after I are done ?
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

Re: Add GD modul to perl_5.6.1_dingetje.pkg

Postby Lightning » Thu Jan 27, 2011 8:22 pm

Shall I reboot the system after I are done ?

It shouldn't be necessary, however try it and see first and then reboot if it still doesn't work.
Also after viewing your report.txt I would STRONGLY recommend disabling the extra ramdisk. The extra ramdisk is ONLY useful on floppy installs of FREESCO and on hard drive installs it just creates more memory issues.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Re: Add GD modul to perl_5.6.1_dingetje.pkg

Postby lgrfbs » Fri Jan 28, 2011 8:15 am

Reboot is done and the extra RAM is off, it is worse now.
Then freesco start up I gets errors in the listing on terminal ALT-F1.
Then I should look in the BIOS of the computer for check the system clock and some other thing, so BIOS screen loads but the keyboard is dead but works for get in to BIOS mode under POST time.
Is it a way to dump the "screen info" on ALT-F1 so I can show it for you?
I have a sing-up routine for a computer competition from
2011-01-21 Kl. 01.00 GMT +1
to
2011-04-15 Kl. 20.00 GMT +1
so I can not reboot or give it giant error to the system under this period.
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

Re: Add GD modul to perl_5.6.1_dingetje.pkg

Postby Lightning » Fri Jan 28, 2011 8:37 pm

Reboot is done and the extra RAM is off, it is worse now.
Then freesco start up I gets errors in the listing on terminal ALT-F1.
Then I should look in the BIOS of the computer for check the system clock and some other thing, so BIOS screen loads but the keyboard is dead but works for get in to BIOS mode under POST time.
There is no need to see the boot screen as I recognize the symptoms.
Your primary problem is hardware related and it has very little to do with software as such. Adding the GD module can NOT effect the actual operating system in any way.
Also if turning off the extra ramdisk actually causes more problems then you have some serious memory issues and what was probably happening was that the ramdisk was occupying some of the bad ram area.
The very first thing I recommend is to take the machine apart and at a minimum remove and re-seat all of the memory modules along with a basic cleaning of the board and components with some air so there is no dust residue on any surfaces. If that still does not help then replace the memory modules. A lot of time this type of problem never shows in DOS because DOS only uses 640K of it. You then can download "memtest86" and run that on the system and see if there is bad cache or memory in the system.

The clock problem is caused usually by a bad BIOS battery in an old computer and can be solved with a replacement or never shut the machine off after setting the time and date. However it is occasionally caused from a computer that is just plainly schizophrenic and the only cure is a simple and basic funeral. But be certain to set the "BIOS defaults" before any type of decision is made because some bogus settings can really mess with the system as well.

As for showing screen shots, there is only two ways to do that. The first is with a camera and a picture and the second and best way is with the system running in a VMware window but neither are really going to help with your specific issues.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Re: Add GD modul to perl_5.6.1_dingetje.pkg

Postby lgrfbs » Fri Feb 04, 2011 7:16 pm

So correct Mr Lightning, my capacitor on the motherboard is round at the top, nerly evry on of them. :(
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

Re: Add GD modul to perl_5.6.1_dingetje.pkg

Postby Lightning » Fri Feb 04, 2011 7:52 pm

my capacitor on the motherboard is round at the top

Bummer, but the good news is those are one of the few items on a motherboard that can be replaced quite easily if you get the replacement capacitor with the same exact values and a soldering iron.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Re: Add GD modul to perl_5.6.1_dingetje.pkg

Postby dingetje » Sun Feb 06, 2011 4:05 pm

I still have the GD stuff on my server under downloads
Its quite old stuff though and I haven't tested with a 04x machine.

the perl libraries are in http://dingetje.homeip.net/downloads/gd ... _5.6.1.tar

Code: Select all
drwxr-xr-x root/root         0 2006-11-14 07:53:12 i386-linux/
drwxr-xr-x root/root         0 2006-11-14 07:53:12 i386-linux/auto/
drwxr-xr-x root/root         0 2006-11-14 07:53:12 i386-linux/auto/GD/
-r-xr-xr-x root/root    119817 2006-11-14 07:53:07 i386-linux/auto/GD/GD.so
-r--r--r-- root/root         0 2006-11-14 07:53:07 i386-linux/auto/GD/GD.bs
-r--r--r-- root/root        81 2006-11-14 07:50:46 i386-linux/auto/GD/autosplit.ix
-rw-r--r-- root/root       771 2006-11-14 07:53:12 i386-linux/auto/GD/.packlist
-r--r--r-- root/root     32810 2001-12-07 00:25:48 i386-linux/qd.pl
-r--r--r-- root/root     59779 2006-06-21 23:09:58 i386-linux/GD.pm
drwxr-xr-x root/root         0 2006-11-14 07:53:12 i386-linux/GD/
-r--r--r-- root/root      4508 2006-11-14 07:50:46 i386-linux/GD/Image.pm
-r--r--r-- root/root     34701 2006-06-02 02:57:16 i386-linux/GD/Simple.pm
-r--r--r-- root/root      4017 2006-08-23 17:28:05 i386-linux/GD/Polygon.pm
-r--r--r-- root/root     22483 2006-08-23 17:28:09 i386-linux/GD/Polyline.pm

this tarball should be unpacked in /usr/local/lib/perl5/site/perl_5.6.1 (hence the name of the tarball)

The required libraries for /pkg/lib are in http://dingetje.homeip.net/downloads/gd_libs.tar

Code: Select all
lrwxrwxrwx root/root         0 2006-03-08 01:54:15 libpng.so -> libpng.so.3
-rwxr-xr-x root/root    264057 2006-02-23 00:04:58 libpng.so.3
-rwxr-xr-x root/root    208088 2003-04-13 12:56:32 libpng.so.3.1.2.5
lrwxrwxrwx root/root         0 2006-11-14 01:08:26 libpng12.so -> /pkg/lib/libpng12.so.0
lrwxrwxrwx root/root         0 2006-11-14 01:07:49 libpng12.so.0 -> /pkg/lib/libpng12.so.0.1.2.8
-rwxr-xr-x root/root    200925 2006-11-13 23:07:00 libpng12.so.0.1.2.8
lrwxrwxrwx root/root         0 2006-11-14 01:11:46 libgd.so -> /pkg/lib/libgd.so.2
lrwxrwxrwx root/root         0 2006-11-14 01:11:39 libgd.so.2 -> /pkg/lib/libgd.so.2.0.0
-rwxr-xr-x root/root    618900 2006-11-13 23:11:14 libgd.so.2.0.0
lrwxrwxrwx root/root         0 2006-03-08 01:54:15 libfreetype.so -> libfreetype.so.6.0.1
lrwxrwxrwx root/root         0 2006-08-22 00:45:14 libfreetype.so.6 -> libfreetype.so.6.0.1
-rwxr-xr-x root/root    455927 2005-06-19 20:30:30 libfreetype.so.6.0.1
lrwxrwxrwx root/root         0 2006-11-14 01:28:05 libz.so -> /pkg/lib/libz.so.1.1.4
lrwxrwxrwx root/root         0 2007-01-28 22:09:40 libz.so.1 -> libz.so.1.1.4
-rwxr-xr-x root/root     61089 2008-12-26 20:27:50 libz.so.1.1.4


Good luck with the hardware problems!
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

Re: Add GD modul to perl_5.6.1_dingetje.pkg

Postby lgrfbs » Mon Feb 07, 2011 4:34 am

I will try all you write dingetje and thanks to Lightning for all help.

A new thought is it important to the packages be install in a special order?
1; apache_1.3.27b_dingetje.pkg
2; perl_5.6.1_dingetje.pkg
or
1; perl_5.6.1_dingetje.pkg
2; apache_1.3.27b_dingetje.pkg
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

Next

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

Who is online

Users browsing this forum: No registered users and 1 guest

cron