Re: [Jprogramming] libuuid missing on Mac [was generating random seed]

2007-06-15 Thread Oleg Kobchenko
Speaking of GUIDs and googling, it was exactly
10 years ago, June 97, that Microsoft (tries to) 
introduce ActiveX, which runs on GUIDs, for Mac; 
released for Windows a year earlier.

   
http://www.mactech.com/articles/mactech/Vol.13/13.06/ActiveXControlsforMac/index.html

In June J version was 3.04, and it already featured OLE 
(ActiveX) support.

It was an interesting year in general: the apogee of browser wars,
Apple earlier flirting with BeOS and finally purchasing NeXT.
Component architecture is in the mainstream and JavaBeans emerge.

   http://www.mactech.com/articles/mt_indices/Vol_13_Issues.html

3D controls (gray chiseled UI) finally get picked up on Mac,
a technology initially described for Mac as a MacApp module in 
Working in the Third Dimension, Sep 93, still far behind other platforms.
   http://www.mactech.com/articles/develop/issue_15/103-114_Osborne_Thomas.html


--- Zach Reiter [EMAIL PROTECTED] wrote:

 Nice googling!
 
 Try changing the search for libuuid at the top of guid.ijs to
 
 3 : 0 ''
 if. UNAME -: 'Darwin' do.
   LIBUUID=: '',(find_dll 'System'),''
 elseif. IFUNIX do.
   LIBUUID=: '',(find_dll 'uuid'),''
 end.
 )
 
 (This is the extra footwork required to look at Mac OS X's 
 libc rather than libuuid)
 
 -Zach
 
 On Thu, 14 Jun 2007 23:12:25 -0400 (EDT), Brian Schott
 [EMAIL PROTECTED] said:
  It looks as if the file /lib/libuuid.so.1.2 is not
  on my Mac computer. I have looked through the installation
  disks with no luck. My Mac is the old PowerPC, not the newer
  Intel processor.  Do you suppose that is the problem?
  
  I have done a googol search for libuuid Mac OS X
  Tiger and found the following link which says This
  required some extra foot work since Apple put the
  uuid_generate functions into their libc, while Linux keeps
  them in libuuid. Which makes me worry that something is
  awry on Mac's OS X Tiger, but I am not equipped to fix such
  things.
  
 

http://mail-archives.apache.org/mod_mbox/apr-commits/200505.mbox/[EMAIL 
PROTECTED]
  
  Can any other Mac owners with or without the Intel
  processor find libuuid.so.1.2 that is mention by Chris
  below? And can anyone recommend a workaround for my system
  lacking the required /lib/libuuid.so.1.2 ?
  
  (B=)
  
  Brian Schott
  Atlanta, GA, USA
  schott DOT bee are eye eh en AT gee em ae eye el DOT com
  http://schott.selfip.net/~brian/
  
  -- Forwarded message --
  Date: Thu, 14 Jun 2007 19:55:22 -0400 (EDT)
  From: Brian Schott [EMAIL PROTECTED]
  To: Chris Burke [EMAIL PROTECTED]
  Subject: Re: [Jprogramming] generating random seed
  
  Chris,
  
  
  On Fri, 15 Jun 2007, Chris Burke wrote:
  
  + My machine has the same as yours:
  +
  +(9!:12;9!:14)''
  + +-+-+
  + |5|j601/2006-11-17/17:05|
  + +-+-+
  +
  + Please try to track down the problem. Note that the definition of guids
  + is very straightforward:
  +
  +guids
  + 3 : 0
  + if. IFUNIX do.
  +   cmd=. LIBUUID,' uuid_generate n *c'
  + else.
  +   cmd=. 'ole32 CoCreateGuid i *c'
  + end.
  + {:1 cmd 15!:01 0 1 (y,16)$' '
  + )
  +
  + On my machine:
  +
  +LIBUUID
  + /lib/libuuid.so.1.2
  +
  +
  --
  For information about J forums see http://www.jsoftware.com/forums.htm
 --
 For information about J forums see http://www.jsoftware.com/forums.htm
 



 

Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jprogramming] libuuid missing on Mac [was generating random seed]

