# Re: Invalid Search Path -	Building	IronRuby	on	Windows

**URL:** <https://www.ruby-forum.com/t/re-invalid-search-path-building-ironruby-on-windows/139644>\
**Category:** IronRuby\
**Created:** [June 5, 2008, 6:38pm UTC](https://www.ruby-forum.com/t/re-invalid-search-path-building-ironruby-on-windows/139644 "2008-06-05T18:38:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_LSSIRONRUBY](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/4491bb/32.png) [@John\_LSSIRONRUBY](https://www.ruby-forum.com/u/John_LSSIRONRUBY)\
**Post date:** [June 5, 2008, 6:38pm UTC](https://www.ruby-forum.com/t/re-invalid-search-path-building-ironruby-on-windows/139644/1 "2008-06-05T18:38:59Z")

</div>

No. If you want to tackle this it would be great to define an external  
irvars.bat file to setup the paths based on the dir that it lives in.

- John  
Sent from my phone

* * *

From: Jim D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Sent: Thursday, June 05, 2008 12:35 PM  
To: removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: Re: [Ironruby-core] Invalid Search Path - Building IronRuby on  
Windows

Is there a env variable in the external case? One that we can use in  
place of MERLN\_ROOT?

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of John L.  
(IRONRUBY)  
Sent: Thursday, June 05, 2008 9:30 AM  
To: removed\_email\_address@domain.invalid  
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 F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Sent: Thursday, June 05, 2008 12:04 PM  
To: removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
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 D. wrote:

Or just create the folder it is looking for.  
Pete

From:  
removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Michael  
Letterle  
Sent: Thursday,05 June 05, 2008 15:21  
To: removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
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](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 F.  
\<removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)\> 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 F.

* * *

Ironruby-core mailing list  
removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
[http://rubyforge.org/mailman/listinfo/ironruby-core](http://rubyforge.org/mailman/listinfo/ironruby-core)

–  
Michael L.  
[Polymath Prokrammer]  
[http://blog.prokrams.com](http://blog.prokrams.com)
