Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Hi,

Here is a simple test perl (C++) distro that works fine for me on Windows, but not on mdk-9.1 (linux) with either perl 5.8.8 or 5.9.3.

By the looks of the thread that starts at http://www.mail-archive.com/inline@perl.org/msg03304.html this is a bug in perl.

I'm wondering whether that basic test distro works on mandriva with the latest bleadperl. If so, the matter can probably be put to rest ... if not then I should probably investigate further.

I guess I should really install the latest bleadperl myself and test it out - and I'll probably do that tomorrow. In the meantime, I'm interested to hear (of the success or otherwise) from anyone who cares to run that simple test distro ... along with any speculations as to whether the problem lies with perl or whether it lies with the source itself.

IIRC, the Makefile.PL assumes that g++ will be used as the C++ compiler ... otherwise the Makefile.PL may need to be amended.

Cheers,
Rob
Update: Ouch ... that's a far more complex account than what is needed. A simple "hello world" Inline::CPP script demonstrates the same problem. I'll build the latest blead and see what effect that has.

Update 2: No problem with the latest bleadperl, so the issue has obviously been fixed ... which is a relief. (Sorry for the noise.)

In reply to Mandriva and C++ by syphilis

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2024-04-19 16:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found