[phc-general] Re: Problem installing phc

Paul Biggar paul.biggar at gmail.com
Fri Jul 10 16:29:58 IST 2009


Hi Alberto,

On Fri, Jul 10, 2009 at 4:10 PM, Alberto Bacchelli<sback at sback.it> wrote:
> after the "./configure" (which works fine, I attach the log),
> when I launch "make", I got this error:
>
> "src/generated_src/ast.tea
> make: execvp: src/generated_src/ast.tea: Permission denied
> make: *** [src/generated/AST.h] Error 127"

I added the following to the configure script for just such emergencies :)

WARNING:
***********************************************
* You are using the phc svn repository. Read  *
* README.svn or you may experience problems.  *
***********************************************

If you follow the instructions in README.svn, I think everything should be fine.


Thanks,
Paul


> 2009/7/10 Paul Biggar <paul.biggar at gmail.com>:
>> Hi Alberto,
>>
>> I'm not really sure what causes this. I notice that you do not have
>> the PHP embed SAPI installed. Can you try installing that,
>> reconfiguring, and seeing if it helps? My other suggestion would be to
>> try svn trunk. We noticed a few problems with autoconf in the last few
>> months, which we resolved on trunk. Perhaps they are related here.
>>
>> Please let me know how you get on.
>>
>> Thanks,
>> Paul
>>
>>
>> On Fri, Jul 10, 2009 at 3:23 PM, Alberto Bacchelli<sback at sback.it> wrote:
>>> Hi,
>>>
>>> I have exactly the same problem Xavier had in April 2009:
>>>
>>> "I compiled phc:
>>> make
>>> and then:
>>> make install
>>> but the error:
>>> phc: error while loading shared libraries: libphc.so.0: cannot open
>>> shared object file: No such file or directory
>>>
>>> This library is on /usr/local/lib and the PATH is there"
>>>
>>> you asked him for some additional information, but he didn't reply.
>>>
>>> Since I am really interested in using phc, I will reply :-)
>>>
>>> The system I am using is a 64-bit Debian Lenny.
>>>
>>> I tried to install the system using the following commands (as root):
>>>
>>> "./configure && make && make install && echo "ok""
>>>
>>> They seem to function correctly (I also got the "ok" at the end).
>>> However when I write:
>>>
>>> "phc --help" or, even just: "phc"
>>>
>>> I got
>>> "phc: error while loading shared libraries: libphc.so.0: cannot open
>>> shared object file: No such file or directory"
>>>
>>> the library is there:
>>> /usr/local/lib/libphc.so.0 -> /usr/local/lib/libphc.so.0.0.0
>>> and the "file" output on: libphc.so.0.0.0 is:
>>> /usr/local/lib/libphc.so.0.0.0: ELF 64-bit LSB shared object, x86-64,
>>> version 1 (SYSV), dynamically linked, not stripped
>>>
>>> I attach the config.log, as you asked it to Xavier.
>>>
>>> Thank you in advance,
>>> Alberto
>>>
>>
>>
>>
>> --
>> Paul Biggar
>> paul.biggar at gmail.com
>>
>



-- 
Paul Biggar
paul.biggar at gmail.com


More information about the phc-general mailing list