I was afraid of that, a path of that size should still have worked with the provided parameter, and I was able to run install_name_tool with your example path without an error. I ran across someone complaining about a similar issue in another project without a solution. Installing into a shorter path is not an acceptable long-term fix IMO.
There may be something going on with 10.8 or latest XCode; unfortunately I haven't upgraded from 10.7 yet... On Dec 27, 2012, at 2:30 PM, .alyn.post. wrote: > Thank you Jim, > > I went ahead with #3. Neither #1 nor #2 worked for me, but I wasn't > as thorough as I might have been testing them. > > -Alan > > On Thu, Dec 27, 2012 at 01:13:20PM -0600, Jim Ursetto wrote: >> 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 >>> Chicken-users@nongnu.org >>> https://lists.nongnu.org/mailman/listinfo/chicken-users >> > > -- > my personal website: http://c0redump.org/ _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users