Hi Mark,

try using `chicken-install -r glfw3` to get the source for the glfw3 egg. then 
open `glfw3.setup` and change `-lglfw` on line 12 to `-glfw3` and try to 
install using `chicken-install`

the problem is, if you installed glfw3 using brew or from source, the library 
you should link to is named glfw3 and not glfw as stated in the .setup file.

you might have more problem after this one (maybe with soil or hyperscene), if 
you do, go to the hypergiants author's github page [ 
https://github.com/AlexCharlton?tab=repositories ], clone the problematic 
repository and use `chicken-install` to install from the cloned repository. the 
egg might not be up to date as the github repo.

hope this works!

Gil


On Jan 9, 2015, at 4:30 AM, Mario Domenech Goulart <mario.goul...@gmail.com> 
wrote:

> Hi Mark,
> 
> On Thu, 8 Jan 2015 21:01:46 -0500 Mark Buckingham <markbucking...@gmail.com> 
> wrote:
> 
>> I installed chicken on my mac (Yosemite) tonight, and the make … check 
>> returned no errors.
>> 
>> I’m trying to install the hypergiant egg though, and when I run
>> 
>> sudo chicken-install hypergiant
>> 
>> I eventually get some errors:
>> 
>> installing glfw3:0.6.1 ...
>> changing current directory to /tmp/tempb670.21159/glfw3
>>  '/usr/local/bin/csi' -bnq -setup-mode -e "(require-library
>> setup-api)" -e "(import setup-api)" -e "(setup-error-handling)" -e
>> "(extension-name-and-version '(\"glfw3\" \"0.6.1\"))" 'glfw3.setup'
>>  '/usr/local/bin/csc' -feature compiling-extension -setup-mode -O2
>> -d0 -lglfw -framework Cocoa -framework OpenGL -framework IOKit
>> -framework Corevideo -J -s glfw3-bindings.scm
>> ld: library not found for -lglfw
> 
> Looks like the linker could not find libglfw.  Do you have it installed?
> 
> 
>> clang: error: linker command failed with exit code 1 (use -v to see 
>> invocation)
>> 
>> Error: shell command terminated with non-zero exit status 256:
>> /Applications/Xcode.app/Contents/Developer/usr/bin/gcc'
>> glfw3-bindings.o' -o 'glfw3-bindings.so' -m64 -bundle
>> -headerpad_max_install_names -framework Corevideo -framework IOKit
>> -framework OpenGL -framework Cocoa -lglfw -L"/usr/local/lib" -lchicken
>> -lm
>> 
>> Error: shell command failed with nonzero exit status 256:
>> 
>>  '/usr/local/bin/csc' -feature compiling-extension -setup-mode -O2
>> -d0 -lglfw -framework Cocoa -framework OpenGL -framework IOKit
>> -framework Corevideo -J -s glfw3-bindings.scm
>> 
>> 
>> Error: shell command terminated with nonzero exit code
>> 17920
>> "'/usr/local/bin/csi' -bnq -setup-mode -e \"(require-library setup-api)\" -e 
>> \"(…
>> 
>> Am I doing something wrong?
>> 
>> Thanks in advance
> 
> Best wishes.
> Mario
> -- 
> http://parenteses.org/mario
> 
> _______________________________________________
> Chicken-users mailing list
> Chicken-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/chicken-users

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to