Schrift
[thread]10926[/thread]

Installation von Math::GMP - Fehlermeldung



<< >> 3 Einträge, 1 Seite
Gast Gast
 2007-11-30 16:45
#103310 #103310
Hallo,

ich möchte eigentlich das Modul NET::SSH::PERL installieren, allerdings ist das von Math::GMP abhängig.

Wenn ich dann Math::GMP installieren will, bekomme ich nur eine ellenlange Fehlermeldung, mit der ich nichts anfangen kann.
Wenn ich es mit cpan versuche, dann kommt nur die Meldung, dass "seems to be impossible to install".

Ich hoffe mal, ihr könnt mir ein wenig weiterhelfen.
Hier der Fehlerbericht (da ich nur 2000 zeichen posten kann, hier erstmal nur der Anfang - falls ihr noch den Rest des Berichts braucht, meldet euch):

Quote
randomuser@meinPC:~/Downloads/Math-GMP-2.04> make
cp lib/Math/GMP.pm blib/lib/Math/GMP.pm
AutoSplitting blib/lib/Math/GMP.pm (blib/lib/auto/Math/GMP)
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap GMP.xs > GMP.xsc && mv GMP.xsc GMP.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall -pipe -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" -fPIC "-I/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE" GMP.c
GMP.xs:4:17: error: gmp.h: No such file or directory
GMP.xs: In function ‘constant’:
GMP.xs:49: warning: label ‘not_there’ defined but not used
GMP.c: In function ‘XS_Math__GMP_new_from_scalar’:
GMP.c:93: error: ‘mpz_t’ undeclared (first use in this function)
GMP.c:93: error: (Each undeclared identifier is reported only once
GMP.c:93: error: for each function it appears in.)
betterworld
 2007-11-30 20:12
#103326 #103326
User since
2003-08-21
2613 Artikel
ModeratorIn

user image
Sieht so aus, als ob Du die GMP selbst noch installieren musst. Bei Debian z. B. per Paket, etwa libgmp3-dev (-dev fuer Development, da sind die Header drin, die laut Deiner Fehlermeldung nicht gefunden wurden).
Gast Gast
 2007-12-04 10:04
#103420 #103420
vielen dank, daran hats gelegen :)
<< >> 3 Einträge, 1 Seite



View all threads created 2007-11-30 16:45.