[phc-general] Re: Problem installing phc
Alberto Bacchelli
sback at sback.it
Fri Jul 10 16:10:58 IST 2009
Hi,
first of all thanks for replying.
I've tried with the version on the svn. I also installed libboost1.35-dev
However, I have another problem,
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 haven't tried to install the PHP embed SAPI yet.
Do you think it could be the problem?
Thank you again,
Alberto
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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 67483 bytes
Desc: not available
Url : http://nova.villiros.com/pipermail/phc-general/attachments/20090710/2=
4651578/config-0001.obj
More information about the phc-general
mailing list