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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.