On Tue, 2008-06-03 at 08:33 -0700, Will Coleda wrote:
> # New Ticket Created by  Will Coleda 
> # Please include the string:  [perl #55238]
> # in the subject line of all future correspondence about this issue. 
> # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=55238 >
> 
> 
> ./parrot -o runtime/parrot/library/OpenGL.pbc 
> runtime/parrot/library/OpenGL.pir
> error:imcc:No such file or directory
>         in file 'runtime/parrot/library/OpenGL.pir' line 79
> make: *** [runtime/parrot/library/OpenGL.pbc] Error 2
> 
> The offending line is shown below:
> 
>     76
>     77  .namespace ['OpenGL']
>     78
>     79  .include 'library/OpenGL_funcs.pir'
>     80
>     81
>     82  =item _opengl_init()
> 
> "OpenGL_funcs.pir'" doesn't appear to be in the repository, so when we
> try to build it, it dies.
> 
> svn blame says.
> 
>  27975      japhb .include 'library/OpenGL_funcs.pir'
> 
> Regards.

That file is generated during Configure.pl (by config/gen/opengl.pm).  I
have a pending question out asking what the right place is to add
makefile dependencies for libraries in runtime/parrot/library/ (because
most of them contain at least dependencies on generated files in
runtime/parrot/include that as far as I can tell we don't enforce).
Unfortunately, each time I've asked, I've been Warnocked.

There is, however, another problem here.  I'm not sure how you ended up
*not* having an OpenGL_funcs.pir when you went to make.  According to
config/gen/makefiles/root.in , OpenGL_funcs.pir is conditioned on
has_opengl and included in GEN_PASM_INCLUDES, which is part of
CONFIGURE_GENERATED_FILES, which should *not* be removed on 'make
clean', only on 'make realclean'.  And the latter requires a 'perl
Configure.pl' afterwards, which regenerates that file!

In the mean time, a 'make realclean; perl Configure.pl; make' ought to
fix it for you.  But I still want to know how you ended up ready to make
without having that file.


-'f


Reply via email to