[racket-dev] Error Racket compilation and installation for darwin11

From: Renzo Orsini (renzo.orsini at gmail.com)
Date: Thu Apr 21 01:10:06 EDT 2011

Thanks, this solved that problem. After compilation and installation (with a very very long list of raco setup), the situation is the following:

bin/racket does work, at least with simple expressions like (+ 2 2),
GRacket does work

DrRacket.app, DrScheme.app, MrEd.app, PLT Games.app, Racket Documentation.app, Slideshow.app   crash with a message that I append to this mail. I don't know if this depends on the preloaded libraries (which appear in the installation:
  libcairo.2.dylib downloading... done.
  libintl.8.dylib downloading... done.
  libgio-2.0.0.dylib downloading... done.
  libjpeg.62.dylib downloading... done.
  libglib-2.0.0.dylib downloading... done.
  libpango-1.0.0.dylib downloading... done.
  libgmodule-2.0.0.dylib downloading... done.
  libpangocairo-1.0.0.dylib downloading... done.
  libgobject-2.0.0.dylib downloading... done.
  libpixman-1.0.dylib downloading... done.
  libgthread-2.0.0.dylib downloading... done.
  libpng14.14.dylib downloading... done.
  PSMTabBarControl.tgz downloading... unpacking... done. )
or if the problem in something else (I can see a mention to libcommonCrypto.dylib in the dump).

Some suggestions? Should I start first to manually compile the packages whose dylibs are downloaded? Where can I find them? Some other idea?

Renzo


-----------



Crashed Thread:  0

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
dyld: launch, loading dependent libraries
/Users/orsini/Racketv5.1Source/DrRacket.app/Contents/MacOS/DrRacket

Dyld Error Message:
  bad rebase type 0 in /Users/orsini/Racketv5.1Source/DrRacket.app/Contents/MacOS/DrRacket

