Problem building perl-5.8.7_2

View: New views
6 Messages — Rating Filter:   Alert me  

Problem building perl-5.8.7_2

by Olivier Nicole :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

When I tryto build perl-5.8.7_2 I got:

`sh  cflags "optimize='-O -pipe'" toke.o` -fpic toke.c
          CCCMD =  gcc -DPERL_CORE -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.7/BSDPAN" -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe  -Wall
toke.c: In function `S_scan_formline':
toke.c:10392: error: invalid operands to binary +
toke.c:10392: error: invalid lvalue in unary `&'
toke.c:10392: error: invalid lvalue in unary `&'
*** Error code 1

Stop in /usr/ports/lang/perl5.8/work/perl-5.8.7.
*** Error code 1

Stop in /usr/ports/lang/perl5.8.
 
at the very begining of the compile. Any clue on what is going on?

TIA

Olivier
_______________________________________________
freebsd-questions@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."

Re: Problem building perl-5.8.7_2

by Olivier Nicole :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

When I tryto build perl-5.8.7_2 I got:

`sh  cflags "optimize='-O -pipe'" toke.o` -fpic toke.c
          CCCMD =  gcc -DPERL_CORE -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.7/BSDPAN" -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe  -Wall
toke.c: In function `S_scan_formline':
toke.c:10392: error: invalid operands to binary +
toke.c:10392: error: invalid lvalue in unary `&'
toke.c:10392: error: invalid lvalue in unary `&'
*** Error code 1

Stop in /usr/ports/lang/perl5.8/work/perl-5.8.7.
*** Error code 1

Stop in /usr/ports/lang/perl5.8.
 
at the very begining of the compile. Any clue on what is going on?

I forgot to mention this is going on
FreeBSD ufo.cs.ait.ac.th 5.4-RELEASE-p11 FreeBSD 5.4-RELEASE-p11 #3: Tue Feb 21 13:35:24 ICT 2006     root@...:/usr/obj/usr/src/sys/SMALL  i386

Olivier
_______________________________________________
freebsd-questions@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."

Problem building perl-5.8.8

by Olivier Nicole :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I updated the ports, now it is perl 5.8.8 and still the same

`sh  cflags "optimize='-O -pipe'" toke.o` -fpic toke.c
          CCCMD =  gcc -DPERL_CORE -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -O -pipe  -Wall
toke.c: In function `S_scan_formline':
toke.c:10596: error: invalid operands to binary +
toke.c:10596: error: invalid lvalue in unary `&'
toke.c:10596: error: invalid lvalue in unary `&'
*** Error code 1

Stop in /usr/ports/lang/perl5.8/work/perl-5.8.8.
*** Error code 1

Stop in /usr/ports/lang/perl5.8.
ufo<root>: uname -a
FreeBSD ufo.cs.ait.ac.th 5.4-RELEASE-p11 FreeBSD 5.4-RELEASE-p11 #3: Tue Feb 21 13:35:24 ICT 2006     root@...:/usr/obj/usr/src/sys/SMALL  i386
ufo<root>:

Any idea what that can be?

Best regsards,

Olivier
_______________________________________________
freebsd-questions@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."

Re: Problem building perl-5.8.8

by Lowell Gilbert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Olivier Nicole <on@...> writes:

> I updated the ports, now it is perl 5.8.8 and still the same
>
> `sh  cflags "optimize='-O -pipe'" toke.o` -fpic toke.c
>           CCCMD =  gcc -DPERL_CORE -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -O -pipe  -Wall
> toke.c: In function `S_scan_formline':
> toke.c:10596: error: invalid operands to binary +
> toke.c:10596: error: invalid lvalue in unary `&'
> toke.c:10596: error: invalid lvalue in unary `&'
> *** Error code 1
>
> Stop in /usr/ports/lang/perl5.8/work/perl-5.8.8.
> *** Error code 1
>
> Stop in /usr/ports/lang/perl5.8.
> ufo<root>: uname -a
> FreeBSD ufo.cs.ait.ac.th 5.4-RELEASE-p11 FreeBSD 5.4-RELEASE-p11 #3: Tue Feb 21 13:35:24 ICT 2006     root@...:/usr/obj/usr/src/sys/SMALL  i386
> ufo<root>:
>
> Any idea what that can be?

Can you try with an empty make.conf file?
_______________________________________________
freebsd-questions@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."

Re: Problem building perl-5.8.8

by Olivier Nicole :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> > I updated the ports, now it is perl 5.8.8 and still the same
> >
> > `sh  cflags "optimize='-O -pipe'" toke.o` -fpic toke.c
> >           CCCMD =  gcc -DPERL_CORE -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -O -pipe  -Wall
> > toke.c: In function `S_scan_formline':
> > toke.c:10596: error: invalid operands to binary +
> > toke.c:10596: error: invalid lvalue in unary `&'
> > toke.c:10596: error: invalid lvalue in unary `&'
> > *** Error code 1
> >
> > Stop in /usr/ports/lang/perl5.8/work/perl-5.8.8.
> > *** Error code 1
> >
> > Stop in /usr/ports/lang/perl5.8.
> > ufo<root>: uname -a
> > FreeBSD ufo.cs.ait.ac.th 5.4-RELEASE-p11 FreeBSD 5.4-RELEASE-p11 #3: Tue Feb 21 13:35:24 ICT 2006     root@...:/usr/obj/usr/src/sys/SMALL  i386
> > ufo<root>:
> >
> > Any idea what that can be?
>
> Can you try with an empty make.conf file?

It is already empty.

For information it gives the same error with 5.3 system.

Olivier
_______________________________________________
freebsd-questions@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."

Re: Problem building perl-5.8.8

by Olivier Nicole :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> `sh  cflags "optimize='-O -pipe'" toke.o` -fpic toke.c
>           CCCMD =  gcc -DPERL_CORE -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -O -pipe  -Wall
> toke.c: In function `S_scan_formline':
> toke.c:10596: error: invalid operands to binary +
> toke.c:10596: error: invalid lvalue in unary `&'
> toke.c:10596: error: invalid lvalue in unary `&'
> *** Error code 1

Hummm, got it :((((

I had a file called test somewhere, so the configure script did not
run well, so the compile was affected.

Sorry for the trouble.

Olivier
_______________________________________________
freebsd-questions@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."
LightInTheBox - Buy quality products at wholesale price!