Bill, Remember I am using PowerPC Mac, not Intel Mac, although when I reported in a previous message on the results of unix locate, I was using my partner's Intel Mac.
Otoh, when I do a locate on this PowerPC Mac I get the following result. 7:45pm brian~]% sudo locate libexpat.dylib Password: /Applications/Gimp.app/Contents/Resources/lib/libexpat.dylib /Library/Frameworks/Gtk.framework/Libraries/lib/libexpat.dylib /Previous Systems.localized/Previous System 1/usr/local/apr/lib/libexpat.dylib /Users/brian/j602/addons/xml/sax/lib/libexpat.dylib /usr/X11R6/lib/libexpat.dylib [7:45pm brian~]% The next few lines are the ones in expat.ijs that seem important. if. UNAME-:'Linux' do. LIB=: 'libexpat.so.1' elseif. UNAME-:'Darwin' do. LIB=: 'libexpat.dylib' NB. this is the one I altered elseif. do. LN=. 'libexpat',IF64#'64' LIB=: jpath ADDONDIR,'/lib/',LN,'.dll' end. ) Based on the locate, I altered that line one at a time to the following 2 cases, and always got the same original error message and the result to cder'' was always 1 0. Should I try another of the cases, or should I make the correction differently? LIB=: '/usr/X11R6/lib/libexpat.dylib' LIB=: '/Users/brian/j602/addons/xml/sax/lib/libexpat.dylib' On Wed, Jan 26, 2011 at 7:16 PM, bill lam <[email protected]> wrote: > What will be the error code given by cder'' ? > If it is 1 0 (file no found), will it work if you change it to > '/usr/lib/libexpat.dylib' in expat.ijs ? > > that addon seemed to use expat version 2, but apparently version 1 is more > commonly used in linux and mac. > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
