Hello everyone,
I've made a lot of distance in my project so far thanks to you people. Now I'm pretty sure that my code is right. However this time I have a problem which got me completely puzzled!!
The story is: I have a cgi file (sunucuya_yukle.cgi) written in Perl that uses Inline::C module (It uses cl.exe (VC6 version) to compile the C-code section). When I compile my code from the command line, buumm everything's there. No problemo! When I run the code by calling it from my web browser, which is the way this code is supposed to work, it gives me an error message as:
"cl.exe is not recognized as an internal or external command..."
although I have the environmental paths set correctly and I get no problems from the command-line. (cl can be run from inside any folder and perl.exe sees it and compiles the code successfully)
So what I tried is to go out to the command promt and compile the code myself and then call the cgi file from my browser. That time the browser gives me the error:
Had problems bootstrapping Inline module 'sunucuya_yukle_cgi_485e' Can't load 'C:\Apache_Uyg\_Inline\lib/auto/sunucuya_yukle_cgi_485e/sun +ucuya_yukle_cgi_485e.dll' for module sunucuya_yukle_cgi_485e: load_fi +le:Specified module could not be found at C:/Perl/lib/DynaLoader.pm l +ine 201. at C:/Perl/site/lib/Inline.pm line 500 at C:/Apache_Uyg/sunucuya_yukle.cgi line 8 BEGIN failed--compilation aborted at C:/Apache_Uyg/sunucuya_yukle.cgi +line 142.
So any suggestions on how to solve this issue?? I am using Perl 5.10, Apache 2.2.8 and mod_perl 2.0.4.
Thanks in advance!
By the way the dll file seen above in the error message is successfully created once the code is compiled from the command-line. And it resides in the directory it's supposed to. The program runs perfectly from the command line
In reply to Web Browser fails to compile my code by aykun81
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |