chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] MacOSX setup-helper install error


From: Jim Ursetto
Subject: Re: [Chicken-users] MacOSX setup-helper install error
Date: Thu, 27 Dec 2012 13:13:20 -0600

Normally indicates the install path is too long; if so it is surprising the 
build
and install of Chicken itself even worked.

Try one of these fixes:

1) Recompile and reinstall chicken after changing this
   line in Makefile.macosx:

   LINKER_LINK_SHARED_DLOADABLE_OPTIONS += -Wl,-headerpad -Wl,128

   to

   LINKER_LINK_SHARED_DLOADABLE_OPTIONS += -Wl,-headerpad_max_install_names

2) Recompile chicken after increasing the value 128 in the same
   line instead, e.g.:

   LINKER_LINK_SHARED_DLOADABLE_OPTIONS += -Wl,-headerpad -Wl,4000 

3) Install Chicken into a shorter path

Hopefully one of these works.

On Dec 27, 2012, at 12:15 PM, .alyn.post. wrote:

> I'm running Mac OS X 10.8.2 and have just installed the latest
> XCode+XCode command-line tools.  I've built chicken 4.8.0, and
> am trying to install the setup-helper egg.  I get the following
> error.  I'm not familiar with install_name_tool, though I gather
> it's a piece of XCode and/or some Mac OS X-specific piece of the
> toolchain.
> 
> Are any of you familiar enough with this platform to shed some
> light on what is going on?
> 
> -Alan
> 
> installing setup-helper:1.5.3 ...
> changing current directory to
> /var/folders/16/7q68s2js4_5d7cvdvr6zqvv80000gn/T/tempd32.13162/setup-helper
>  
> /Users/a/wa/call-cc.org/pkg/chicken/4.8.0/darwin/12.2.1/x86_64/gcc/4.2.1/opt/bin/csi
> -bnq -setup-mode -e "(require-library setup-api)" -e "(import
> setup-api)" -e "(setup-error-handling)" -e
> "(extension-name-and-version '(\"setup-helper\" \"1.5.3\"))"
> /var/folders/16/7q68s2js4_5d7cvdvr6zqvv80000gn/T/tempd32.13162/setup-helper/setup-helper.setup
>  
> /Users/a/wa/call-cc.org/pkg/chicken/4.8.0/darwin/12.2.1/x86_64/gcc/4.2.1/opt/bin/csc
> -feature compiling-extension -setup-mode    -s -O3 -d1
> setup-helper-mod.scm -j setup-helper-mod
> install_name_tool: changing install names or rpaths can't be redone
> for: setup-helper-mod.so (for architecture x86_64) because larger
> updated load commands do not fit (the program must be relinked, and
>  you may need to use -headerpad or -headerpad_max_install_names)
> 
> Error: shell command terminated with non-zero exit status 256:
> install_name_tool -change libchicken.dylib
> /Users/a/wa/call-cc.org/pkg/chicken/4.8.0/darwin/12.2.1/x86_64/gcc/4.2.1/opt/lib/libchicken.dylib
> setup-helper-mod.so
> 
> Error: shell command failed with nonzero exit status 256:
> 
>  
> /Users/a/wa/call-cc.org/pkg/chicken/4.8.0/darwin/12.2.1/x86_64/gcc/4.2.1/opt/bin/csc
> -feature compiling-extension -setup-mode    -s -O3 -d1
> setup-helper-mod.scm -j setup-helper-mod
> 
> 
> Error: shell command terminated with nonzero exit code
> 17920
> 
> 
> -- 
> my personal website: http://c0redump.org/
> 
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/chicken-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]