Set Environment Vars in Perl Auto Build?

Help
Harlan
2007-10-12
2013-05-20
  • Harlan

    Harlan - 2007-10-12

    Is there a way to set Environment Variables in the Perl Auto Builder?

    I am trying to set the LD_LIBRARY_PATH variable. I can set it in the Run dialog and it works fine. But the Auto Builder goes through my scripts and tries to compile each. When it runs across something that needs the LD_LIBRARY_PATH, it puts the "Red X" on the icon to show it can't compile. I was trying to clean that up so I wouldn't get false positives on compile failures.

    Thanks,

    hb

     
    • Jan Ploski

      Jan Ploski - 2007-10-12

      Did you try setting LD_LIBRARY_PATH for the Eclipse process (export in the shell from which you start Eclipse)?

       
    • Harlan

      Harlan - 2007-10-15

      Ugh. Of course not. <sheepish-grin/ >

      I'm starting it from a KDE menu item so I just mucked with the actual start up script.

      That worked perfectly, thanks much.

      hb

       
    • Harlan

      Harlan - 2007-10-15

      After more looking, mucking with /usr/bin/eclipse is not the right way to go.

      The eclipse start script slurps up ~/.eclipse/eclipserc.

      So I moved my LD_LIBRARY_PATH setting to there and it worked fine too.

      hb

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks