Changeset 424

Show
Ignore:
Timestamp:
10/13/08 21:44:47 (1 year ago)
Author:
jdecq
Message:

Updating OSX instructions

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/uploadr/README.osx

    r383 r424  
    4040 
    4141The Mozilla tools require the IDL library: 
    42   $ sudo port install libidl 
     42  $ sudo port install libidl (sudo /opt/local/bin/port install libidl) 
    4343 
    4444 
     
    5050 
    5151For Intel Mac: 
    52   http://www.oxymoronical.com/view/1114 
     52http://developer.mozilla.org/en/docs/Gecko_SDK#Downloading 
     53was http://www.oxymoronical.com/view/1114 
    5354 
    5455Place the SDK(s) appropriately: 
     
    5657  UPLOADR/MacUploadr.app/Contents/Resources/gecko-sdk.ppc (PPC Mac) 
    5758 
    58 These SDKs are from the Gecko 1.8 series and so are only safe to use 
     59These SDKs are from the Gecko 1.8/1.9 series and so are only safe to use 
    5960if the XPCOM components use only frozen interfaces.  Fortunately, 
    6061Uploadr currently falls into this category. 
     
    9192Download GraphicsMagick source (try and stick with 1.1.10): 
    9293  ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/1.1/GraphicsMagick-1.1.10.tar.bz2 
     94 
     95jde - trying 1.2.5 (ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/1.2/GraphicsMagick-1.2.5.tar.bz2) to match WINDOWS 
    9396 
    9497Configure and install GraphicsMagick: 
     
    126129  $ sudo port install libiconv 
    127130  $ sudo port install expat 
    128   $ sudo port install xml2 
     131  $ sudo port install xml2 (jde - does not exist: so libxml2?) 
    129132  $ ./configure --prefix=/opt/local --disable-shared --with-expat=/opt/local 
    130133  $ make && sudo make install 
     
    150153  $ make && sudo make install 
    151154 
     155jde : encountered: 
     156> make(6189) malloc: *** vm_allocate(size=4272951296) failed (error 
     157> code=3) 
     158> make(6189) malloc: *** error: can't allocate region 
     159> make(6189) malloc: *** set a breakpoint in szone_error to debug 
     160> make: *** virtual memory exhausted.  Stop. 
     161> 
     162 
     163$ which make 
     164/usr/bin/make 
     165$ make --version 
     166GNU Make 3.80 
     167 
     168port install gmake 
     169$ which gmake 
     170/opt/local/bin/gmake 
     171$ gmake --version 
     172GNU Make 3.81 
     173 
     174and used gmake instead of make 
    152175 
    153176 
     
    161184Use the Makefile in: 
    162185  UPLOADR/MacUploadr.app/Contents/Resources/components/ 
     186 
     187http://developer.mozilla.org/en/docs/Gecko_SDK#Issues_with_the_OS_X_SDK 
    163188 
    164189Running `make ppc gm ; make ppc key` will build the PPC binaries as 
     
    177202Launch Uploadr from Terminal to get debug windows: 
    178203  $ chmod a+w MacUploadr.app/Contents/MacOS/xulrunner 
     204  $ chmod a+x MacUploadr.app/Contents/MacOS/xulrunner 
    179205  $ MacUploadr.app/Contents/MacOS/xulrunner -jsconsole 
    180206