roxen.lists.pike.general

Subject Author Date
Re: probably a small bug Martin Stjernholm <mast[at]lysator[dot]liu[dot]se> 31-10-2009
Arne Goedeke <<el[at]laramies.com>> wrote:

> Ive had that bug for ages now. I think it was mentioned on the list
> before. I usually work around that by putting a link into the
> include directory pointing to the lib/ dir. I think the link is
> correct in case pike has not been installed yet. note sure.

Yes, the include path is correct when precompile.pike is in its
original place in the bin directory. It needs to work there, so the
problem is that the same file is copied to include/pike. It should use
another template there, maybe with an inherit instead of #include.

I'm not versed in the monger parts so I don't know how that should be
fixed in a proper way. I hope someone who is can come up with a patch.
The premise is that it leaves the original bin/precompile.pike
untouched.


> On Wed, 28 Oct 2009, Yvan Vander Sanden wrote:
>
>> Hi. I'm using the latest pike snapshot, and think i found a small
>> error. While trying to install a module with:
>>
>> sudo pike -x monger --install Public.Parser.JSON2
>>
>> I stumbled across this error:
>>
>> precompile: pike /usr/local/pike/7.8.359/include/pike/precompile.pike
json.cmod
>> /usr/local/pike/7.8.359/include/pike/precompile.pike:2:Couldn't read include
file
>>
"/usr/local/pike/7.8.359/include/lib/modules/Tools.pmod/Standalone.pmod/precompile.pike".
/.../