I have follow the steps in the README under the decoder directory to try to compile microcode as a module of php, but was unsuccessful.
In fact, everything works fine but I didn't see any microcode.so in the modules directory.
May I know what am I missing?
Thanks and would greatly appreciate it if someone can help me out asap. I am almost a step to get the microcode program working.
Regards,
Tina
PS. Probably, I should include the steps that I have taken brieftly:
1. Copy the whole of microcode directory under php-4.2.0\ext\microcode.
2. rm configure under php-4.2.0
3. run ./buildconf under php-4.2.0
4. run ./configure --with-microcode=shared --with-apxs=/usr/sbin/apxs
5. run make under php-4.2.0
6. Supposingly should see microcode.so in
php-4.2.0\modules. But, the file is not there.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> 1. Copy the whole of microcode directory under php-4.2.0\ext\microcode.
It should be only decoder directory in php-4.2.0/ext/ as "microcode"
Try to make a symbolic link instead.
(sth like this):
cd /sth_path/php-4.2.0/
(now your are in php-4.2.0)
than:
ln -s /sth_path/microcode/decoder ext/microcode
and now you should have in your directory "/sth_path/php-4.2.0/ext/" new directory called microcode which is only a symbolic link ("/sth_path/microcode/decoder/")
Rest is OK
You must remember about changes in "customize.h" file.
Regards
Piotr D.
p.s.
but nowadays I can only make compiled library "microcode.so" and I can't make it works.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have follow the steps in the README under the decoder directory to try to compile microcode as a module of php, but was unsuccessful.
In fact, everything works fine but I didn't see any microcode.so in the modules directory.
May I know what am I missing?
Thanks and would greatly appreciate it if someone can help me out asap. I am almost a step to get the microcode program working.
Regards,
Tina
PS. Probably, I should include the steps that I have taken brieftly:
1. Copy the whole of microcode directory under php-4.2.0\ext\microcode.
2. rm configure under php-4.2.0
3. run ./buildconf under php-4.2.0
4. run ./configure --with-microcode=shared --with-apxs=/usr/sbin/apxs
5. run make under php-4.2.0
6. Supposingly should see microcode.so in
php-4.2.0\modules. But, the file is not there.
> 1. Copy the whole of microcode directory under php-4.2.0\ext\microcode.
It should be only decoder directory in php-4.2.0/ext/ as "microcode"
Try to make a symbolic link instead.
(sth like this):
cd /sth_path/php-4.2.0/
(now your are in php-4.2.0)
than:
ln -s /sth_path/microcode/decoder ext/microcode
and now you should have in your directory "/sth_path/php-4.2.0/ext/" new directory called microcode which is only a symbolic link ("/sth_path/microcode/decoder/")
Rest is OK
You must remember about changes in "customize.h" file.
Regards
Piotr D.
p.s.
but nowadays I can only make compiled library "microcode.so" and I can't make it works.
Hi Piotr,
Thanks for the help rendered. Have managed to get it compiled but runs into decoding problem which I have created another thread under "can't decode".
Can you help me out on this as well.
Thanks and best regards,
Tina