|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Jan 2002
Città: Trance City
Messaggi: 7299
|
riporto parte di 1 readme che mi chiede di fare cose strane
salve a tutti
siccome nn sono in grado di installare queste librerie,riporto parte di 1 readme che mi chiede (mi pare )di configurare la shell mi pare di aver capito ma nn ne sono sicuro xche' l eng nn e' il mio forte mi potete spiegare ch operazioni mi chiede di fare? io ho prvato col primo comando e mi vengono fuori 1 mucchio di opzioni da configurare....nn vorrei fare dei casini This file was pre-historic - so I have pruned it to the essentials, and the bits that still looked correct. With modern perl and CPAN.pm you should be able to type: perl -MCPAN -e shell make NI-S/Tk800.0_01.tar.gz Or do it by hand as follows: get the Tk800.0_01.tar.gz file - use binary mode if FTP'ing. Unpack it e.g. zcat Tk800.0_01.tar.gz | tar xf - cd to the directory distribution unpacks to. perl Makefile.PL make make test If Makefile.PL reports that it cannot find X, or chooses a version you don't like you can specify a version on the command line: perl Makefile.PL X11=/usr/local/X11R5 If X's include and lib are not under a common parent they can be specified separately: perl Makefile.PL X11INC=/usr/local/share/X11R5/include X11LIB=/usr/local/arch/X11R5/lib 'make test' is a little tedious as it re-checks all the dependancies. perl -Mblib demos/widget Does more-or-less the same thing. You can also run the less polished 'demos' in the top level directory the same way e.g.: perl -Mblib basic_demo You should now install using one of the make targets: make install # normally site unless overridden as above make INSTALLDIRS=perl # Force perl make INSTALLDIRS=site # Force site Above call these targets (which may not survive MakeMaker changes): make install_site # Force site make install_perl # Force perl Once installed the demos in the demos sub-directory should run (if #! line is right): ./demos/widget |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 14:03.