z88 Aurora

Adam Dershowitz Ph.D., P.E. dersh at alum.mit.edu
Mon Jun 9 18:04:19 PDT 2014




On Jun 9, 2014, at 8:12 PM, Craig Treleaven <ctreleaven at cogeco.ca> wrote:

> At 7:37 PM -0400 6/9/14, Adam Dershowitz Ph.D., P.E. wrote:
>> On Jun 9, 2014, at 7:27 PM, Adam Dershowitz Ph.D., P.E. 
>> <<mailto:dersh at alum.mit.edu>dersh at alum.mit.edu> wrote:
>>> On Jun 9, 2014, at 7:09 PM, Brandon Allbery 
>>> <<mailto:allbery.b at gmail.com>allbery.b at gmail.com> wrote:
>>>> On Mon, Jun 9, 2014 at 7:06 PM, Adam Dershowitz Ph.D., P.E. 
>>>> <<mailto:dersh at alum.mit.edu>dersh at alum.mit.edu> wrote:
>>>> 
>>>> /usr/local/lib/libpng12.0.dylib: no matching architecture in 
>>>> universal wrapper
>>>> That's not from MacPorts. Where did you get it?
>>> 
>>> I am not sure which install did that.  But, it has been there for a 
>>> long time.
>>> Since z88 is searching for 1.2 anyway could that make a difference? 
>>> Might it find and use 1.6 if I dump that old libpng out?
>> 
>> As I suspected, dumping that just changed the error message:
>> 
>> ./aurorastartv2
>> dyld: Library not loaded: /opt/local/lib/libpng12.0.dylib
>>  Referenced from: /Users/adershowitz/z88aurorav2/bin/mac/./z88aurora
>>  Reason: image not found
>> ./aurorastartv2: line 5: 20674 Trace/BPT trap: 5       z88aurora
>> 
>> 
>> Seems that as built, Z88 was linked against libpng12 and not 16. 
>> So, it looks like the developers just used an older version of 
>> MacPorts to develop and release the library files, and then copied 
>> the key files over.  A bit ironic that they use MacPorts, but then 
>> make an installer that is not compatible with it.
> 
> I think you're missing the point.  '/opt/local' is the default prefix 
> for MacPorts--it _owns_ all the files under there.  Your Z88 
> installer _should not_ be writing to /opt/local/... BAD things will 
> happen if you keep mixing their broken installer with the default 
> prefix.
> 
> It is virtually certain that the developer of Z88 has a Portfile they 
> use to build and package their Mac installer.  Either:
> 
> 1) get them to give you the Z88 portfile (and associated files 
> directory, if any) and you can use MacPorts to build a current copy 
> of Z88.  Then you won't have a version mismatch on libpng.
> 
> 2) get them to submit their Z88 portfile here and then everyone will 
> be able to build an appropriate version of their software, OR
> 
> 3) get them to reinstall their copy of MacPorts to any other prefix 
> (say '/opt/z88') and create a new version of their installer.  Then 
> they won't stomp on stuff MacPorts owns.
> 
> Craig
> 
> -- 
> --
> Craig Treleaven, CA -- Clearview Consulting
> (905) 829-2054  ctreleaven at cogeco.ca
> 

Not at all.  I think that you have made assumptions about "the point", and haven’t really looked into what is going on.  First off, I don’t have anything to do with Z88, other then it looking useful, so I thought that I would try it out.  

But, a few things to help explain this.  1)  The application installer doesn’t install anything into /opt.  It only installs into the user’s home directory.  There is no reason that I have seen to think that they used Macports to build the application.  2)  The application requires a few additional runtime dependencies.  Apparently, these few libraries are built using Macports.  They provide an additional download to install these.  These are installed into /opt/local/lib and we agree that they should not be putting them there.  I think that you are confusing the Z88 installer and the separate gtk installer that they provide.  3)  If they linked against the current versions of these libraries, then just having the appropriate ports installed would not require this additional download.

I believe that Mark has already reached out to the developer, and hopefully there will be a fix coming.  It seems that the fix could be either to move the location of the libraries,and require the extra download, or to use the newer versions of the libraries, so that a Macports install with the correct libraries would cover it.  Then the extra install would be optional.  
Also, to clarify it appears that Z88 is open source, while Z88 Aurora, the version that includes pre- and post- processors, is free, but not open source.  I don’t see the source code on their web site, so I am not sure that we can build a port for it.  


More information about the macports-users mailing list