Menu

Perl Executable problem

Help
2005-11-14
2013-05-20
  • Michelle Ott

    Michelle Ott - 2005-11-14

    I'm having trouble using a remote interpreter.  I'm using Eclipse on a Windows machine and would like for everything to run on a remote unix box, including compilation.  I've mapped it as a network drive and put the path in the Perl Executable field under my EPIC Preferences.  However, it will not run and simply says "An internal error occurred during 'Launching' "and provides no details or other error message.  I am otherwise able to access it through other applications, so I'm sure the path is correct and my permissions are set correctly.  I've also tried using the launcher, but to no avail.  Does anyone have any ideas on what else I could try? 

     
    • Jan Ploski

      Jan Ploski - 2005-11-16

      Have you also looked into the Error Log (Window/Show View/Error Log)?

       
    • Tomasz Tarchala

      Tomasz Tarchala - 2005-11-16

      If it's an Unix perl binary on a mapped drive, I don't quite see how you are able to "access it with other applications" - you should not be able to run it on Windows at all. Or do you mean that you can see/read the perl interpreter executable? Please elaborate on the specifics of your configuration: can you execute perl from that network location?

      Or if I misunderstood something and you have perl working fine, then maybe just try changing the interpreter type from "Standard" to "Cygwin". Or the other way around.

       
    • Michelle Ott

      Michelle Ott - 2005-11-17

      The Error log shows the following information:

      java.lang.NullPointerException
      at org.epic.debug.PerlDebugPlugin.createEnvArrays(PerlDebugPlugin.java:189)
      at org.epic.debug.PerlDebugPlugin.getDebugEnv(PerlDebugPlugin.java:402)
      at org.epic.debug.Target.startPerlProcess(Target.java:235)
      at org.epic.debug.RunTarget.start(RunTarget.java:39)
      at org.epic.debug.LaunchConfigurationDelegate.launch(LaunchConfigurationDelegate.java:109)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:590)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:515)
      at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:733)
      at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:931)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

      I'm using Eclipse 3.1.1 on XP Pro.
      I have Samba running, which means I can see the Unix perl executable on my mapped drive.  When I use a local perl interpreter, I can read/write .txt files  on the unix system through this mapped drive from within a program.
      However, when I try to use the remote interpreter from the command line (locally) using the mapped drive, it will not execute.  Is there a way to do this (specifically, from within eclipse)?

       
    • Jan Ploski

      Jan Ploski - 2005-11-17

      You cannot run Unix executables under Windows (the Perl interpreter is in the ELF format, I suppose; definitely not Windows EXE).

       

Log in to post a comment.

MongoDB Logo MongoDB