Ask a Question related to PERL Modules, Design and Development.
-
TheDD #1
Problem installing a perl module "File exists"
Hello,
i'm trying to install the Date::Simple module, but i have an error:
$ tar xvzf Date-Simple-3.01.tar.gz
Date-Simple-3.01/
Date-Simple-3.01/ChangeLog
Date-Simple-3.01/COPYING
Date-Simple-3.01/lib/
Date-Simple-3.01/lib/Date/
Date-Simple-3.01/lib/Date/Simple/
Date-Simple-3.01/lib/Date/Simple/D8.pm
Date-Simple-3.01/lib/Date/Simple/Fmt.pm
Date-Simple-3.01/lib/Date/Simple/ISO.pm
Date-Simple-3.01/lib/Date/Simple/NoXS.pm
Date-Simple-3.01/lib/Date/Simple.pm
Date-Simple-3.01/Makefile.PL
Date-Simple-3.01/MANIFEST
Date-Simple-3.01/MANIFEST.SKIP
Date-Simple-3.01/META.yml
Date-Simple-3.01/README
Date-Simple-3.01/Simple.xs
Date-Simple-3.01/t/
Date-Simple-3.01/t/date.t
$ cd Date-Simple-3.01
$ perl Makefile.PL
Enabling XS code.
If you get errors, run `make distclean'
and try again using `perl Makefile.PL noxs'.
Checking if your kit is complete...
Looks good
Writing Makefile for Date::Simple
$ make
cp lib/Date/Simple/ISO.pm blib/lib/Date/Simple/ISO.pm
cp lib/Date/Simple.pm blib/lib/Date/Simple.pm
cp lib/Date/Simple/D8.pm blib/lib/Date/Simple/D8.pm
cp lib/Date/Simple/NoXS.pm blib/lib/Date/Simple/NoXS.pm
cp lib/Date/Simple/Fmt.pm blib/lib/Date/Simple/Fmt.pm
/usr/bin/perl5.8.3 /usr/lib/perl5/5.8.3/ExtUtils/xsubpp
-typemap /usr/lib/perl5/5.8.3/ExtUtils/typemap Simple.xs > Simple.xsc &&
mv Simple.xsc Simple.c
Please specify prototyping behavior for Simple.xs (see perlxs manual)
gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -fomit-frame-pointer -pipe -march=i586
-mcpu=pentiumpro -DVERSION=\"3.01\" -DXS_VERSION=\"3.01\" -fPIC
"-I/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE" Simple.c
Running Mkbootstrap for Date::Simple ()
chmod 644 Simple.bs
rm -f blib/arch/auto/Date/Simple/Simple.so
LD_RUN_PATH="/home/david/install/lib" gcc -shared -L/usr/local/lib Simple.o
-o blib/arch/auto/Date/Simple/Simple.so
chmod 755 blib/arch/auto/Date/Simple/Simple.so
cp Simple.bs blib/arch/auto/Date/Simple/Simple.bs
chmod 644 blib/arch/auto/Date/Simple/Simple.bs
Manifying blib/man3/Date::Simple::ISO.3pm
Manifying blib/man3/Date::Simple::NoXS.3pm
Manifying blib/man3/Date::Simple::D8.3pm
Manifying blib/man3/Date::Simple.3pm
Manifying blib/man3/Date::Simple::Fmt.3pm
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.3 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/date....ok
All tests successful.
Files=1, Tests=196, 0 wallclock secs ( 0.37 cusr + 0.03 csys = 0.40 CPU)
$ su
Password:
# make install
mkdir /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi: File exists
at /usr/lib/perl5/5.8.3/ExtUtils/Install.pm line 126
make: *** [pure_site_install] Erreur 255
What am i doing wrong? Plz help, i'm a new to perl.
My system is a mdk10 Community pre-official
--
TheDD
TheDD Guest
-
I can't use "make" during installing module ?
I downloaded module , after that I use perl Makefile.Pl ... It's OK ... then I use Make --> Dos told that "'make' is not recognized as an internal... -
"The file you selected does not exist" when the filedefinitely exists?
Hi all, Using Contribute CS3 against Contribute Publishing Server-- I have the site uploaded and set up within Contribute and CPS. But I am... -
Install Hangs on "Installing Merge Module"
I had run into an issue earlier today where my CFM pages would not display although all of the services and IIS were running fine. I decided to... -
"can't update file" problem installing extensions
:confused; I use Dreamweaver MX 2004 in Windows 2000 with Extension manager version 1.6.064 - and have a weird situation with installing... -
Can't create PS file - "no desktop printer exists for this spool type"
I can create PDF files from Photoshop, Illustrator or from any eps file by dropping them on to Distiller, but I can't create a ps file. I don't have... -
TheDD #2
Re: Problem installing a perl module "File exists"
Le 01/06/2004 à 00:30:07, TheDD <pas.d.email@pas.de.spam.fr> a écrit:
i have "fixed" the problem by removing the file. Several mention to> Hello,
>
> i'm trying to install the Date::Simple module, but i have an error:
>
> $ tar xvzf Date-Simple-3.01.tar.gz
> Date-Simple-3.01/
> Date-Simple-3.01/ChangeLog
> Date-Simple-3.01/COPYING
> Date-Simple-3.01/lib/
> Date-Simple-3.01/lib/Date/
> Date-Simple-3.01/lib/Date/Simple/
> Date-Simple-3.01/lib/Date/Simple/D8.pm
> Date-Simple-3.01/lib/Date/Simple/Fmt.pm
> Date-Simple-3.01/lib/Date/Simple/ISO.pm
> Date-Simple-3.01/lib/Date/Simple/NoXS.pm
> Date-Simple-3.01/lib/Date/Simple.pm
> Date-Simple-3.01/Makefile.PL
> Date-Simple-3.01/MANIFEST
> Date-Simple-3.01/MANIFEST.SKIP
> Date-Simple-3.01/META.yml
> Date-Simple-3.01/README
> Date-Simple-3.01/Simple.xs
> Date-Simple-3.01/t/
> Date-Simple-3.01/t/date.t
>
> $ cd Date-Simple-3.01
> $ perl Makefile.PL
> Enabling XS code.
> If you get errors, run `make distclean'
> and try again using `perl Makefile.PL noxs'.
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Date::Simple
>
> $ make
> cp lib/Date/Simple/ISO.pm blib/lib/Date/Simple/ISO.pm
> cp lib/Date/Simple.pm blib/lib/Date/Simple.pm
> cp lib/Date/Simple/D8.pm blib/lib/Date/Simple/D8.pm
> cp lib/Date/Simple/NoXS.pm blib/lib/Date/Simple/NoXS.pm
> cp lib/Date/Simple/Fmt.pm blib/lib/Date/Simple/Fmt.pm
> /usr/bin/perl5.8.3 /usr/lib/perl5/5.8.3/ExtUtils/xsubpp
> -typemap /usr/lib/perl5/5.8.3/ExtUtils/typemap Simple.xs > Simple.xsc &&
> mv Simple.xsc Simple.c
> Please specify prototyping behavior for Simple.xs (see perlxs manual)
> gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/usr/include/gdbm -O2 -fomit-frame-pointer -pipe -march=i586
> -mcpu=pentiumpro -DVERSION=\"3.01\" -DXS_VERSION=\"3.01\" -fPIC
> "-I/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE" Simple.c
> Running Mkbootstrap for Date::Simple ()
> chmod 644 Simple.bs
> rm -f blib/arch/auto/Date/Simple/Simple.so
> LD_RUN_PATH="/home/david/install/lib" gcc -shared -L/usr/local/lib Simple.o
> -o blib/arch/auto/Date/Simple/Simple.so
> chmod 755 blib/arch/auto/Date/Simple/Simple.so
> cp Simple.bs blib/arch/auto/Date/Simple/Simple.bs
> chmod 644 blib/arch/auto/Date/Simple/Simple.bs
> Manifying blib/man3/Date::Simple::ISO.3pm
> Manifying blib/man3/Date::Simple::NoXS.3pm
> Manifying blib/man3/Date::Simple::D8.3pm
> Manifying blib/man3/Date::Simple.3pm
> Manifying blib/man3/Date::Simple::Fmt.3pm
>
> $ make test
> PERL_DL_NONLAZY=1 /usr/bin/perl5.8.3 "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/date....ok
> All tests successful.
> Files=1, Tests=196, 0 wallclock secs ( 0.37 cusr + 0.03 csys = 0.40 CPU)
>
> $ su
> Password:
> # make install
> mkdir /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi: File exists
> at /usr/lib/perl5/5.8.3/ExtUtils/Install.pm line 126
> make: *** [pure_site_install] Erreur 255
>
> What am i doing wrong? Plz help, i'm a new to perl.
>
> My system is a mdk10 Community pre-official
pdflib were in the file.
Now the make install have created a directory with the same name:
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/:
total 8
drwx--x--x 3 root root 4096 jun 1 18:24 auto/
drwx--x--x 3 root root 4096 jun 1 18:24 Date/
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto:
total 4
drwx--x--x 3 root root 4096 jun 1 18:24 Date/
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/Date:
total 4
drwx--x--x 2 root root 4096 jun 1 18:24 Simple/
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/Date/Simple:
total 40
-rw-r--r-- 1 root root 0 jun 1 00:25 Simple.bs
-rwxr-xr-x 1 root root 37787 jun 1 00:25 Simple.so*
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/Date:
total 24
drwx--x--x 2 root root 4096 jun 1 18:24 Simple/
-rwxr-xr-x 1 root root 16640 avr 5 21:55 Simple.pm*
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/Date/Simple:
total 20
-rwxr-xr-x 1 root root 978 avr 5 21:41 D8.pm*
-rwxr-xr-x 1 root root 1377 avr 5 21:42 Fmt.pm*
-rwxr-xr-x 1 root root 809 avr 5 21:41 ISO.pm*
-rwxr-xr-x 1 root root 4542 avr 5 21:55 NoXS.pm*
Everything seems to work.
--
TheDD
TheDD Guest



Reply With Quote

