Re: 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. [email protected]
Sent: Thursday, June 05, 2008 12:04 PM
To: [email protected] [email protected]
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:
[email protected]mailto:[email protected]
[mailto:[email protected]] On Behalf Of Michael
Letterle
Sent: Thursday,05 June 05, 2008 15:21
To: [email protected]mailto:[email protected]
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 F.
<[email protected]mailto:[email protected]> 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
[email protected]mailto:[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core


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

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

From: [email protected]
[mailto:[email protected]] On Behalf Of John L.
(IRONRUBY)
Sent: Thursday, June 05, 2008 9:30 AM
To: [email protected]
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. [email protected]
Sent: Thursday, June 05, 2008 12:04 PM
To: [email protected] [email protected]
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:
[email protected]mailto:[email protected]
[mailto:[email protected]] On Behalf Of Michael
Letterle
Sent: Thursday,05 June 05, 2008 15:21
To: [email protected]mailto:[email protected]
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 F.
<[email protected]mailto:[email protected]> 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
[email protected]mailto:[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core


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

rbx is rubinius’ executable.

On Thu, Jun 5, 2008 at 12:48 PM, Peter Bacon D. <

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: [email protected]
[mailto:[email protected]] On Behalf Of John L.
(IRONRUBY)
Sent: Thursday,05 June 05, 2008 17:30
To: [email protected]
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. [email protected]
Sent: Thursday, June 05, 2008 12:04 PM
To: [email protected] [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of Michael
Letterle
Sent: Thursday,05 June 05, 2008 15:21
To: [email protected]
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 F. [email protected]
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
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core


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

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: [email protected]
[mailto:[email protected]] On Behalf Of Jim D.
Sent: Thursday, June 05, 2008 9:53 AM
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of Peter Bacon
Darwin
Sent: Thursday, June 05, 2008 9:49 AM
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of John L.
(IRONRUBY)
Sent: Thursday,05 June 05, 2008 17:30
To: [email protected]
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. [email protected]
Sent: Thursday, June 05, 2008 12:04 PM
To: [email protected] [email protected]
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:
[email protected]mailto:[email protected]
[mailto:[email protected]] On Behalf Of Michael
Letterle
Sent: Thursday,05 June 05, 2008 15:21
To: [email protected]mailto:[email protected]
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 F.
<[email protected]mailto:[email protected]> 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
[email protected]mailto:[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core


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

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: [email protected]
[mailto:[email protected]] On Behalf Of Peter Bacon
Darwin
Sent: Thursday, June 05, 2008 9:49 AM
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of John L.
(IRONRUBY)
Sent: Thursday,05 June 05, 2008 17:30
To: [email protected]
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. [email protected]
Sent: Thursday, June 05, 2008 12:04 PM
To: [email protected] [email protected]
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:
[email protected]mailto:[email protected]
[mailto:[email protected]] On Behalf Of Michael
Letterle
Sent: Thursday,05 June 05, 2008 15:21
To: [email protected]mailto:[email protected]
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 F.
<[email protected]mailto:[email protected]> 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
[email protected]mailto:[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core


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

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: [email protected]
[mailto:[email protected]] On Behalf Of Peter Bacon
Darwin
Sent: Thursday, June 05, 2008 11:39 AM
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of Jim D.
Sent: Thursday,05 June 05, 2008 18:10
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of Jim D.
Sent: Thursday, June 05, 2008 9:53 AM
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of Peter Bacon
Darwin
Sent: Thursday, June 05, 2008 9:49 AM
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of John L.
(IRONRUBY)
Sent: Thursday,05 June 05, 2008 17:30
To: [email protected]
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. [email protected]
Sent: Thursday, June 05, 2008 12:04 PM
To: [email protected] [email protected]
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:
[email protected]mailto:[email protected]
[mailto:[email protected]] On Behalf Of Michael
Letterle
Sent: Thursday,05 June 05, 2008 15:21
To: [email protected]mailto:[email protected]
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 F.
<[email protected]mailto:[email protected]> 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
[email protected]mailto:[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core


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

I note that in your ir.cmd you are including the standard ruby library
path.
This could be a bit tricky since most people will have their ruby
installation in different places. Is it worth just bundling these Ruby
library files in the SVN tree somewhere?

Also, while you are at it, there are no ExternalDebug build
configurations
for a number of the projects. This means that the SIGNED conditional
compilation symbol has slipped into the build again, which is what is
causing require to fail.

[If it finds the required file, it tries to load up the Ruby language
context but because of the SIGNED it is looking for a strongly named
assembly, which of course is not available to us.]

Pete

From: [email protected]
[mailto:[email protected]] On Behalf Of Jim D.
Sent: Thursday,05 June 05, 2008 20:20
To: [email protected]
Subject: Re: [Ironruby-core] Invalid Search Path - Building IronRuby on
Windows

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: [email protected]
[mailto:[email protected]] On Behalf Of Peter Bacon
Darwin
Sent: Thursday, June 05, 2008 11:39 AM
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of Jim D.
Sent: Thursday,05 June 05, 2008 18:10
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of Jim D.
Sent: Thursday, June 05, 2008 9:53 AM
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of Peter Bacon
Darwin
Sent: Thursday, June 05, 2008 9:49 AM
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of John L.
(IRONRUBY)
Sent: Thursday,05 June 05, 2008 17:30
To: [email protected]
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. [email protected]
Sent: Thursday, June 05, 2008 12:04 PM
To: [email protected] [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of Michael
Letterle
Sent: Thursday,05 June 05, 2008 15:21
To: [email protected]
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 F. [email protected]
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
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core


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

I was planning on just having a Env var that can get set… although
that would be a pain to manage in SVN. I guess we do need to have the
libs in the repro, but I don’t know if we can. John, do you have any
thoughts?

Also, I don’t know how to turn off the SIGNED bit. Tomas? John?

JD

From: [email protected]
[mailto:[email protected]] On Behalf Of Peter Bacon
Darwin
Sent: Thursday, June 05, 2008 12:46 PM
To: [email protected]
Subject: Re: [Ironruby-core] Invalid Search Path - Building IronRuby on
Windows

I note that in your ir.cmd you are including the standard ruby library
path. This could be a bit tricky since most people will have their ruby
installation in different places. Is it worth just bundling these Ruby
library files in the SVN tree somewhere?

Also, while you are at it, there are no ExternalDebug build
configurations for a number of the projects. This means that the SIGNED
conditional compilation symbol has slipped into the build again, which
is what is causing require to fail.

[If it finds the required file, it tries to load up the Ruby language
context but because of the SIGNED it is looking for a strongly named
assembly, which of course is not available to us.]

Pete

From: [email protected]
[mailto:[email protected]] On Behalf Of Jim D.
Sent: Thursday,05 June 05, 2008 20:20
To: [email protected]
Subject: Re: [Ironruby-core] Invalid Search Path - Building IronRuby on
Windows

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: [email protected]
[mailto:[email protected]] On Behalf Of Peter Bacon
Darwin
Sent: Thursday, June 05, 2008 11:39 AM
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of Jim D.
Sent: Thursday,05 June 05, 2008 18:10
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of Jim D.
Sent: Thursday, June 05, 2008 9:53 AM
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of Peter Bacon
Darwin
Sent: Thursday, June 05, 2008 9:49 AM
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of John L.
(IRONRUBY)
Sent: Thursday,05 June 05, 2008 17:30
To: [email protected]
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. [email protected]
Sent: Thursday, June 05, 2008 12:04 PM
To: [email protected] [email protected]
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:
[email protected]mailto:[email protected]
[mailto:[email protected]] On Behalf Of Michael
Letterle
Sent: Thursday,05 June 05, 2008 15:21
To: [email protected]mailto:[email protected]
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 F.
<[email protected]mailto:[email protected]> 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
[email protected]mailto:[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core


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

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

From: [email protected]
[mailto:[email protected]] On Behalf Of Jim D.
Sent: Thursday,05 June 05, 2008 18:10
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of Jim D.
Sent: Thursday, June 05, 2008 9:53 AM
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of Peter Bacon
Darwin
Sent: Thursday, June 05, 2008 9:49 AM
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of John L.
(IRONRUBY)
Sent: Thursday,05 June 05, 2008 17:30
To: [email protected]
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. [email protected]
Sent: Thursday, June 05, 2008 12:04 PM
To: [email protected] [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of Michael
Letterle
Sent: Thursday,05 June 05, 2008 15:21
To: [email protected]
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 F. [email protected]
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
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core


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

For some reason, that I can’t personally explain (yeah, I know I did
it), I sent the batch file out for checking in a different thread. Sorry
about the confusion.

From: [email protected]
[mailto:[email protected]] On Behalf Of Jim D.
Sent: Thursday, June 05, 2008 1:11 PM
To: [email protected]
Subject: Re: [Ironruby-core] Invalid Search Path - Building IronRuby on
Windows

I was planning on just having a Env var that can get set… although
that would be a pain to manage in SVN. I guess we do need to have the
libs in the repro, but I don’t know if we can. John, do you have any
thoughts?

Also, I don’t know how to turn off the SIGNED bit. Tomas? John?

JD

From: [email protected]
[mailto:[email protected]] On Behalf Of Peter Bacon
Darwin
Sent: Thursday, June 05, 2008 12:46 PM
To: [email protected]
Subject: Re: [Ironruby-core] Invalid Search Path - Building IronRuby on
Windows

I note that in your ir.cmd you are including the standard ruby library
path. This could be a bit tricky since most people will have their ruby
installation in different places. Is it worth just bundling these Ruby
library files in the SVN tree somewhere?

Also, while you are at it, there are no ExternalDebug build
configurations for a number of the projects. This means that the SIGNED
conditional compilation symbol has slipped into the build again, which
is what is causing require to fail.

[If it finds the required file, it tries to load up the Ruby language
context but because of the SIGNED it is looking for a strongly named
assembly, which of course is not available to us.]

Pete

From: [email protected]
[mailto:[email protected]] On Behalf Of Jim D.
Sent: Thursday,05 June 05, 2008 20:20
To: [email protected]
Subject: Re: [Ironruby-core] Invalid Search Path - Building IronRuby on
Windows

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: [email protected]
[mailto:[email protected]] On Behalf Of Peter Bacon
Darwin
Sent: Thursday, June 05, 2008 11:39 AM
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of Jim D.
Sent: Thursday,05 June 05, 2008 18:10
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of Jim D.
Sent: Thursday, June 05, 2008 9:53 AM
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of Peter Bacon
Darwin
Sent: Thursday, June 05, 2008 9:49 AM
To: [email protected]
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: [email protected]
[mailto:[email protected]] On Behalf Of John L.
(IRONRUBY)
Sent: Thursday,05 June 05, 2008 17:30
To: [email protected]
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. [email protected]
Sent: Thursday, June 05, 2008 12:04 PM
To: [email protected] [email protected]
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:
[email protected]mailto:[email protected]
[mailto:[email protected]] On Behalf Of Michael
Letterle
Sent: Thursday,05 June 05, 2008 15:21
To: [email protected]mailto:[email protected]
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 F.
<[email protected]mailto:[email protected]> 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
[email protected]mailto:[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core


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