Forums

Linux installs but where too?

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

Linux installs but where too?

Postby jetimms » Sun Sep 18, 2011 6:08 am

I went through the source install instructions for Linux via svn exactly (I think), got 1 failure out of 30 for the test, but I cannot figure out where it installed to. My workspace is in /usr/local/cobra-workspace.

I'm new to Linux so am missing something, but when I installed cobra to Windows it had a cobra-workspace and a separate c:\cobra folder.

I guess I was expecting the same with cobra for Linux. I just cannot find where it went to.

Also, I assume I will need to make it accessible from any account so I will need to create a bourne shell script to do so and place it in /usr/bin? I had to do this with a different application that I installed via tar file.

Thanks.

By the way, I'm running Mepis 11.
jetimms
 
Posts: 9

Re: Linux installs but where too?

Postby Charles » Sun Sep 18, 2011 5:07 pm

Check /usr/local/cobra

The end of the installation should have either instructed you to add "cobra" to your PATH, or added it for you. I forget which it does, but once it is in the path, future installations will update that for you.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Linux installs but where too?

Postby jetimms » Sun Sep 18, 2011 8:00 pm

I definately don't have a /usr/local/cobra/ folder.

I found one possible reason, though. I ran the bin/install-from-workspace as su, not as sudo, so I was logged in as root. Also, the last test failed, but it didn't instruct me on a path.

Here's the final output:
Code: Select all
Finished at 9/18/2011 10:54:45 PM.
30 tests run in 00:00:00.2235380.
29 successes.
1 failure.


I'm left wondering if it installed somewhere else.

