[Ironruby-core] Invalid Search Path - Building IronRuby on Windows

Jim Deville jdeville at microsoft.com
Thu Jun 5 15:20:15 EDT 2008


Agreed. I think that is the entire problem. So, I'll try to fix that or get John to fix it while I write a batch file to set root variables.

JD

From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Peter Bacon Darwin
Sent: Thursday, June 05, 2008 11:39 AM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] Invalid Search Path - Building IronRuby on Windows

Ah, now I think you'll find that rake compile actually build ir.cmd rather than ir.exe.

From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Jim Deville
Sent: Thursday,05 June 05, 2008 18:10
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] Invalid Search Path - Building IronRuby on Windows

This is our ir.cmd (as .txt for outlook users), the paths relate to our internal layout, and I will be creating a transform for it today, but it shouldn't be a binary file. It should be text like this.

The other problem is that we have the ruby libs in a portion of our repository so that we don't have to have everyone install ruby, and install it to the same location and all. We don't have the ruby libs in the SVN repository, so we'll need to work around that. My suggestion is to put 2 variables in the irvars.bat (coming soon), one var represents the root of the repository. The other is going to be the location of your ruby install. This would need to be edited by you when you setup your repo, (or when you download this revision). Any objections?

Any other recommended variables?

JD

From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Jim Deville
Sent: Thursday, June 05, 2008 9:53 AM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] Invalid Search Path - Building IronRuby on Windows

It shouldn't be rbx.exe to ir.cmd. The transition is from rbx.exe to ir.exe, due to Rubinius already naming their executable rbx. Ir.cmd is supposed to be a cmd file that calls ir.exe with a set of load paths included. Primarily our libs directory, but also the CRuby lib paths.

JD

From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Peter Bacon Darwin
Sent: Thursday, June 05, 2008 9:49 AM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] Invalid Search Path - Building IronRuby on Windows

What is behind the name change from rbx.exe to ir.cmd?  ir.cmd seems to be generated by the build so how is there much use in a clean copy?
Pete

From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of John Lam (IRONRUBY)
Sent: Thursday,05 June 05, 2008 17:30
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] Invalid Search Path - Building IronRuby on Windows

Something in the build process is trashing that file. Jim - can you send a clean copy of ir.cmd to the list? Note that there are hard coded paths in ir.cmd that we need to generate for the ext layout.

- John
Sent from my phone
________________________________
From: Joe Fiorini <joe at faithfulgeek.org>
Sent: Thursday, June 05, 2008 12:04 PM
To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org>
Subject: Re: [Ironruby-core] Invalid Search Path - Building IronRuby on Windows
Thanks for the advice.  I took it out of the LIB path.  Felt kinda stupid that that was it ;).  Now I'm getting a syntax error trying to run ir.cmd.  Any ideas on that?

-Joe

On Jun 5, 2008, at 11:59 AM, Peter Bacon Darwin wrote:
Or just create the folder it is looking for.
Pete

From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Michael Letterle
Sent: Thursday,05 June 05, 2008 15:21
To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org>
Subject: Re: [Ironruby-core] Invalid Search Path - Building IronRuby on Windows

Install the embedded Windows SDK components from VS2008? (Use can use the express editions:http://blogs.msdn.com/windowssdk/archive/2007/11/30/released-visual-studio-2008-with-embedded-windows-sdk-components.aspx) or remove that directory from the LIB environment variable.
On Thu, Jun 5, 2008 at 9:46 AM, Joe Fiorini <joe at faithfulgeek.org<mailto:joe at faithfulgeek.org>> wrote:
I get the following error when issuing a Rake compile w/ r113:

error CS1668: Warning as Error: Invalid search path 'C:\Program Files\\Microsoft
       SDKs\Windows\v6.0A\lib' specified in 'LIB environment variable' -- 'The
       system cannot find the path specified. '
rake aborted!
Command failed with status (1): [csc /out:"c:\software development\open sou...]
C:/Software Development/Open Source Projects/IronRuby/trunk/rakefile:159

Anyone have an idea how to fix this?

Thanks!
Joe Fiorini
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core



--
Michael Letterle
[Polymath Prokrammer]
http://blog.prokrams.com
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080605/95ef37e6/attachment.html>


More information about the Ironruby-core mailing list