Schrift
Wiki:Tipp zum Debugging: use Data::Dumper; local $Data::Dumper::Useqq = 1; print Dumper \@var;
[thread]5624[/thread]

Grafiken generieren in Perl (Seite 2)

Tags: Ähnliche Threads

Leser: 2


<< |< 1 2 >| >> 17 Einträge, 2 Seiten
stb2050
 2003-08-16 14:15
#55379 #55379
User since
2003-08-14
87 Artikel
BenutzerIn
[default_avatar]
Hm also ich verstehe gar nichts. Was soll ich denn nun machen? Hab das GD von seach.cpan.org gedownloaded, und das GDlib von bourtell oder so.

Viele Grüße
Steffen
snadra
 2003-08-16 14:25
#55380 #55380
User since
2003-08-11
265 Artikel
BenutzerIn
[Homepage] [default_avatar]
Lade dir nochmal libgd runter und installier sie neu... Und anschliessend versuche nochmal das Perl Modul zu installieren
http://hamburg.pm.org
jeden 2. mittwoch im monat
--
#!/usr/bin/perl -w
$l=join('',map chr,(116,110,105,114,112))if$^T;
!!$$?@_=qw(Jhfg Aabgure Prey Hnpxre):$l=1;
for(@_){eval reverse($l)."'"._(_(_($_))).' \''}
sub _{$_=~y+a-z+n-za-m+and pop}
stb2050
 2003-08-16 14:47
#55381 #55381
User since
2003-08-14
87 Artikel
BenutzerIn
[default_avatar]
Hi Du,

habe ich bereits versucht (ist übrigens Suse Linux 8.1), über SSH:

wget http://www.boutell.com/gd/http/gd-2.0.15.tar.gz
tar xzf gd-2.0.15.tar.get
cd gd-2.0.15

Danach:

./configure

Dabei kam folgender Fehler:

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
checking for a BSD-compatible install... /usr/bin/install -c 
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... ./configure: line 2868: cd: ..: No such file
or directory
gcc3
checking for gcc option to accept ANSI C... cat: confdefs.h: No such file or dir
ectory
none needed
checking for a BSD-compatible install... /usr/bin/install -c
configure: error: cannot run /bin/sh config/config.sub


Viele Grüße
Steffen
Strat
 2003-08-16 17:38
#55382 #55382
User since
2003-08-04
5246 Artikel
ModeratorIn
[Homepage] [default_avatar]
Bei SuSE8.1 installierst du GD am besten ueber yast2 -> Software -> Paketen hinzufuegen und loeschen -> Suche -> GD -> irgendwas mit Perl-Modul GD kommt dann
perl -le "s::*erlco'unaty.'.dk':e,y;*kn:ai;penmic;;print"
http://www.fabiani.net/
stb2050
 2003-08-16 17:48
#55383 #55383
User since
2003-08-14
87 Artikel
BenutzerIn
[default_avatar]
Hi strat,

habe ich versucht und dort installiert ... dann Apache neu gestartet.

Kommt aber bei Aufruf des Perl-Scripts immer noch:

Can't locate GD.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at grafik.pl line 5.
BEGIN failed--compilation aborted at grafik.pl line 5.

Viele Grüße
Steffen
Strat
 2003-08-16 18:06
#55384 #55384
User since
2003-08-04
5246 Artikel
ModeratorIn
[Homepage] [default_avatar]
dann gehe nach yast2, werfe die libgd und GD raus -> beende yast
dann starte yast2 neu und installiere libgd und GD nochmal.

Da gab es gerade mal eine Versionsumstellung (von 1.x auf 2, glaube ich), und die beiden Versionen sind zueinander nicht kompatibel. Und ich vermute, dass das das Problem ist.
perl -le "s::*erlco'unaty.'.dk':e,y;*kn:ai;penmic;;print"
http://www.fabiani.net/
stb2050
 2003-08-17 19:22
#55385 #55385
User since
2003-08-14
87 Artikel
BenutzerIn
[default_avatar]
Hi,

danke euch allen, ich werds noch mal versuchen. Und wenns auch nicht klappt, dann gebe ich es auf :-)

Viele Grüße
Steffen
<< |< 1 2 >| >> 17 Einträge, 2 Seiten



View all threads created 2003-08-15 18:24.