(I'm still trying to get my sudoers script right so I can run bin/install-from-workspace, but I keep getting the "jetimms is not allowed to run sudo on mepis11-00. This incident will be reported," error.)
jetimms
 
Posts: 9

Re: Linux installs but where too?

Postby Charles » Sun Sep 18, 2011 11:15 pm

You'll have to lookup help on the sudo issue on the web. Most Linux issues can be resolved that way.

The Cobra installer does not run the test suite, so I'm not sure why you have that output.

When you run the installer, paste the command and all output in a message here. You can surround it in (code) ... (/code) if you want but with square brackets instead of parens. Here is what I get on Linux:

Code: Select all
root@cobra-language:~/cobra-workspace/Source# bin/install-from-workspace

Compiling installation program...

The Cobra Programming Language
Install From Workspace

Working...

==== Verify running as admin user

==== Verify installation directory

found dir: /usr/local/cobra

==== Verify running in workspace

Verified.

==== .NET 4.0 Prompt

Cobra can be installed for .NET 2.0/3.0/3.5 or .NET 4.0.
Do you want to install for .NET 4.0? [no] no

==== Verify Novell Mono version

Mono Version 2.6.7 (Debian 2.6.7-5ubuntu3)
Verified >= 2.4

==== Locate and test Cobra Snapshot compiler

run: Snapshot/cobra.exe -about
   : The Cobra Programming Language svn:2575 (post 0.8) / 2011-07-22 on Mono CLR v2.0.50727
   : Copyright (C) 2003-2011 by Cobra Language LLC.  All Rights Reserved.
   :
   : On the web:  http://cobra-language.com/
   : Source:      http://cobra-language.com/source
   : Support:     http://cobra-language.com/support
   : License:     http://www.opensource.org/licenses/mit-license.php
   :
   : Usage:       cobra -h

==== Build new Cobra compiler

run: Snapshot/cobra.exe -compile -turbo -ert:yes cobra.cobra -files:files-to-compile.text
   : Compilation succeeded

==== Retrieve Cobra base version number

run: cobra.exe -version
   : svn:2619 (post 0.8) / 2011-09-19 on Mono CLR v2.0.50727

base version: 2.0.50727-post

==== Build Cobra.Lang library

run: cobra.exe -build-standard-library -debug -turbo -out:Cobra.Lang.dll -key-file:Cobra.Lang/Cobra.Lang.snk Cobra.Lang/AssemblyAttrs.cobra
   : Compilation succeeded

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

Invoking Publish.GacInstall...
Not implemented exception.
Will attempt to use gacutil.exe.
found in system PATH

run: gacutil -i Cobra.Lang.dll -f
   : Installed Cobra.Lang.dll into the gac (/usr/lib/mono/gac)

==== Verifying Cobra.Lang.dll installed to the GAC

Cobra.Lang.dll has been successfully installed to the GAC.

==== Build Cobra.Lang.Compiler library

run: cobra.exe -c -t:lib -namespace:Cobra.Lang.Compiler -files:files-to-compile.text -debug -turbo -out:Cobra.Lang.Compiler.dll -key-file:Cobra.Lang/Cobra.Lang.snk cobra.cobra
   : Compilation succeeded

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

Invoking Publish.GacInstall...
Not implemented exception.
Will attempt to use gacutil.exe.
found in system PATH

run: gacutil -i Cobra.Lang.Compiler.dll -f
   : Installed Cobra.Lang.Compiler.dll into the gac (/usr/lib/mono/gac)

==== Verifying Cobra.Lang.Compiler.dll installed to the GAC

Cobra.Lang.Compiler.dll has been successfully installed to the GAC.

==== Verify newly built Cobra compiler

run: cobra.exe -about
   : The Cobra Programming Language svn:2619 (post 0.8) / 2011-09-19 on Mono CLR v2.0.50727
   : Copyright (C) 2003-2011 by Cobra Language LLC.  All Rights Reserved.
   :
   : On the web:  http://cobra-language.com/
   : Source:      http://cobra-language.com/source
   : Support:     http://cobra-language.com/support
   : License:     http://www.opensource.org/licenses/mit-license.php
   :
   : Usage:       cobra -h

run: cobra.exe -ert:no hello.cobra
   : Hello, world.

run: cobra.exe hello.cobra
   : Hello, world.

run: cobra.exe -ert:yes hello.cobra
   : Hello, world.

==== Copy files to install directory

found dir: /usr/local/cobra
del dir  : /usr/local/cobra/Cobra-2.0.50727-post
make dir : /usr/local/cobra/Cobra-2.0.50727-post

copy from: /root/cobra-workspace/HowTo
       to: /usr/local/cobra/Cobra-2.0.50727-post/HowTo
copy from: /root/cobra-workspace/Reusables
       to: /usr/local/cobra/Cobra-2.0.50727-post/Reusables
copy from: /root/cobra-workspace/Samples
       to: /usr/local/cobra/Cobra-2.0.50727-post/Samples
copy from: /root/cobra-workspace/Supplements
       to: /usr/local/cobra/Cobra-2.0.50727-post/Supplements
make dir : /usr/local/cobra/Cobra-2.0.50727-post/bin
copy  bin: /usr/local/cobra/Cobra-2.0.50727-post/bin
copy from: WebAssets
       to: /usr/local/cobra/Cobra-2.0.50727-post/bin/WebAssets
copy from: Cobra.Lang
       to: /usr/local/cobra/Cobra-2.0.50727-post/bin/Cobra.Lang
del dir  : /usr/local/cobra/Cobra-2.0.50727-post/HowTo/.svn
del dir  : /usr/local/cobra/Cobra-2.0.50727-post/HowTo/370-Threads/.svn
del dir  : /usr/local/cobra/Cobra-2.0.50727-post/Reusables/.svn
del dir  : /usr/local/cobra/Cobra-2.0.50727-post/Samples/.svn
del dir  : /usr/local/cobra/Cobra-2.0.50727-post/Supplements/.svn
del dir  : /usr/local/cobra/Cobra-2.0.50727-post/Supplements/Pex/.svn
del dir  : /usr/local/cobra/Cobra-2.0.50727-post/bin/Cobra.Lang/.svn
del dir  : /usr/local/cobra/Cobra-2.0.50727-post/bin/Cobra.Lang/Java/.svn
del dir  : /usr/local/cobra/Cobra-2.0.50727-post/bin/WebAssets/.svn
found dir: /usr/local/cobra/bin
writing  : /usr/local/cobra/bin/cobra
run: chmod a+x '/usr/local/cobra/bin/cobra'

==== Verify newly installed Cobra compiler

run: /usr/local/cobra/bin/cobra -about
   : The Cobra Programming Language svn:2619 (post 0.8) / 2011-09-19 on Mono CLR v2.0.50727
   : Copyright (C) 2003-2011 by Cobra Language LLC.  All Rights Reserved.
   :
   : On the web:  http://cobra-language.com/
   : Source:      http://cobra-language.com/source
   : Support:     http://cobra-language.com/support
   : License:     http://www.opensource.org/licenses/mit-license.php
   :
   : Usage:       cobra -h

run: /usr/local/cobra/bin/cobra -ert:yes Misc/hello.cobra
   : Hello, world.

==== Clean up workspace

==== Install "cobra" into a system path directory

found in PATH: /root/bin/cobra

copy from: /usr/local/cobra/bin/cobra
       to: /root/bin/cobra

The existing "cobra" in your path at
/root/bin/cobra
has been replaced with the new one.

Visit http://cobra-language.com/ for discussion, wiki, samples, irc and more.

Success!
root@cobra-language:~/cobra-workspace/Source#

Which is pretty much what I get on the Mac except there I install for .NET 4.0 since I have Mono 2.10.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Linux installs but where too?

Postby jetimms » Mon Sep 19, 2011 2:16 pm

You're output is what I got when I installed to Windows XP Pro x86 SP3.

That's why I was surprised when I saw the results in Linux.

When I get home, I'll copy the results of using su to install so you can see what's happening. (I am still trying to get sudo working.)
jetimms
 
Posts: 9

Re: Linux installs but where too?

Postby jetimms » Mon Sep 19, 2011 6:52 pm

Again, this is running as root via su:

Code: Select all
[root@mepis11-00 Source]# bin/install-from-workspace

Compiling installation program...
Running 30 tests at 9/19/2011 9:50:22 PM
>> lib InstallFromWorkspace, Version=0.0.0.0
    >> class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.CobraCore
        >> test 1: .exePath_5304
        << test 1: .exePath_5304
        >> test 2: .htmlEncode_ol_2_6358
        << test 2: .htmlEncode_ol_2_6358
        >> test 3: .htmlDecode_6406
        << test 3: .htmlDecode_6406
        >> test 4: .singleCompare_6476
        << test 4: .singleCompare_6476
    << class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.CobraCore
    >> class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.Extend_String_Extensions
        >> test 5: .capitalized_9894
        << test 5: .capitalized_9894
        >> test 6: .count_9960
        << test 6: .count_9960
        >> test 7: .isCapitalized_10012
        << test 7: .isCapitalized_10012
        >> test 8: .md5HashInHex_10059
        << test 8: .md5HashInHex_10059
        >> test 9: .repeat_10117
        << test 9: .repeat_10117
        >> test 10: .split_ol_4_10223
        << test 10: .split_ol_4_10223
        >> test 11: .split_ol_5_10313
        << test 11: .split_ol_5_10313
        >> test 12: .splitLines_ol_2_10395
        << test 12: .splitLines_ol_2_10395
        >> test 13: .splitWords_10708
        << test 13: .splitWords_10708
    << class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.Extend_String_Extensions
    >> class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.DecimalTools
        >> test 14: .pow_10778
        << test 14: .pow_10778
        >> test 15: .sqrt_10890
        << test 15: .sqrt_10890
    << class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.DecimalTools
    >> class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.Extend_IEnumerable_ExtendIEnumerable
        >> test 16: .join_ol_1_10976
        << test 16: .join_ol_1_10976
        >> test 17: .join_ol_2_11061
        << test 17: .join_ol_2_11061
    << class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.Extend_IEnumerable_ExtendIEnumerable
    >> class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.TestIEnumerableExtensions
        >> test 18: class level
        << test 18: class level
    << class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.TestIEnumerableExtensions
    >> class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.TestIListExtensions
        >> test 19: class level
        << test 19: class level
    << class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.TestIListExtensions
    >> class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.TestIDictionaryExtensions
        >> test 20: class level
        << test 20: class level
    << class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.TestIDictionaryExtensions
    >> class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.NumericTypeInfo
        >> test 21: .promoteNumerics_13594
        << test 21: .promoteNumerics_13594
    << class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.NumericTypeInfo
    >> class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.ObjectCatalog
        >> test 22: class level
        << test 22: class level
    << class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.ObjectCatalog
    >> class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.TestSet
        >> test 23: class level
        << test 23: class level
    << class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.TestSet
    >> class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.SourceSite
        >> test 24: .toString_ol_1_15245
        << test 24: .toString_ol_1_15245
        >> test 25: .oneLiner_ol_2_15345
        << test 25: .oneLiner_ol_2_15345
    << class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.SourceSite
    >> class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.PrintStringMaker
        >> test 26: .makePrintString_16414
        << test 26: .makePrintString_16414
    << class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.PrintStringMaker
    >> class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.TechStringMaker
        >> test 27: .makeTechString_16652
        << test 27: .makeTechString_16652
        >> test 28: _makeString_ol_1_16825
        << test 28: _makeString_ol_1_16825
        >> test 29: .isInterestingType_16971
        << test 29: .isInterestingType_16971
    << class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.TechStringMaker
    >> class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.UrlUtils
        >> test 30: class level
            Fail with exception:
            System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.AssertException:
            sourceSite = /usr/local/cobra-workspace/Source/Snapshot/Cobra.Lang/UrlUtils.cobra:27 in UrlUtils.test_class_UrlUtils for object Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.UrlUtils (MonoType)
            info       = nil
            this       = Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.UrlUtils (MonoType)
                (.encode(url) == encodedUrl) = false
                    .encode(url) = 'beta.com%2f%c3%8e%c2%b2'
                            url = 'beta.com/β'
                    encodedUrl = 'beta.com%2f%ce%b2'
           
              at Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.UrlUtils.test_class_UrlUtils_18200 () [0x00227] in /usr/local/cobra-workspace/Source/Snapshot/Cobra.Lang/UrlUtils.cobra:27
              at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
              at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /tmp/buildd/mono-2.6.7/mcs/class/corlib/System.Reflection/MonoMethod.cs:213
              --- End of inner exception stack trace ---
              at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000eb] in /tmp/buildd/mono-2.6.7/mcs/class/corlib/System.Reflection/MonoMethod.cs:223
              at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /tmp/buildd/mono-2.6.7/mcs/class/corlib/System.Reflection/MethodBase.cs:113
              at Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.Test.MethodInfoTest._run (Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.Test.TestRunParams params) [0x0001b] in /usr/local/cobra-workspace/Source/Snapshot/Cobra.Lang/Test.cobra:392
              at Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.Test.Test.Run (Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.Test.TestRunParams params, ITestRunListener listener) [0x00061] in /usr/local/cobra-workspace/Source/Snapshot/Cobra.Lang/Test.cobra:366
        << test 30: class level
    << class Cobra.Lang_ert_aa12374191b2327aea71ed06c4d89a89.UrlUtils