Binary Images:
                 0 - 0xffffffffffffffff +org.racket-lang.DrRacket (5.1 - 5.1) <C4B183DA-7BED-3AC5-848E-6A25F9DB2830> /Users/USER/*/DrRacket.app/Contents/MacOS/DrRacket
       0x1001c3000 -        0x10044bfe7 +Racket (??? - ???) <B9B49C9F-7745-306F-A6C4-DCEDBD66A305> /Users/USER/*/Racket.framework/Versions/5.1_3m/Racket
       0x100544000 -        0x100556ff7  libz.1.dylib (1.2.5 - compatibility 1.0.0) <5D4165AA-34C6-3E70-A7B8-C9EF4351D76A> /usr/lib/libz.1.dylib
       0x10055c000 -        0x1005cffff  libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <96257186-9B19-3941-8A13-581AF5F14A7F> /usr/lib/libstdc++.6.dylib
    0x7fff5fdb5000 -     0x7fff5fde99ff  dyld (195.2 - ???) <5D0A08E1-E10E-376D-9220-E534C063AFCE> /usr/lib/dyld
    0x7fff86b99000 -     0x7fff86bdbfff  libcommonCrypto.dylib (55004.0.0 - compatibility 1.0.0) <9FAFBAD4-688B-3379-AC6D-3D731B31751B> /usr/lib/system/libcommonCrypto.dylib
    0x7fff86fb5000 -     0x7fff86fb9fff  libsystem_network.dylib (??? - ???) <0AC43677-A904-35B2-A470-6C9F2F59D9CA> /usr/lib/system/libsystem_network.dylib
    0x7fff871a6000 -     0x7fff871c2ff7  libxpc.dylib (77.6.0 - compatibility 1.0.0) <2D34387F-BD79-3281-8AC6-9A4332C43543> /usr/lib/system/libxpc.dylib
    0x7fff87202000 -     0x7fff8720cfff  liblaunch.dylib (392.7.0 - compatibility 1.0.0) <7ADE2621-0D56-31A4-A983-226B9C75C00C> /usr/lib/system/liblaunch.dylib
    0x7fff87381000 -     0x7fff87385fff  libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) <FF83AFF7-42B2-306E-90AF-D539C51A4542> /usr/lib/system/libmathCommon.A.dylib
    0x7fff87b67000 -     0x7fff87b6cfff  libcache.dylib (47.0.0 - compatibility 1.0.0) <C02501EB-6EBB-37F2-8013-048F91FB9144> /usr/lib/system/libcache.dylib
    0x7fff88440000 -     0x7fff885249a7  libobjc.A.dylib (228.0.0 - compatibility 1.0.0) <47C36D7E-7434-3C28-95BD-F5ECE8AFF88C> /usr/lib/libobjc.A.dylib
    0x7fff89a47000 -     0x7fff89a4cfff  libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib
    0x7fff8ad80000 -     0x7fff8adadfe7  libSystem.B.dylib (159.0.0 - compatibility 1.0.0) <54B7C4CC-DD61-3740-B099-E9842744BCE2> /usr/lib/libSystem.B.dylib
    0x7fff8adae000 -     0x7fff8adb2fff  libdyld.dylib (195.2.0 - compatibility 1.0.0) <5FE61FD3-B2C8-3B19-8F74-8CCD89EBF372> /usr/lib/system/libdyld.dylib
    0x7fff8ae0a000 -     0x7fff8ae0bfff  libsystem_sandbox.dylib (??? - ???) <E0B4EC83-6E9D-3574-BD62-42CFEE641EFE> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff8aed2000 -     0x7fff8af47ff7  libc++.1.dylib (18.0.0 - compatibility 1.0.0) <F4DBFAC2-CE74-3C62-8710-17A717638104> /usr/lib/libc++.1.dylib
    0x7fff8afaa000 -     0x7fff8afb2ff7  libsystem_dnssd.dylib (??? - ???) <1399648B-FCD1-3A81-8819-32B4C21ACAA5> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff8bc1f000 -     0x7fff8bcfcfef  libsystem_c.dylib (763.3.0 - compatibility 1.0.0) <8525DEC8-4DDA-3CAF-B5A8-D868A0970352> /usr/lib/system/libsystem_c.dylib
    0x7fff8be87000 -     0x7fff8be88fff  libunc.dylib (24.0.0 - compatibility 1.0.0) <5B68A63F-F03F-3818-8204-78871A5E5AB6> /usr/lib/system/libunc.dylib
    0x7fff8c55f000 -     0x7fff8c56aff7  libc++abi.dylib (14.0.0 - compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> /usr/lib/libc++abi.dylib
    0x7fff8ca49000 -     0x7fff8ca85ff7  libsystem_info.dylib (??? - ???) <2F9166DE-5CDB-3BD6-B75F-D77FE71E23C9> /usr/lib/system/libsystem_info.dylib
    0x7fff8cb16000 -     0x7fff8cb1cfff  libmacho.dylib (800.0.0 - compatibility 1.0.0) <ABCD132E-C930-3867-8C7A-05FCC6194FA1> /usr/lib/system/libmacho.dylib
    0x7fff8cb1d000 -     0x7fff8cb2bfff  libdispatch.dylib (187.0.0 - compatibility 1.0.0) <9964F2E5-54DE-3F6D-8E6E-D6BE4CE5BD29> /usr/lib/system/libdispatch.dylib
    0x7fff8ded6000 -     0x7fff8ded6fff  libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib
    0x7fff8e2e0000 -     0x7fff8e4afff7  com.apple.CoreFoundation (6.7 - 621) <2EF3D8D9-293D-3BD0-9073-91F1B1ED58BA> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff8fbb9000 -     0x7fff8fbd9fff  libsystem_kernel.dylib (1699.22.36 - compatibility 1.0.0) <D7DBA60E-139D-32FD-8F05-84B03FA16B87> /usr/lib/system/libsystem_kernel.dylib
    0x7fff8fbe7000 -     0x7fff8fbedff7  libunwind.dylib (30.0.0 - compatibility 1.0.0) <FA67048D-A376-3701-A9D8-0BB722CA3E65> /usr/lib/system/libunwind.dylib
    0x7fff8ff5a000 -     0x7fff8ff5bff7  libremovefile.dylib (21.0.0 - compatibility 1.0.0) <3FABC0D8-9907-3667-A409-9567711109A7> /usr/lib/system/libremovefile.dylib
    0x7fff90235000 -     0x7fff90236fff  libDiagnosticMessagesClient.dylib (??? - ???) <9AF1323A-96C7-376A-BCA8-024365AD18F3> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff90bf6000 -     0x7fff90df8fff  libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <275175E6-EF41-3F10-9D1F-A273F26C6D5E> /usr/lib/libicucore.A.dylib
    0x7fff90df9000 -     0x7fff90e47ff7  libauto.dylib (??? - ???) <5D1BDBC5-5230-3262-BD8B-3BFBD9C6E3F9> /usr/lib/libauto.dylib
    0x7fff914a1000 -     0x7fff914a3fff  libquarantine.dylib (34.0.0 - compatibility 1.0.0) <EA5D9627-C10F-305C-823B-3EFAD870FCDB> /usr/lib/system/libquarantine.dylib
    0x7fff91882000 -     0x7fff91889fff  libcopyfile.dylib (84.0.0 - compatibility 1.0.0) <3726BDD9-5F48-35B1-A43F-0170A720C5E8> /usr/lib/system/libcopyfile.dylib
    0x7fff91beb000 -     0x7fff91becfff  libdnsinfo.dylib (395.3.0 - compatibility 1.0.0) <3A2FF91A-1855-33F3-BBDA-E9AED8DD8DE8> /usr/lib/system/libdnsinfo.dylib
    0x7fff92015000 -     0x7fff9201efff  libnotify.dylib (80.0.0 - compatibility 1.0.0) <45AAC426-A270-3CCB-AE09-539481BEE80D> /usr/lib/system/libnotify.dylib
    0x7fff92179000 -     0x7fff9226efff  libiconv.2.dylib (7.0.0 - compatibility 7.0.0) <5C40E880-0706-378F-B864-3C2BD922D926> /usr/lib/libiconv.2.dylib
    0x7fff92293000 -     0x7fff92294ff7  libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <D662158F-D097-3E76-8D47-CB51EFD8B047> /usr/lib/system/libsystem_blocks.dylib


On Apr 20, 2011, at 15:33 , Matthew Flatt wrote:

> The problem is that `make install' cannot handle a path with a space in
> its name, like "Racket v5.1 Source". Try renaming to "racket-v5.1-src",
> or something like that.
> 
> At Wed, 20 Apr 2011 15:03:52 +0200, Renzo Orsini wrote:
>> Hello list,
>> 
>> I tried to compile and install racket for Mac OS X Lion (darwin 11), since
>> the precompiled binary does not work.
>> 
>> While the compilation  has apparently succeeded, the installation (with make
>> install), terminates with the following error:
>> 
>> make osx-install-3m
>> make unix-install-3m
>> cd ..; cp racket/racket3m "/Users/orsini/Racket v5.1 Source/bin/racket"
>> cd ..; cp racket/libracket3m.a "/Users/orsini/Racket v5.1
>> Source/lib/libracket3m.a"
>> cd ..; cp racket/mzdyn3m.o "/Users/orsini/Racket v5.1 Source/lib/mzdyn3m.o"
>> ./racket3m -cu "../../racket/collects-path.rkt" "/Users/orsini/Racket v5.1
>> Source/bin/racket" ../collects
>> mkdir -p "/Users/orsini/Racket v5.1
>> Source/lib/Racket.framework/Versions/5.1_3m"
>> cp Racket.framework/Versions/5.1_3m/Racket /Users/orsini/Racket v5.1
>> Source/lib/Racket.framework/Versions/5.1_3m/
>> usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
>>       cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ...
>> target_directory
>> make[4]: *** [osx-install-3m] Error 64
>> make[3]: *** [install-3m] Error 2
>> make[2]: *** [install-3m-common] Error 2
>> make[1]: *** [install-3m] Error 2
>> make: *** [install] Error 2
>> 
>> 
>> Some suggestion on how to solve the issue?
>> 
>> Thanks very much.
>> 
>> Renzo
>> _________________________________________________
>>  For list-related administrative tasks:
>>  http://lists.racket-lang.org/listinfo/dev
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/dev




Posted on the dev mailing list.