Bonjour à tous,

Je suis en train d'essayer le module Apache::ASP qui nécessite tout d'abord
HTTP::Date. J'ai donc tenté d'installer Lcwa qui contient HTTP::Date et j'ai
pas mal de problèmes.
Le ./configure n'a pas l'air de poser de problème particulier, le voila :

****************************************************************
Configuring for LCWA 1.0.0 (30-10-1997)
creating cache ./config.cache
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for Perl interpreter... /usr/bin/perl5 v5.005_03
checking for MakeMaker's private install paths... ok
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating lcwa_boot.pl
creating etc/expand
creating etc/crunch
****************************************************************

Par contre quand je tape "make all" la déja ca commence à aller bcp moins
bien, je le tape une fois et j'obtiens ça :

****************************************************************
[root@Erual lcwa-1.0.0]# make all
./etc/expand lcwa_main.pl | ./etc/crunch README >lcwa.tmp
sed -e "s|\@PATH_PERL\@|/usr/bin/perl5|" <lcwa.tmp >lcwa
chmod a+x lcwa
rm lcwa.tmp
pod2man --section=1 --center="EN Tools" --release="EN Tools"  >lcwa.1
/usr/bin/pod2man: Need one and only one podpage argument
usage: /usr/bin/pod2man [options] podpage
Options are:
        --section=manext      (default "1")
        --release=relpatch    (default "perl 5.005, patch 03")
        --center=string       (default "User Contributed Perl
Documentation")
        --date=string         (default "15/Apr/2001")
        --fixed=font          (default "CW")
        --official            (default NOT)
        --lax                 (default NOT)
make: *** [lcwa.1] Error 2
****************************************************************


Ensuite je le tape une 2ème fois et j'obtiens une compil qui a l'air de se
passer normalement sauf à ce niveau ou une erreur apparait, la voici :

****************************************************************
/usr/bin/perl5 -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503
/usr
/lib/perl5/5.00503/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.00503/ExtUtils/typ
emap IO.xs >xstmp.c && mv xstmp.c IO.c
cc -c  -Dbool=char -DHAS_BOOL -I/usr/local/include -O3 -fomit-frame-pointer
-fno
-exceptions -fno-rtti -pipe -s -mpentium -mcpu=pentium -march=pentium -ffast
-math -fexpensive-optimizations    -DVERSION=\"1.18\" -DXS_VERSION=\"1.18\"
-fpic -I
/usr/lib/perl5/5.00503/i386-linux/CORE -DI_POLL  IO.c
IO.xs:65: warning: static declaration for `Perl_newCONSTSUB' follows
non-static
IO.xs: In function `Perl_newCONSTSUB':
IO.xs:72: `hints' undeclared (first use in this function)
IO.xs:72: (Each undeclared identifier is reported only once
IO.xs:72: for each function it appears in.)
IO.xs:76: `copline' undeclared (first use in this function)
make[2]: *** [IO.o] Error 1
****************************************************************

Vous pourrez trouver tout le make ici :

http://perso.wanadoo.fr/alliance/linux/errmake.txt



J'ai essayé d'outrepasser ces 2 erreurs en trafiquant le Makefile.in en
rajoutant lcwa.pod au Pod2man ca fait passer le make et en mettant have_io=1
ce qui passe le 2ème problème sans normalement poser trop de problème
d'après ce que j'ai compris (je corrige juste une ligne et j'assume que IO
est déja installé dans la 2ème ce qui est vrai ?). Seulement tout ça ne se
copy pas au bon endroit lors du make install (les libs se mettent dans
/usr/local/lib/... alors quand je lance lcwa il cherche dans @INC qui ne
contient pas /usr/local/lib/...), j'ai donc trouvé je pense une solution que
je n'ai pas encore testé en attendant votre avis sur les 2 autres problèmes
et sur celui-la par la même occasion, j'ai trouvé ça dans le configure :

****************************************************************
# Defaults:
ac_help=
ac_default_prefix=/usr/local
# Any additions from configure.in:
ac_default_prefix=/usr/local
ac_help="$ac_help
  --with-perl             force the usage of a specific installed Perl"
ac_help="$ac_help
  --with-openworld        try to use system-wide copies of Perl modules"
****************************************************************

En changeant les default_prefix ca devrait le faire n'estce pas ?


Merçi d'avance

--
Illusion



Répondre à