<< lib InstallFromWorkspace, Version=0.0.0.0
Finished at 9/19/2011 9:50:23 PM.
30 tests run in 00:00:00.2265220.
29 successes.
1 failure.
[root@mepis11-00 Source]#
jetimms
 
Posts: 9

Re: Linux installs but where too?

Postby Charles » Mon Sep 19, 2011 8:06 pm

Oh, I see. One of the unit tests is failing at startup. We'll take a look.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Linux installs but where too?

Postby Charles » Mon Sep 19, 2011 8:18 pm

Looks like one of the test cases had a non-standard character in a string. It happened to work on Mac and Ubuntu, but based on your experience, it must have been dependent on character set. I have commented it out.

Please try again after "svn up". Thanks for your patience.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Linux installs but where too?

Postby jetimms » Tue Sep 20, 2011 9:02 pm

Hi Charles. Thanks for the revision. However, the weird thing is I don't think I got the fix.

First I made the mistake of running svn up inside of the Source folder. Then being afraid I screwed up. I deleted the cobra-workspace folder and recreated it again just like from scratch.

Unfortunately, I think I am getting the same error. Here's the output (btw: I am showing the end of the "svn co http://cobra-language.com/svn/cobra/trunk/ cobra-workspace" command where it shows the revision as well as doing svn up. Its the same at 2621.):

