Forums

Help test the installer

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

Help test the installer

Postby Charles » Fri May 25, 2012 8:53 pm

Below is a list of recent improvements to the installer. These are the all the ones I have planned for the upcoming release. I have tested on Windows, Mac, Linux, .NET and Mono, with various versions. Please test on your current platform and chime in on this thread with your results ("success" or "problem ...") and your platform info (the first part of the installer output). See HowToInstallFromSource if you are not already setup with a Cobra source code workspace.

Recent improvements:

-- At the end of installation, you can and should change out of the workspace directory. On Windows, this is now done automatically. On Unix-family, where shells cannot have their directory changed by a child process, you are instructed to do so. (Thanks for the feedback, DelphiGuy.)

-- The gacutil.exe for .NET 4.0 on Windows is looked for in more places than before.

-- On Windows, if you install for .NET 4.0 and no gacutil.exe 4.0 can be found, then you are correctly instructed to install the Windows SDK and given the URL (only half a meg download).

-- The installer prints correct operating system and platform information. This was previously buggy on Windows and in need of better formatting in general.

-- On Unix-family, if "cobra" is not in the path and the path includes the directory "/usr/local/bin" then "cobra" is added there.

-- Cobra.Lang.Compiler.dll is now correctly installed and usable.

-- On a related note, "cobra -about" now prints good info about subversion revision, install date, Mono version, CLR version, op sys description and cobra's installed path.

Enjoy.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Help test the installer

Postby torial » Fri May 25, 2012 9:15 pm

Success

Here's the platform info:
==== Print Platform Description

Platform: Microsoft Windows NT 6.0.6002 Service Pack 2
WMI Op Sys Ver: Caption=Microsoftr Windows Serverr 2008 Enterprise ; CSDVersi
on=Service Pack 2
Cmd Op Sys Ver: Microsoft Windows [Version 6.0.6002]
Virtual Machine: .NET
CLR Version: v2.0.50727
Env Command Line: "InstallFromWorkspace"
Env Current Dir: c:\Cobra\CobraSVN\Source
Env OS Version: Microsoft Windows NT 6.0.6002 Service Pack 2
Env System Dir: C:\Windows\system32
Env Version: 2.0.50727.4223
.NET Dirs: v4.0.30319 ; v3.5 ; v3.0 ; v2.0.50727 ; v1.1.4322 ; v1.0.3705
torial
 
Posts: 229
Location: IA

Re: Help test the installer

Postby ObtuseAngle » Tue May 29, 2012 8:19 pm

Success!
Windows XP SP3, but not for NET 4.0

Platform: Microsoft Windows NT 5.1.2600 Service Pack 3
WMI Op Sys Ver: Caption=Microsoft Windows XP Professional ; CSDVersion=Servic
e Pack 3
Cmd Op Sys Ver: Microsoft Windows XP [Version 5.1.2600]
Virtual Machine: .NET
CLR Version: v2.0.50727
Env Command Line: "InstallFromWorkspace"
Env Current Dir: C:\Temp\cobra\cobra-workspace\Source
Env OS Version: Microsoft Windows NT 5.1.2600 Service Pack 3
Env System Dir: C:\WINDOWS\system32
Env Version: 2.0.50727.3625
.NET Dirs: v4.0.30319 ; v3.5 ; v3.0 ; v2.0.50727 ; v1.1.4322 ; v1.0.3705
99 programming bugs in the code, 99 bugs in the code, fix 1 bug and compile it again, 101 programming bugs in the code
ObtuseAngle
 
Posts: 42
Location: Gippsland, Australia

Re: Help test the installer

Postby ObtuseAngle » Tue May 29, 2012 8:29 pm

After the predicted lack of gacutil.exe causes a failure installing for NET 4.0:
After using the SDK installer to install just the NET tools, fails with:

==== Install Cobra.Lang library to the GAC

run: C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\gacutil.exe -i Cobra.Lang.
dll -f
: Microsoft (R) .NET Global Assembly Cache Utility. Version 3.5.30729.1
: Copyright (c) Microsoft Corporation. All rights reserved.
:
: Failure adding assembly to the cache: This assembly is built by a runtime
newer than the currently loaded runtime and cannot be loaded.

** ERROR: Exit code from above command: 1
99 programming bugs in the code, 99 bugs in the code, fix 1 bug and compile it again, 101 programming bugs in the code
ObtuseAngle
 
Posts: 42
Location: Gippsland, Australia

Re: Help test the installer

Postby ObtuseAngle » Tue May 29, 2012 8:34 pm

And the same error after installing the reference assemblies i.e. selecting the entire NET development part of the SDK installer.

I don't need NET 4.0, so I'm happy to install for a non-NET 4.0 version.

Regards, Obtuse.
99 programming bugs in the code, 99 bugs in the code, fix 1 bug and compile it again, 101 programming bugs in the code
ObtuseAngle
 
Posts: 42
Location: Gippsland, Australia

Re: Help test the installer

Postby Charles » Wed May 30, 2012 2:34 am

I'd still like to fix this and I think I know how. Can you tell me the contents of:

dir "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin"

?
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Help test the installer

Postby nerdzero » Thu May 31, 2012 5:58 pm

I did this earlier today with success. My info is below. The only thing I wasn't sure about was how to answer the question regarding installing for .NET 4.0 since I was on Ubuntu. I answered no so I'm not sure what version it was installed for. 2.0?

Platform: Ubuntu 12.04 LTS
Uname: Linux ragnarok 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Virtual Machine: Mono
CLR Version: v2.0.50727
Env Command Line: /home/ramon/cobra-workspace/Source/InstallFromWorkspace.exe
Env Current Dir: /home/ramon/cobra-workspace/Source
Env OS Version: Unix 3.2.0.24
Env System Dir:
Env Version: 2.0.50727.1433
Mono: Mono JIT compiler version 2.10.8.1 (Debian 2.10.8.1-1ubuntu2) ; Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. http://www.mono-project.com ; TLS: __thread ; SIGSEGV: altstack ; Notifications: epoll ; Architecture: amd64 ; Disabled: none ; Misc: softdebug ; LLVM: supported, not enabled. ; GC: Included Boehm (with typed GC and Parallel Mark)
nerdzero
 
Posts: 286
Location: Chicago, IL

Re: Help test the installer

Postby Charles » Thu May 31, 2012 7:20 pm

Mono 2.6 --> .NET 2.0

Mono 2.10 --> .NET 4.0 (and .NET 2.0)

Since you are on Mono 2.10 it should have defaulted to .NET 4.0 by having "...[y]" at the end of the question.

For the most part, it does not matter, unless you find yourself trying to call to the .NET 4.0 APIs.

I'm doing most of my Cobra work on Ubuntu 12.04 btw. I still test on the other platforms (Mac, Windows).
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Help test the installer

Postby Charles » Fri Jun 01, 2012 12:58 am

@ObtuseAngle, there is a program in Cobra\Supplements called find-gacutil.cobra. Can you run this and share the file output at the end where it summarizes what it found? That would be very helpful.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Help test the installer

Postby nerdzero » Fri Jun 01, 2012 9:09 am

Thanks for the info about Mono and .NET versions. Good to know. I reinstalled and answered yes this time and everything still worked.

In regards to Ubuntu, any plans for a deb package or ppa?
nerdzero
 
Posts: 286
Location: Chicago, IL

Next

Return to Discussion

Who is online

Users browsing this forum: No registered users and 12 guests