2007-06-14 Thread Zach Reiter
Nice googling!

Try changing the search for libuuid at the top of guid.ijs to

3 : 0 ''
if. UNAME -: 'Darwin' do.
  LIBUUID=: '',(find_dll 'System'),''
elseif. IFUNIX do.
  LIBUUID=: '',(find_dll 'uuid'),''
end.
)

(This is the extra footwork required to look at Mac OS X's 
libc rather than libuuid)

-Zach

On Thu, 14 Jun 2007 23:12:25 -0400 (EDT), Brian Schott
[EMAIL PROTECTED] said:
   It looks as if the file /lib/libuuid.so.1.2 is not
 on my Mac computer. I have looked through the installation
 disks with no luck. My Mac is the old PowerPC, not the newer
 Intel processor.  Do you suppose that is the problem?
 
   I have done a googol search for libuuid Mac OS X
 Tiger and found the following link which says This
 required some extra foot work since Apple put the
 uuid_generate functions into their libc, while Linux keeps
 them in libuuid. Which makes me worry that something is
 awry on Mac's OS X Tiger, but I am not equipped to fix such
 things.
 
 http://mail-archives.apache.org/mod_mbox/apr-commits/200505.mbox/[EMAIL 
 PROTECTED]
 
   Can any other Mac owners with or without the Intel
 processor find libuuid.so.1.2 that is mention by Chris
 below? And can anyone recommend a workaround for my system
 lacking the required /lib/libuuid.so.1.2 ?
 
 (B=)
 
 Brian Schott
 Atlanta, GA, USA
 schott DOT bee are eye eh en AT gee em ae eye el DOT com
 http://schott.selfip.net/~brian/
 
 -- Forwarded message --
 Date: Thu, 14 Jun 2007 19:55:22 -0400 (EDT)
 From: Brian Schott [EMAIL PROTECTED]
 To: Chris Burke [EMAIL PROTECTED]
 Subject: Re: [Jprogramming] generating random seed
 
 Chris,
 
 
 On Fri, 15 Jun 2007, Chris Burke wrote:
 
 + My machine has the same as yours:
 +
 +(9!:12;9!:14)''
 + +-+-+
 + |5|j601/2006-11-17/17:05|
 + +-+-+
 +
 + Please try to track down the problem. Note that the definition of guids
 + is very straightforward:
 +
 +guids
 + 3 : 0
 + if. IFUNIX do.
 +   cmd=. LIBUUID,' uuid_generate n *c'
 + else.
 +   cmd=. 'ole32 CoCreateGuid i *c'
 + end.
 + {:1 cmd 15!:01 0 1 (y,16)$' '
 + )
 +
 + On my machine:
 +
 +LIBUUID
 + /lib/libuuid.so.1.2
 +
 +
 --
 For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jprogramming] libuuid missing on Mac [was generating random seed]

2007-06-14 Thread Brian Schott
Zach,

That works for me. Thanks very much.

On Thu, 14 Jun 2007, Zach Reiter wrote:

+ Nice googling!
+
+ Try changing the search for libuuid at the top of guid.ijs to
+
+ 3 : 0 ''
+ if. UNAME -: 'Darwin' do.
+   LIBUUID=: '',(find_dll 'System'),''
+ elseif. IFUNIX do.
+   LIBUUID=: '',(find_dll 'uuid'),''
+ end.
+ )
+
+ (This is the extra footwork required to look at Mac OS X's
+ libc rather than libuuid)
+
+ -Zach
+
(B=)

Brian Schott
Atlanta, GA, USA
schott DOT bee are eye eh en AT gee em ae eye el DOT com
http://schott.selfip.net/~brian/
--
For information about J forums see http://www.jsoftware.com/forums.htm