"Christmas - the time to fix the computers of your loved ones" « Lord Wyrm

cpan perl tk::spinbox installiern nur wie?

normahl 24.10.2005 - 14:57 2352 10
Posts

normahl

Here to stay
Registered: Aug 2003
Location: AT
Posts: 3575
hallo hab ein problem :) nanonaned


also ich hab perl installiert und möcht jetzt tk:spinbox nachinstallieren -> paket hab ich schon heruntn weil über cpan -> get tk::spinbox hab ichs ned bekommen

und mit kpackage bzw apt-get auch ned gefunden

wie kann ich des nun installieren?


danke im vorraus mfg luki

watchout

Legend
undead
Avatar
Registered: Nov 2000
Location: Off the grid.
Posts: 6845
wo is das Coding-Problem? Willst APT neu proggen?
-> moving.

normahl

Here to stay
Registered: Aug 2003
Location: AT
Posts: 3575
is in meinen augen ein coding problem weil cpan bzw perl nicht linux abhängig ist somit is dieser move in meinen augen sinnlos?!...

Troy

amateur
Avatar
Registered: Feb 2002
Location: Wien
Posts: 4390
aber du betreibst ein linux system, also ist dieser "move" doch gerechtfertigt.
wenn du ein debian system betreibst und du ein debian paket runtergeladen hast, kannst du es mit dpkg -i <paketname> installieren.

normahl

Here to stay
Registered: Aug 2003
Location: AT
Posts: 3575
nein sorry vergessn zu sagn war ein normales tar.gz

was mich einfach wundert is das ich nedmal im cpan was find ?

Gex

Oralapostel
Avatar
Registered: Jan 2001
Location: Piefkinesien
Posts: 3376
sollte es sich nicht normalerweise einfach installieren lassen?

also:
tar xzf deinfile.tar.gz
cd deinfile
./configure
make && make install

normahl

Here to stay
Registered: Aug 2003
Location: AT
Posts: 3575
hm ich hab was gefundn ich muss perl Makefile.pl machen
aber dann ist folgendes
(Sorry bin noob)

root@whiskey:~/.cpan/build/Tk-804.027# perl Makefile.PL
/usr/bin/perl is installed in /usr/lib/perl/5.8 okay
PPM for perl5.008007
Test Compiling config/signedchar.c
Test Compiling config/Ksprintf.c
Test Compiling config/tod.c
Test Compiling -DTIMEOFDAY_TZ config/tod.c
TZ gettimeofday()
Using -L/usr/X11R6/lib to find /usr/X11R6/lib/libX11.so.6.2
Cannot find X include files via /usr/X11R6/include
Cannot find X include files anywhere at ./myConfig line 332.
Compilation failed in require at Makefile.PL line 36.
BEGIN failed--compilation aborted at Makefile.PL line 38.

madp

Big d00d
Registered: Mar 2005
Location: vienna
Posts: 161
Code:
cpan> get tk::spinbox
CPAN: Storable loaded ok
Fetching with LWP:
  [url]ftp://cpan.inode.at/authors/01mailrc.txt.gz[/url]
Going to read /Users/brunowidmann/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Fetching with LWP:
  [url]ftp://cpan.inode.at/modules/02packages.details.txt.gz[/url]
Going to read /Users/brunowidmann/.cpan/sources/modules/02packages.details.txt.gz
  Database was generated on Wed, 26 Oct 2005 10:01:39 GMT
Fetching with LWP:
  [url]ftp://cpan.inode.at/modules/03modlist.data.gz[/url]
Going to read /Users/brunowidmann/.cpan/sources/modules/03modlist.data.gz
Going to write /Users/brunowidmann/.cpan/Metadata
Warning: Cannot get tk::spinbox, don't know what it is.
Try the command

    i /tk::spinbox/

to find objects with matching identifiers.

cpan> get Tk::Spinbox
Running get for module Tk::Spinbox
Fetching with LWP:
  [url]ftp://cpan.inode.at/authors/id/N/NI/NI-S/Tk-804.027.tar.gz[/url]

case sensitive :cool:

normahl

Here to stay
Registered: Aug 2003
Location: AT
Posts: 3575
lol
man auf das muss man mal kommen danke!

so lange kann einem eine shift taste beschäftigen *g*


danke!


aber installiern kann ers trotzdem ned! -> fehler wie oben

madp

Big d00d
Registered: Mar 2005
Location: vienna
Posts: 161
bitte gerne.

Zu dem Fehler beim make: Es sind scheints die X11 header files nicht installiert. Oder gibts irgendwo X11/X.h auf dem System?

Hast Du debian-linux? IIRC ist das da ja bei den meisten Programmen so geloest das die nur zum Development notwendigen files in ein eigenes sub-package ausgelagert sind. Das musst dir dann halt noch installieren.

normahl

Here to stay
Registered: Aug 2003
Location: AT
Posts: 3575
ok danke werd ich gleich probiern!


edit: ja is debian - also kantotix 4-2005 lite
edit2: -> habs per hand nochmal installiert jetzt gehts *grübl*

danke jednfalls
Bearbeitet von normahl am 27.10.2005, 15:15
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz