[Parrot-users] installation issues
Allison Randal
allison at parrot.org
Fri Feb 19 13:56:00 UTC 2010
Hi Jeff,
Are you talking about files that end in the .pmc extension? During the
Parrot build those are translated to C and then most of them are
compiled into Parrot. The filehandle PMC is one of those, so all you
have to do to use it is call:
$P0 = new 'FileHandle'
Just opening a file will also create a filehandle object:
$P0 = open 'your/filename.here'
Documentation work is an ongoing project. For PIR syntax you'll find a
thoroughly checked documentation in docs/book/pir There's a similar
effort in the works for the compiler tools. Please let us know about
inconsistencies or gaps you find in any of the documentation, we're
always glad for contributions, no matter how small.
Allison
Jeff Jenness wrote:
> Just need some pointers. I have been scanning documentation but there
> is so much to choose from!!! :)
>
> My problem is with the 2.1.0 installation (and even 2.0.0). The default
> install does not include all the pmcs in the include directory. First
> question, why? In the previous release, I just copied the appropriate
> include file from the build directory to the install
> '$PARROT_INSTALL/include/2.1.0/pmc' directory. Is this the way to fix
> the fact that the install only provides a portion of the pmcs available?
>
> My other issue is with search paths back to the include directory. I
> copied the pmc as above, but seems that my installation for 2.1.0 is
> broken and does not have a default path because it ends with an
> exception that states it cannot find the pmc 'filehandle' (which I am
> using) in the path '' (showing that it is empty). Now, I have looked
> for the appropriate environment variable in order to set it, but seems
> that this is not documented or not available. I tried looking at the
> 'runtime', but that confused me more, since the 'runtime' does not
> include the pmcs either. Any suggestions? Is there any documentation
> on architecture? Anybody to talk to so I could write it?
>
> Oh, I have run this on a MAC and Linux with the same results using the
> default install. Once I solve this, I have another strange problem with
> the Windows binary release. The registers seem to be walked on, but I
> am not clear about the exact reasons yet. But, I will have to deal with
> that one later.
>
> BTW, is there any work to consolidate current up-to-date docs anywhere?
> So much seems inaccurate or, at least, incomplete.
>
> Thanks!
>
> Jeff
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Parrot-users mailing list
> Parrot-users at lists.parrot.org
> http://lists.parrot.org/mailman/listinfo/parrot-users
More information about the Parrot-users
mailing list