Code: Select all
Checked out revision 2621.
[root@mepis11-00 local]# ls
bin  cobra-workspace  etc  games  include  lib  man  sbin  share  src  uex
[root@mepis11-00 local]# cd cobra-workspace
[root@mepis11-00 cobra-workspace]# cd Source
[root@mepis11-00 Source]# bin/install-from-workspace

Compiling installation program...
Running 30 tests at 9/20/2011 11:55:55 PM
>> lib InstallFromWorkspace, Version=0.0.0.0
    >> class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.CobraCore
        >> test 1: .exePath_5304
        << test 1: .exePath_5304
        >> test 2: .htmlEncode_ol_2_6358
        << test 2: .htmlEncode_ol_2_6358
        >> test 3: .htmlDecode_6406
        << test 3: .htmlDecode_6406
        >> test 4: .singleCompare_6476
        << test 4: .singleCompare_6476
    << class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.CobraCore
    >> class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.Extend_String_Extensions
        >> test 5: .capitalized_9894
        << test 5: .capitalized_9894
        >> test 6: .count_9960
        << test 6: .count_9960
        >> test 7: .isCapitalized_10012
        << test 7: .isCapitalized_10012
        >> test 8: .md5HashInHex_10059
        << test 8: .md5HashInHex_10059
        >> test 9: .repeat_10117
        << test 9: .repeat_10117
        >> test 10: .split_ol_4_10223
        << test 10: .split_ol_4_10223
        >> test 11: .split_ol_5_10313
        << test 11: .split_ol_5_10313
        >> test 12: .splitLines_ol_2_10395
        << test 12: .splitLines_ol_2_10395
        >> test 13: .splitWords_10708
        << test 13: .splitWords_10708
    << class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.Extend_String_Extensions
    >> class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.DecimalTools
        >> test 14: .pow_10778
        << test 14: .pow_10778
        >> test 15: .sqrt_10890
        << test 15: .sqrt_10890
    << class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.DecimalTools
    >> class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.Extend_IEnumerable_ExtendIEnumerable
        >> test 16: .join_ol_1_10976
        << test 16: .join_ol_1_10976
        >> test 17: .join_ol_2_11061
        << test 17: .join_ol_2_11061
    << class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.Extend_IEnumerable_ExtendIEnumerable
    >> class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.TestIEnumerableExtensions
        >> test 18: class level
        << test 18: class level
    << class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.TestIEnumerableExtensions
    >> class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.TestIListExtensions
        >> test 19: class level
        << test 19: class level
    << class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.TestIListExtensions
    >> class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.TestIDictionaryExtensions
        >> test 20: class level
        << test 20: class level
    << class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.TestIDictionaryExtensions
    >> class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.NumericTypeInfo
        >> test 21: .promoteNumerics_13594
        << test 21: .promoteNumerics_13594
    << class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.NumericTypeInfo
    >> class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.ObjectCatalog
        >> test 22: class level
        << test 22: class level
    << class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.ObjectCatalog
    >> class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.TestSet
        >> test 23: class level
        << test 23: class level
    << class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.TestSet
    >> class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.SourceSite
        >> test 24: .toString_ol_1_15245
        << test 24: .toString_ol_1_15245
        >> test 25: .oneLiner_ol_2_15345
        << test 25: .oneLiner_ol_2_15345
    << class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.SourceSite
    >> class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.PrintStringMaker
        >> test 26: .makePrintString_16414
        << test 26: .makePrintString_16414
    << class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.PrintStringMaker
    >> class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.TechStringMaker
        >> test 27: .makeTechString_16652
        << test 27: .makeTechString_16652
        >> test 28: _makeString_ol_1_16825
        << test 28: _makeString_ol_1_16825
        >> test 29: .isInterestingType_16971
        << test 29: .isInterestingType_16971
    << class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.TechStringMaker
    >> class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.UrlUtils
        >> test 30: class level
            Fail with exception:
            System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.AssertException:
            sourceSite = /usr/local/cobra-workspace/Source/Snapshot/Cobra.Lang/UrlUtils.cobra:27 in UrlUtils.test_class_UrlUtils for object Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.UrlUtils (MonoType)
            info       = nil
            this       = Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.UrlUtils (MonoType)
                (.encode(url) == encodedUrl) = false
                    .encode(url) = 'beta.com%2f%c3%8e%c2%b2'
                            url = 'beta.com/β'
                    encodedUrl = 'beta.com%2f%ce%b2'
           
              at Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.UrlUtils.test_class_UrlUtils_18200 () [0x00227] in /usr/local/cobra-workspace/Source/Snapshot/Cobra.Lang/UrlUtils.cobra:27
              at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
              at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /tmp/buildd/mono-2.6.7/mcs/class/corlib/System.Reflection/MonoMethod.cs:213
              --- End of inner exception stack trace ---
              at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000eb] in /tmp/buildd/mono-2.6.7/mcs/class/corlib/System.Reflection/MonoMethod.cs:223
              at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /tmp/buildd/mono-2.6.7/mcs/class/corlib/System.Reflection/MethodBase.cs:113
              at Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.Test.MethodInfoTest._run (Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.Test.TestRunParams params) [0x0001b] in /usr/local/cobra-workspace/Source/Snapshot/Cobra.Lang/Test.cobra:392
              at Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.Test.Test.Run (Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.Test.TestRunParams params, ITestRunListener listener) [0x00061] in /usr/local/cobra-workspace/Source/Snapshot/Cobra.Lang/Test.cobra:366
        << test 30: class level
    << class Cobra.Lang_ert_88ceb3a64a4ad3d429a27707ef8c5e79.UrlUtils
<< lib InstallFromWorkspace, Version=0.0.0.0
Finished at 9/20/2011 11:55:55 PM.
30 tests run in 00:00:00.2176800.
29 successes.
1 failure.
[root@mepis11-00 Source]# svn up
At revision 2621.
[root@mepis11-00 Source]#


Thanks for your help.
jetimms
 
Posts: 9

Re: Linux installs but where too?

Postby Charles » Wed Sep 21, 2011 1:50 am

Thanks for your patience. In short, this is fixed for real now. Try again.

In long, the Cobra compiler is implemented in Cobra which requires a "Cobra compiler snapshot" to be available to compile it. I made the fix in the main source code for the compiler, but forgot to do so in the snapshot where it was really needed. The installer invokes the snapshot compiler to build the compiler.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Next

Return to Discussion

Who is online

Users browsing this forum: No registered users and 44 guests

cron