Re: Problem building perl5 on NetBSD 6 / Sparc64

Helge Muehlmeier <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64,gmane.os.netbsd.devel.pkgsrc.user
Message-ID <[email protected]>
Hi,

after I set system date to a reasonable value I'm able to build perl5.
System date was set to something like year 24053...

For people who are interested in this I found this solution described in:

http://mail-index.netbsd.org/current-users/2011/05/19/msg016741.html

Greetings,
Helge



Am 04.05.2013 13:13, schrieb Helge Muehlmeier:
> Hi,
>
> I try to install a MySQL server on a Sun Blade 2000 computer running 
> NetBSD-6. I tried to use an older pkgsrc-branch (pkgsrc-2012Q3) and 
> NetBSD-current too but got the same error.
>
> I got the following output:
>
>
> ----------------
> Updating makefile...
> Now you must run 'make'.
>
> If you compile perl5 on a different machine or from a different object
> directory, copy the Policy.sh file from this object directory to the
> new one before you run Configure -- this will help you with most of
> the policy defaults.
>
> ===> Building for perl-5.16.2nb4
> `sh  cflags "optimize='-O2  -pthread  -I/usr/include'" perlmini.o` 
> -DPIC -fPIC -DPERL_IS_MINIPERL -DPERL_EXTERNAL_GLOB perlmini.c
>           CCCMD =  gcc -DPERL_CORE -c -O2 -pthread -I/usr/include 
> -fno-strict-aliasing -pipe -fstack-protector  -std=c89 -O2 -pthread  
> -I/usr/include  -Wall -ansi -W -Wextra -Wdeclaration-after-statement 
> -Wendif-labels -Wc++-compat -Wwrite-strings
> perl.c: In function 'S_Internals_V':
> perl.c:1763:1: internal compiler error: invalid built-in macro "__DATE__"
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See  for instructions.
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/perl5/work/perl-5.16.2
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/perl5
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/perl5
> --------------------
>
> Any ideas?
>
> Greetings,
> Helge
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.