Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
perl-5.8.0-r9 won't compile!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
elmie
Tux's lil' helper
Tux's lil' helper


Joined: 12 Sep 2002
Posts: 124
Location: Brisbane - Australia

PostPosted: Wed Mar 19, 2003 4:17 pm    Post subject: perl-5.8.0-r9 won't compile! Reply with quote

emerge perl

everything went fine, until it starts to compile! and this was the error message!

------------------------------------------------------------------------------
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.

`sh cflags "optimize='-O3 -mcpu=pentium3 -pipe'" miniperlmain.o` miniperlmain.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -mcpu=pentium3 -pipe -Wall
`sh cflags "optimize='-O3 -mcpu=pentium3 -pipe'" perl.o` perl.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -mcpu=pentium3 -pipe -Wall
`sh cflags "optimize='-O3 -mcpu=pentium3 -pipe'" gv.o` gv.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -mcpu=pentium3 -pipe -Wall
make: *** No rule to make target `toke.c', needed by `toke.o'. Stop.

!!! ERROR: dev-lang/perl-5.8.0-r9 failed.
!!! Function src_compile, Line 267, Exitcode 2
!!! Unable to make
----------------------------------------------------------------------------------

so what now? is there some secrete way to emerge perl? do I have to use special flags?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Mar 19, 2003 6:43 pm    Post subject: Reply with quote

I think this version of perl has had some other threads covering emerge problems. You might see any of those help (Portage & Programming forum).


Moved from Networking & Security.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Mar 19, 2003 7:11 pm    Post subject: Reply with quote

toke.c should exist without having to be made. Any chance you're running out of disk space in the portage build directory?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Jaxom
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2003
Posts: 137

PostPosted: Wed Mar 26, 2003 5:31 pm    Post subject: Reply with quote

I get almost the exact same thing.

<snippit>
p.h opcode.h opnames.h patchlevel.h perl.h perlio.h perlvars.h perly.h pp.h pp_proto.h proto.h regexp.h scope.h sv.h thrdvar.h thread.h unixish.h utf8.h util.h warnings.h -o av
gcc: compilation of header file requested
gcc: compilation of header file requested
gcc: compilation of header file requested
</snippit>

There's about 50 lines of the gcc: .... line

then I get

make: *** [av] Error 1

!!! ERROR: dev-lang/perl-5.8.0-r9 failed.
!!! Function src_compile, Line 267, Exitcode 2
!!! Unable to make

Plenty of drive space available, and I just updated portage and synced. I try to install perl (since it was taken out by the original upgrade attempt) and this is what I get.
_________________
Undisputed Heavyweight Champion. If it's undisputed, WHAT'S ALL THE FIGHTING ABOUT?!?! -- George Carlin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum