you are trying to compile from the root of the microcode directory, its normal to get confused.
what you need to symlink or copy into the ../ext/microcode is the decode dir located under the microcode dir that way will work I also added the --disable-debug option to the ./configure command...
Hope that helps
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi. I pulled my hair out over this one. Here's how I managed it
1a. Make sure the ext/microcode directory does not already exist!
1b. Link the the decoder directory to the "/ext/microcode" directory.
You don't need to copy the microcode directory structure
try this
cd <srcpath>/microcode/decoder
HERE=`pwd` ;ln -s $HERE/* <srcpath>/php-4.3.0/ext/microcode
2. grep the files in the php source directory for microcode
try
grep microcode *
if you see a line starting "generated_lists:" then you should be okay
3. follow the instructions in the decoder/README file
(here's what I use)
I open 2 terminals and an xconsole
In console 2,
touch out ; tail -f out
In console 1,
cd to the php source dir
rm -i configure
./buildconf
./configure --with-microcode --with-apxs <other options> | tee out | grep microcode > /dev/console
make | tee out | grep microcode > /dev/console
This setup gives you microcode specific instructions to dev/console, errors to console 1 and dumps all other messages to console 2 as well as giving you a history log for debugging. You should definitly see microcode messages in the console at each point (config and make);
Hope this helps
Kenneth Cope, uk1.co.uk
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
you are trying to compile from the root of the microcode directory, its normal to get confused.
what you need to symlink or copy into the ../ext/microcode is the decode dir located under the microcode dir that way will work I also added the --disable-debug option to the ./configure command...
Hope that helps
Hi. I pulled my hair out over this one. Here's how I managed it
1a. Make sure the ext/microcode directory does not already exist!
1b. Link the the decoder directory to the "/ext/microcode" directory.
You don't need to copy the microcode directory structure
try this
cd <srcpath>/microcode/decoder
HERE=`pwd` ;ln -s $HERE/* <srcpath>/php-4.3.0/ext/microcode
2. grep the files in the php source directory for microcode
try
grep microcode *
if you see a line starting "generated_lists:" then you should be okay
3. follow the instructions in the decoder/README file
(here's what I use)
I open 2 terminals and an xconsole
In console 2,
touch out ; tail -f out
In console 1,
cd to the php source dir
rm -i configure
./buildconf
./configure --with-microcode --with-apxs <other options> | tee out | grep microcode > /dev/console
make | tee out | grep microcode > /dev/console
This setup gives you microcode specific instructions to dev/console, errors to console 1 and dumps all other messages to console 2 as well as giving you a history log for debugging. You should definitly see microcode messages in the console at each point (config and make);
Hope this helps
Kenneth Cope, uk1.co.uk