Home > other >  Perl manual installation make problems
Perl manual installation make problems

Time:01-07

Background: school is super computer perl version is too low, can't support I need to run the software, so the high version of the installation perl5.32.0 or perl5.28.4, since there is no way to connect to the Internet, so download perl to manually install package,
Operation: after decompression into folders, and configure and run the code to the
./Configure -- des Dprefix=~/opt/sysoft/perl - 5.32.0/

Configure process without error, but in the end is to remind the
 make: warning: Clock skew detected. Your build may be incomplete. 


Then make under the folder directly, will appear in. C the error at the end of file, I don't know is what reason, the baidu search found that could be the result of a header file chaos, it is also possible that the grammar problem, anyway I also don't understand the language of c, so don't know how to do? I also consider whether should not be used GCC and should use the g + + programming is good? Pray god to help see what reason how to debug? 5.32.0 version error syntax is as follows:
 sv. C: In the function 'Perl_sv_upgrade: 
Sv. C: 1304: warning: implicit declaration of the function '_Static_assert
'Pp. C: In the function 'Perl_pp_length:
Pp. C: 3100: warning: implicit declaration of the function '_Static_assert
'Sv. C: In the function 'Perl_sv_setpviv_mg:
Sv. C: 10768: warning: 'Perl_sv_setpviv is deprecated (declared at sv. C: 10737)
Pp. C: In the function 'Perl_pp_argelem:
Pp. C: 7031: warning: the value computed is not 2
Pp_hot. C: In the function 'Perl_pp_padrange:
Pp_hot. C: 1189: warning: implicit declaration of the function '_Static_assert
'Pp_sys. C: In the function 'Perl_tied_method:
Pp_sys. C: 527: warning: implicit declaration of the function '_Static_assert
'Pp_sys. C: In the function 'Perl_pp_stat:
Pp_sys. C: 2949: warning: comparison of unsigned expression & lt; 0 is always false


When I install 5.28.4 version of the error message is as follows:
 locale. C: 109: error: expected declaration specifiers or '... 'before' (' token 
Locale. C: 109: error: expected declaration specifiers or '... 'before the string constant
Locale. C: 109: warning: data definition has no type or storage class
Locale. C: 109: warning: type defaults to 'int' in declaration of '_Static_assert
'Locale. C: 110: error: expected declaration specifiers or '... 'before' (' token
Locale. C: 110: error: expected declaration specifiers or '... 'before the string constant
Locale. C: 110: warning: data definition has no type or storage class
Locale. C: 110: warning: type defaults to 'int' in declaration of '_Static_assert
'The rm -f pod/perl5281delta pod
Cc - c - DPERL_CORE fwrapv - fno - strict - aliasing - pipe - fstack - protector - I/usr/local/include - D_LARGEFILE_SOURCE -d_file_offset_bits=64 - D_FORTIFY_SOURCE=2 - STD=c89 - O2 - Wall - Werror=declaration - after the statement - Werror=pointer - arith - Wextra - Wc++ - compat - Wwrite - strings miniperlmain. C
Make: * * * [locale. O] Error 1
Make: * * * Waiting for unfinished jobs...
/bin/ln -s perldelta. Pod pod/perl5281delta pod


Above all be. C file out of the question, in the locale. C file view, found that is
STATIC_ASSERT_DECL (STRLENs (UTF8NESS_SEP)==1);
STATIC_ASSERT_DECL (STRLENs (UTF8NESS_PREFIX)==1)
I don't know what causes an error,

Please everyone a great god help children

CodePudding user response:

Use Google search
Cc DPERL_CORE fwrapv miniperlmain. C

Find some post
Failure to build since 1.1.8, Issue # 64, arsv/perl - cross
-> If you try you make added - Jacqueline Nottingham, if so, try to get rid of

Other posts

Bisect. Pl broken for 3 commits in blead, Issue # 16521, Perl/Perl 5
Undefined reference to ` pthread_getspecific 'and the error during sh Configure trying to compile a perl - 5.30.1

Your reference and see,

Others no environment, you can only rely on yourself a little bit:

From the phenomenon of error - & gt; View the source - & gt; The reason for the error analysis and speculation - & gt; Reverse debugging - & gt; Finally found the reason and solution
  • Related