November 16, 2005
Anders F Björklund wrote:
> Stewart Gordon wrote:
> 
>> [masg2-mac:~/Documents/Prog/d] masg2% a.out
>> Error: could not open library libicuuc.dylib.32
>>
>> Any idea where to get this?
> 
> The version in DarwinPorts seems to be version 3.4:
> /opt/local/lib/libicuuc.dylib.34
> 
> Maybe you need need to update something in your D ?
> (or install the old ICU library version, if easier)

I'm using the last released version of GDC with the last released version of Mango.

And for anything to depend on one exact version of a runtime support library is a Bad Thing.

> --anders
> 
> PS. Got it from http://darwinports.opendarwin.org/:
>     "port install icu"

[masg2-mac:/opt/local/lib] masg2% port install icu
dyld: /usr/bin/tclsh can't open library: /usr/lib/libcurl.3.dylib  (No such file or directory, errno = 2)

    while executing
"load /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib"
    ("package ifneeded" script)
    invoked from within
"package_native require Pextlib 1.0"
    ("eval" body line 1)
    invoked from within
"eval package_native $args"
    (procedure "package" line 14)
    invoked from within
"package require Pextlib 1.0"
    (procedure "dportinit" line 279)
    invoked from within
"dportinit"
Failed to initialize ports system, dyld: /usr/bin/tclsh can't open library: /usr/lib/libcurl.3.dylib  (No such file or directory, errno = 2)

Stewart.

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d- s:- C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y
------END GEEK CODE BLOCK------

My e-mail is valid but not my primary mailbox.  Please keep replies on the 'group where everyone may benefit.
November 16, 2005
"Stewart Gordon" <smjg_1998@yahoo.com> wrote ...
> And for anything to depend on one exact version of a runtime support library is a Bad Thing.

If you're referring to the ICU libraries, then it's kinda' tough to get around that requirement: all the function names are decorated with the library version number. Small price to pay for getting all that ICU functionality for free? I assume they do this to get around the "dll hell" Walter often mentions? If you don't import mango.icu, your code won't try to bind the ICU libraries. Hope that helps ...


November 16, 2005
Stewart Gordon wrote:

> [masg2-mac:/opt/local/lib] masg2% port install icu
> dyld: /usr/bin/tclsh can't open library: /usr/lib/libcurl.3.dylib  (No such file or directory, errno = 2)

If DarwinPorts won't cooperate, you can probably build it from source:
http://darwinports.opendarwin.org/darwinports/dports/devel/icu/Portfile

Looks straight-forward, download the .tgz file and: ./configure && make
(if that compiles OK, complete the installation with: sudo make install)

--anders
November 22, 2005
Kris wrote:
> "Stewart Gordon" <smjg_1998@yahoo.com> wrote
>> Has anyone written, or is anyone writing or planning to write:
>>
>> (a) an HTTP client library that supports Mac OS X?
> 
> I understand that Mango runs on OS-X, including mango.http.client.HttpClient

I got the HTTP client unittest to compile in the end.  However, I get this error:

74611 FATAL mango.unittest - Unable to connect socket: Operation timed out

Could it be a proxy problem?  A grep for 'proxy' in mango.http.client returns nothing, so I'm guessing Mango doesn't support it yet.

I also tried my university's website, since this works without the proxy, but just got a segfault.  And by the way, testLayout segfaults as well.

Stewart.

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d- s:- C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y
------END GEEK CODE BLOCK------

My e-mail is valid but not my primary mailbox.  Please keep replies on the 'group where everyone may benefit.
November 22, 2005
"Stewart Gordon" <smjg_1998@yahoo.com> wrote ...
> Kris wrote:
>> "Stewart Gordon" <smjg_1998@yahoo.com> wrote
>>> Has anyone written, or is anyone writing or planning to write:
>>>
>>> (a) an HTTP client library that supports Mac OS X?
>>
>> I understand that Mango runs on OS-X, including mango.http.client.HttpClient
>
> I got the HTTP client unittest to compile in the end.  However, I get this error:
>
> 74611 FATAL mango.unittest - Unable to connect socket: Operation timed out
>
> Could it be a proxy problem?  A grep for 'proxy' in mango.http.client returns nothing, so I'm guessing Mango doesn't support it yet.

Correct. Do you fancy adding that?


> I also tried my university's website, since this works without the proxy, but just got a segfault.  And by the way, testLayout segfaults as well.

I guess that means Mango does not work on OS-X anymore :-(

testLayout() could possibly be a codegen issue?  It uses this syntax:

format (T[][] layout ...)

(no comma) which is intended to spare one the argptr() machinations.



November 23, 2005
Kris wrote:
> "Stewart Gordon" <smjg_1998@yahoo.com> wrote ...
>> Kris wrote:
>>> "Stewart Gordon" <smjg_1998@yahoo.com> wrote
>>>> Has anyone written, or is anyone writing or planning to write:
>>>>
>>>> (a) an HTTP client library that supports Mac OS X?
>>> I understand that Mango runs on OS-X, including mango.http.client.HttpClient
>> I got the HTTP client unittest to compile in the end.  However, I get this error:
>>
>> 74611 FATAL mango.unittest - Unable to connect socket: Operation timed out
>>
>> Could it be a proxy problem?  A grep for 'proxy' in mango.http.client returns nothing, so I'm guessing Mango doesn't support it yet.
> 
> Correct. Do you fancy adding that?

At the moment I wouldn't know where to start....

>> I also tried my university's website, since this works without the proxy, but just got a segfault.  And by the way, testLayout segfaults as well.
> 
> I guess that means Mango does not work on OS-X anymore :-(

Does this mean you've tested all the unittests on Windows and Linux recently?  Guess one of us needs to investigate where it's failing.

> testLayout() could possibly be a codegen issue?  It uses this syntax:
> 
> format (T[][] layout ...)
> 
> (no comma) which is intended to spare one the argptr() machinations.

I'll see if I can figure out what's going on....

Stewart.

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d- s:- C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y
------END GEEK CODE BLOCK------

My e-mail is valid but not my primary mailbox.  Please keep replies on the 'group where everyone may benefit.
1 2 3
Next ›   Last »