Re: [Chicken-users] Arch User Repository packages

2015-01-09 Thread Matt Gushee
Actually, upon further reflection, I think my previous post was a bit
confused. The reasons I gave were surely valid reasons for
*something*, but maybe not for the points I was making ;-) What I
really want to say is that:

* I believe that in some hypothetical future where people are
developing end-user applications in Chicken Scheme, not just the
applications but all their runtime dependencies, typically including a
number of eggs, should be made available as packages for Arch (or
whatever flavor of) Linux - for all the usual reasons we have packages
and libraries to begin with. Although an AUR package doesn't provide
much benefit in and of itself (it has to be compiled either way, and
chicken-install is very easy to use), I imagine the developer is
hoping the application will eventually be accepted into the official
repo; at least I would, if I were the developer. And at that point not
just the app but all its dependencies will need to be available as
binary packages.

* On the other hand, as long as the only purpose for the egg packages
is to provide libraries for developers, I would agree that it is a
waste of time to package them. Let developers just use
chicken-install.

And consequently, I will *not* be thinking about how to automate
AUR-packages-from-eggs. Hope that doesn't break anyone's heart.

--
Matt Gushee

On Fri, Jan 9, 2015 at 8:21 PM, John Cowan co...@mercury.ccil.org wrote:
 Matt Gushee scripsit:

 Also, in my experience with various Linux tribes, there is a general
 expectation that binary packages should depend only on other binary
 packages. Indeed, there is a potential security issue in that (at
 least in principle) official binary packages are tested and
 security-audited by the dev team of any given distribution, so
 allowing a package to install other software outside the
 distribution's procedures would be frowned upon if not prohibited in
 most distributions.

 Sure.  But in that case it is the business of the OS-specific packager
 to ensure the appropriate dependencies are provided in an OS-specific
 manager.  Chicken by itself has no way to specify, except in prose,
 what the non-Chicken dependencies of any given egg are, because there
 are no universal names for these dependencies.

 --
 John Cowan  http://www.ccil.org/~cowanco...@ccil.org
 Sound change operates regularly to produce irregularities;
 analogy operates irregularly to produce regularities.
 --E.H. Sturtevant, ca. 1945, probably at Yale

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


Re: [Chicken-users] Arch User Repository packages

2015-01-09 Thread John Cowan
Matt Gushee scripsit:

 Also, in my experience with various Linux tribes, there is a general
 expectation that binary packages should depend only on other binary
 packages. Indeed, there is a potential security issue in that (at
 least in principle) official binary packages are tested and
 security-audited by the dev team of any given distribution, so
 allowing a package to install other software outside the
 distribution's procedures would be frowned upon if not prohibited in
 most distributions.

Sure.  But in that case it is the business of the OS-specific packager
to ensure the appropriate dependencies are provided in an OS-specific
manager.  Chicken by itself has no way to specify, except in prose,
what the non-Chicken dependencies of any given egg are, because there
are no universal names for these dependencies.

-- 
John Cowan  http://www.ccil.org/~cowanco...@ccil.org
Sound change operates regularly to produce irregularities;
analogy operates irregularly to produce regularities.
--E.H. Sturtevant, ca. 1945, probably at Yale

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


Re: [Chicken-users] Installing hypergiant on macosx fails.

2015-01-09 Thread Mark Buckingham

 On Jan 9, 2015, at 10:20 AM, Alex Charlton alex.n.charl...@gmail.com wrote:
 
 Yeah, those warning’s you’re seeing aren’t important. Chicken is just 
 confused about what extensions it has available.
 
 I’m pushing bugfixes to Hypergiant and Hyperscene presently. So, you’ll want 
 to reinstall them soon, but not too soon, or they won’t yet be 
 chicken-installable ;)

Alex- I have things up and running, and I’ve been able to run the go.scm and 
sprites.scm examples.  So, things look good.

Thanks again!


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


Re: [Chicken-users] Installing hypergiant on macosx fails.

2015-01-09 Thread Alex Charlton
Good to hear! You may notice a segfault in go.scm if you add enough stones, but 
that’s fixed with version 0.2.2 of Hyperscene.

Thanks for letting me know about your GLFW install :)

Mark Buckingham writes:

 On Jan 9, 2015, at 10:20 AM, Alex Charlton alex.n.charl...@gmail.com wrote:
 
 Yeah, those warning’s you’re seeing aren’t important. Chicken is just 
 confused about what extensions it has available.
 
 I’m pushing bugfixes to Hypergiant and Hyperscene presently. So, you’ll want 
 to reinstall them soon, but not too soon, or they won’t yet be 
 chicken-installable ;)

 Alex- I have things up and running, and I’ve been able to run the go.scm and 
 sprites.scm examples.  So, things look good.

 Thanks again!


-- 
Alex


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


Re: [Chicken-users] Installing hypergiant on macosx fails.

2015-01-09 Thread Alex Charlton
Yeah, those warning’s you’re seeing aren’t important. Chicken is just confused 
about what extensions it has available.

I’m pushing bugfixes to Hypergiant and Hyperscene presently. So, you’ll want to 
reinstall them soon, but not too soon, or they won’t yet be chicken-installable 
;)


Mark Buckingham writes:

 Gil-

 I went ahead and did a chicken-install glls, and that worked, but with 
 warnings about gl-utils-core, and gl-utils-mesh, so I installed gl-utils.

 Strangely enough, the install for gl-utils complains about gl-utils-core, but 
 if I try to install gl-utils-core, then I get a ‘no such extension’ error.

 I’m going to go ahead and try to work through some of the example code, and 
 see how that goes.  It’s possible that the warnings I’m getting now aren’t 
 important.

 Thanks for the tip about the -framework OpenGL flag.  I’ll remember that when 
 things break.  :-)

 On Jan 9, 2015, at 10:01 AM, Gil Mizrahi gmizrah...@gmail.com wrote:
 
 Hi Mark,
 
 No problem, had the same problems myself a couple of days ago and got help 
 from Alex and others at #chicken on freenode.
 
 regarding glfw3-bindings and glls-render, I think those might be from eggs 
 so you might want to try and install them using `chicken-install glls` or 
 something like that, but i'm not sure. is there any problem beside the 
 warnings?
 
 one other thing that might tackle you in the near future, in order to 
 compile code which uses OpenGL, like go.scm from the hypergiant examples, 
 you will need to add the flag `-framework OpenGL` instead of `-lGL` to `csc` 
 on OS X. 
 
 Gil
 
 On Jan 9, 2015, at 4:50 PM, Mark Buckingham markbucking...@gmail.com wrote:
 
 Hi Gil,
 
 Not a stupid question.  I was pretty sure that I had installed glew, at 
 least once, but I retried it, then tried installing hypergiant again.
 
 …and it worked!
 
 There were a couple warnings about extensions ‘glfw3-bindings’ and 
 ‘glls-render’ not being installed, but trying to do ‘brew install’ on 
 either one results in ‘no available formula’ errors.
 
 Thanks to all of you for your help with all of this, I really appreciate 
 it.  :-)
 
 On Jan 9, 2015, at 9:42 AM, Gil Mizrahi gmizrah...@gmail.com wrote:
 
 Hi Mark,
 
 This might be a stupid question, but did you also install GLEW? (using 
 `brew install glew` or something like that?)
 
 if not, please do and try again :)
 
 Gil
 
 On Jan 9, 2015, at 4:39 PM, Mark Buckingham markbucking...@gmail.com 
 wrote:
 
 Hi Alex-
 
 Thanks for your help.  I originally tried using macports, but it’s kind 
 of touchy about things, so I went back to homebrew.
 
 Just to get to a known state, I uninstalled and reinstalled glfw3, which 
 gave me libglfw3 in /usr/local/lib.  I then reinstalled chicken, pulled 
 down the glfw3 egg, and patched glfw3.setup as Gil mentions below.
 
 Next, I got the soil egg from your github repo, and installed it.
 
 Finally, I did a ‘chicken-install hypergiant’, and it did progress 
 farther, but eventually died with:
 
 installing opengl-glew:0.9.1 ...
 changing current directory to 
 /var/folders/qz/rpxwrp8x00x_kjbcq3gsm0cwgn/T/temp6b3f.70071/opengl-glew
 '/usr/local/Cellar/chicken/4.9.0.1/bin/csi' -bnq -setup-mode -e 
 (require-library setup-api) -e (import setup-api) -e 
 (setup-error-handling) -e (extension-name-and-version 
 '(\opengl-glew\ \0.9.1\)) 'opengl-glew.setup'
 Translating glcorearb.h
 '/usr/local/Cellar/chicken/4.9.0.1/bin/csc' -feature compiling-extension 
 -setup-mode-s -O3 -d0 opengl-glew.scm -FOpenGL -framework OpenGL 
 -lGLEW -J -emit-type-file opengl-glew.types
 
 Warning: can not compute macro type `GL_INVALID_INDEX' (ignored)
 
 Warning: can not compute macro type `GL_TIMEOUT_IGNORED' (ignored)
 opengl-glew.c:13:10: fatal error: 'GL/glew.h' file not found
 #include GL/glew.h
  ^
 1 error generated.
 
 Error: shell command terminated with non-zero exit status 256: 'clang' 
 'opengl-glew.c' -o 'opengl-glew.o' -c  -fno-strict-aliasing -fwrapv 
 -fno-common -DHAVE_CHICKEN_CONFIG_H -m64 -DC_ENABLE_PTABLES -Os 
 -fomit-frame-pointer -fPIC -DPIC -DC_SHARED -FOpenGL 
 -I/usr/local/Cellar/chicken/4.9.0.1/include/chicken
 
 Error: shell command failed with nonzero exit status 256:
 
 '/usr/local/Cellar/chicken/4.9.0.1/bin/csc' -feature compiling-extension 
 -setup-mode-s -O3 -d0 opengl-glew.scm -FOpenGL -framework OpenGL 
 -lGLEW -J -emit-type-file opengl-glew.types
 
 Anyway, I’m really excited to try hypergiant, so I’m happy to do whatever 
 I can do to help work out the installation problems on OS X.
 
 On Jan 9, 2015, at 9:03 AM, Alex Charlton alex.n.charl...@gmail.com 
 wrote:
 
 
 Hi Mark,
 
 If you already have GLFW (version 3+) installed,
 
 Gil Mizrahi writes:
 
 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`
 
 It’s just as Gil said. I’m trying to figure out why my GLFW on OS X 
 seemingly installed as 

[Chicken-users] Arch User Repository packages

2015-01-09 Thread Aaron Paden
Most of the chicken-egg packages on aur.archlinux.org have been
orphaned. Most of these will not build because a recent pacman update
made implementing package() mandatory.

I've taken maintainership of a few packages, but I'm only trying Chicken
out. If any of you are Arch users, you may want to consider taking
maintainership of some of these packages if you use them.

Note that the template used for most of those packages are old and quite
hackish, and I'm only vaguely aware of how it even works. I've adopted a
much simpler method from perlawk. For an example, see:

https://aur.archlinux.org/packages/ch/chicken-iset/PKGBUILD

With that out of the way, I do have a couple related questions:

1) Does chicken have a way to check if there are new versions of
libraries? Most of these libraries don't actually have a website or
up-to-date version information, and the only way I've seen so far to
tell the latest version is to download it with chicken-install and check
the version in the $name.setup file.

2) Is there a way to track dependencies for chicken packages? So far,
the only way I've noticed is to install the package and check for
errors. This is problematic for packages because I might have a
dependency on my computer that another use does not. Some libraries
document dependencies on their wiki page, but some don't.


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


Re: [Chicken-users] Arch User Repository packages

2015-01-09 Thread Alexej Magura

Most of them probably don't need to be packaged on the AUR.

I've always tried to stay away from AUR sponsored packages that were 
available through a languages built-in package manager, since the AUR 
packages may or may not be up to speed with the latest release available 
via `chicken-install'


On 01/09/2015 02:51 PM, Aaron Paden wrote:

Most of the chicken-egg packages on aur.archlinux.org have been
orphaned. Most of these will not build because a recent pacman update
made implementing package() mandatory.

I've taken maintainership of a few packages, but I'm only trying Chicken
out. If any of you are Arch users, you may want to consider taking
maintainership of some of these packages if you use them.

Note that the template used for most of those packages are old and quite
hackish, and I'm only vaguely aware of how it even works. I've adopted a
much simpler method from perlawk. For an example, see:

https://aur.archlinux.org/packages/ch/chicken-iset/PKGBUILD

With that out of the way, I do have a couple related questions:

1) Does chicken have a way to check if there are new versions of
libraries? Most of these libraries don't actually have a website or
up-to-date version information, and the only way I've seen so far to
tell the latest version is to download it with chicken-install and check
the version in the $name.setup file.

2) Is there a way to track dependencies for chicken packages? So far,
the only way I've noticed is to install the package and check for
errors. This is problematic for packages because I might have a
dependency on my computer that another use does not. Some libraries
document dependencies on their wiki page, but some don't.


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


--
Alexej Magura

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


Re: [Chicken-users] Arch User Repository packages

2015-01-09 Thread Aaron Paden
I don't think that's quite right. Python also offers similar tools, but
every Linux distro I've seen also supplies Python packages in their
repositories. While pip is great for development, when it comes to
distribution, end-users on Linux still expect to be able to use their
package manager to install applications, which necessarily requires
using the package manager to handle dependencies.

I don't know if there are any traditional Unix-style applications or
utilities written in Chicken Scheme being distributed to end-users
currently, but the reason why I'm even checking it out is because it
does seem better suited to this task than a lot of other Lisp/Scheme
implementations.

On Fri, 2015-01-09 at 15:12 -0700, Alexej Magura wrote:
 Yeah, offering eggs via any other method, but chicken-install, is an
 overly complicated and unnecessary solution to a non-existent problem,
 and the solution tends to breed more problems of its own.  Such as:
 how do I check if there's a more recent release for egg XYZ
 
 I'd send a request to AUR General, IIRC that's the appropriate mailing
 list, and ask them to delete the AUR packages in question.
 
 On 01/09/2015 03:05 PM, co...@ccil.org wrote:
 
  IMO, system-specific package libraries should be used only for Chicken
  itself, and eggs should be updated solely by chicken-install.
 
 -- 
 Alexej Magura



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


Re: [Chicken-users] Arch User Repository packages

2015-01-09 Thread Alexej Magura
I'd forgotten about tools written in Chicken Scheme; it's a very valid 
point.


On 01/09/2015 03:39 PM, Aaron Paden wrote:

I don't think that's quite right. Python also offers similar tools, but
every Linux distro I've seen also supplies Python packages in their
repositories. While pip is great for development, when it comes to
distribution, end-users on Linux still expect to be able to use their
package manager to install applications, which necessarily requires
using the package manager to handle dependencies.

I don't know if there are any traditional Unix-style applications or
utilities written in Chicken Scheme being distributed to end-users
currently, but the reason why I'm even checking it out is because it
does seem better suited to this task than a lot of other Lisp/Scheme
implementations.

On Fri, 2015-01-09 at 15:12 -0700, Alexej Magura wrote:

Yeah, offering eggs via any other method, but chicken-install, is an
overly complicated and unnecessary solution to a non-existent problem,
and the solution tends to breed more problems of its own.  Such as:
how do I check if there's a more recent release for egg XYZ

I'd send a request to AUR General, IIRC that's the appropriate mailing
list, and ask them to delete the AUR packages in question.

On 01/09/2015 03:05 PM, co...@ccil.org wrote:


IMO, system-specific package libraries should be used only for Chicken
itself, and eggs should be updated solely by chicken-install.

--
Alexej Magura




--
Alexej Magura

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


Re: [Chicken-users] Arch User Repository packages

2015-01-09 Thread Daniel Leslie
I've never liked the duplication within the system package manager.
Ensuring Eggs are available and installed could be done as part of the
tools' install script.

-Dan
On 9 Jan 2015 14:40, Alexej Magura agm2...@gmail.com wrote:

  I'd forgotten about tools written in Chicken Scheme; it's a very valid
 point.

  On 01/09/2015 03:39 PM, Aaron Paden wrote:

 I don't think that's quite right. Python also offers similar tools, but
 every Linux distro I've seen also supplies Python packages in their
 repositories. While pip is great for development, when it comes to
 distribution, end-users on Linux still expect to be able to use their
 package manager to install applications, which necessarily requires
 using the package manager to handle dependencies.

 I don't know if there are any traditional Unix-style applications or
 utilities written in Chicken Scheme being distributed to end-users
 currently, but the reason why I'm even checking it out is because it
 does seem better suited to this task than a lot of other Lisp/Scheme
 implementations.

 On Fri, 2015-01-09 at 15:12 -0700, Alexej Magura wrote:

  Yeah, offering eggs via any other method, but chicken-install, is an
 overly complicated and unnecessary solution to a non-existent problem,
 and the solution tends to breed more problems of its own.  Such as:
 how do I check if there's a more recent release for egg XYZ

 I'd send a request to AUR General, IIRC that's the appropriate mailing
 list, and ask them to delete the AUR packages in question.

 On 01/09/2015 03:05 PM, co...@ccil.org wrote:


  IMO, system-specific package libraries should be used only for Chicken
 itself, and eggs should be updated solely by chicken-install.


 --
 Alexej Magura



 --
 Alexej Magura


 ___
 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


Re: [Chicken-users] Installing hypergiant on macosx fails.

2015-01-09 Thread Gil Mizrahi
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


Re: [Chicken-users] Installing hypergiant on macosx fails.

2015-01-09 Thread Mark Buckingham
Hi Alex-

Thanks for your help.  I originally tried using macports, but it’s kind of 
touchy about things, so I went back to homebrew.

Just to get to a known state, I uninstalled and reinstalled glfw3, which gave 
me libglfw3 in /usr/local/lib.  I then reinstalled chicken, pulled down the 
glfw3 egg, and patched glfw3.setup as Gil mentions below.

Next, I got the soil egg from your github repo, and installed it.

Finally, I did a ‘chicken-install hypergiant’, and it did progress farther, but 
eventually died with:

installing opengl-glew:0.9.1 ...
changing current directory to 
/var/folders/qz/rpxwrp8x00x_kjbcq3gsm0cwgn/T/temp6b3f.70071/opengl-glew
  '/usr/local/Cellar/chicken/4.9.0.1/bin/csi' -bnq -setup-mode -e 
(require-library setup-api) -e (import setup-api) -e 
(setup-error-handling) -e (extension-name-and-version '(\opengl-glew\ 
\0.9.1\)) 'opengl-glew.setup'
Translating glcorearb.h
  '/usr/local/Cellar/chicken/4.9.0.1/bin/csc' -feature compiling-extension 
-setup-mode-s -O3 -d0 opengl-glew.scm -FOpenGL -framework OpenGL -lGLEW -J 
-emit-type-file opengl-glew.types

Warning: can not compute macro type `GL_INVALID_INDEX' (ignored)

Warning: can not compute macro type `GL_TIMEOUT_IGNORED' (ignored)
opengl-glew.c:13:10: fatal error: 'GL/glew.h' file not found
#include GL/glew.h
 ^
1 error generated.

Error: shell command terminated with non-zero exit status 256: 'clang' 
'opengl-glew.c' -o 'opengl-glew.o' -c  -fno-strict-aliasing -fwrapv -fno-common 
-DHAVE_CHICKEN_CONFIG_H -m64 -DC_ENABLE_PTABLES -Os -fomit-frame-pointer -fPIC 
-DPIC -DC_SHARED -FOpenGL -I/usr/local/Cellar/chicken/4.9.0.1/include/chicken

Error: shell command failed with nonzero exit status 256:

  '/usr/local/Cellar/chicken/4.9.0.1/bin/csc' -feature compiling-extension 
-setup-mode-s -O3 -d0 opengl-glew.scm -FOpenGL -framework OpenGL -lGLEW -J 
-emit-type-file opengl-glew.types

Anyway, I’m really excited to try hypergiant, so I’m happy to do whatever I can 
do to help work out the installation problems on OS X.

 On Jan 9, 2015, at 9:03 AM, Alex Charlton alex.n.charl...@gmail.com wrote:
 
 
 Hi Mark,
 
 If you already have GLFW (version 3+) installed,
 
 Gil Mizrahi writes:
 
 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`
 
 It’s just as Gil said. I’m trying to figure out why my GLFW on OS X seemingly 
 installed as libglfw and not libglfw3 as some have reported, so that I can 
 best adjust the setup file. If you can, let me know how you installed GLFW 
 and what name the resulting library file has.
 
 Gil’s also right about soil not working correctly. You’ll have to install the 
 version from my GitHub for now: 
 
 https://github.com/AlexCharlton/soil-egg
 
 Hyperscene also has a bug that seems to manifest itself most strongly on OS 
 X, that I’m also working on right now. You’ll be able to run most things, but 
 somewhat complex scenes will segfault XD
 
 Thanks for giving Hypergiant a try! I apologize for the inconveniences, but 
 they should be resolved soon!
 
 -- 
 Alex
 


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


Re: [Chicken-users] Installing hypergiant on macosx fails.

2015-01-09 Thread Alex Charlton

Hi Mark,

If you already have GLFW (version 3+) installed,

Gil Mizrahi writes:

 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`

It’s just as Gil said. I’m trying to figure out why my GLFW on OS X seemingly 
installed as libglfw and not libglfw3 as some have reported, so that I can best 
adjust the setup file. If you can, let me know how you installed GLFW and what 
name the resulting library file has.

Gil’s also right about soil not working correctly. You’ll have to install the 
version from my GitHub for now: 

https://github.com/AlexCharlton/soil-egg

Hyperscene also has a bug that seems to manifest itself most strongly on OS X, 
that I’m also working on right now. You’ll be able to run most things, but 
somewhat complex scenes will segfault XD

Thanks for giving Hypergiant a try! I apologize for the inconveniences, but 
they should be resolved soon!

-- 
Alex


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


Re: [Chicken-users] Installing hypergiant on macosx fails.

2015-01-09 Thread Mark Buckingham
Hi Gil,

Not a stupid question.  I was pretty sure that I had installed glew, at least 
once, but I retried it, then tried installing hypergiant again.

…and it worked!

There were a couple warnings about extensions ‘glfw3-bindings’ and 
‘glls-render’ not being installed, but trying to do ‘brew install’ on either 
one results in ‘no available formula’ errors.

Thanks to all of you for your help with all of this, I really appreciate it.  
:-)

 On Jan 9, 2015, at 9:42 AM, Gil Mizrahi gmizrah...@gmail.com wrote:
 
 Hi Mark,
 
 This might be a stupid question, but did you also install GLEW? (using `brew 
 install glew` or something like that?)
 
 if not, please do and try again :)
 
 Gil
 
 On Jan 9, 2015, at 4:39 PM, Mark Buckingham markbucking...@gmail.com wrote:
 
 Hi Alex-
 
 Thanks for your help.  I originally tried using macports, but it’s kind of 
 touchy about things, so I went back to homebrew.
 
 Just to get to a known state, I uninstalled and reinstalled glfw3, which 
 gave me libglfw3 in /usr/local/lib.  I then reinstalled chicken, pulled down 
 the glfw3 egg, and patched glfw3.setup as Gil mentions below.
 
 Next, I got the soil egg from your github repo, and installed it.
 
 Finally, I did a ‘chicken-install hypergiant’, and it did progress farther, 
 but eventually died with:
 
 installing opengl-glew:0.9.1 ...
 changing current directory to 
 /var/folders/qz/rpxwrp8x00x_kjbcq3gsm0cwgn/T/temp6b3f.70071/opengl-glew
 '/usr/local/Cellar/chicken/4.9.0.1/bin/csi' -bnq -setup-mode -e 
 (require-library setup-api) -e (import setup-api) -e 
 (setup-error-handling) -e (extension-name-and-version '(\opengl-glew\ 
 \0.9.1\)) 'opengl-glew.setup'
 Translating glcorearb.h
 '/usr/local/Cellar/chicken/4.9.0.1/bin/csc' -feature compiling-extension 
 -setup-mode-s -O3 -d0 opengl-glew.scm -FOpenGL -framework OpenGL -lGLEW 
 -J -emit-type-file opengl-glew.types
 
 Warning: can not compute macro type `GL_INVALID_INDEX' (ignored)
 
 Warning: can not compute macro type `GL_TIMEOUT_IGNORED' (ignored)
 opengl-glew.c:13:10: fatal error: 'GL/glew.h' file not found
 #include GL/glew.h
^
 1 error generated.
 
 Error: shell command terminated with non-zero exit status 256: 'clang' 
 'opengl-glew.c' -o 'opengl-glew.o' -c  -fno-strict-aliasing -fwrapv 
 -fno-common -DHAVE_CHICKEN_CONFIG_H -m64 -DC_ENABLE_PTABLES -Os 
 -fomit-frame-pointer -fPIC -DPIC -DC_SHARED -FOpenGL 
 -I/usr/local/Cellar/chicken/4.9.0.1/include/chicken
 
 Error: shell command failed with nonzero exit status 256:
 
 '/usr/local/Cellar/chicken/4.9.0.1/bin/csc' -feature compiling-extension 
 -setup-mode-s -O3 -d0 opengl-glew.scm -FOpenGL -framework OpenGL -lGLEW 
 -J -emit-type-file opengl-glew.types
 
 Anyway, I’m really excited to try hypergiant, so I’m happy to do whatever I 
 can do to help work out the installation problems on OS X.
 
 On Jan 9, 2015, at 9:03 AM, Alex Charlton alex.n.charl...@gmail.com wrote:
 
 
 Hi Mark,
 
 If you already have GLFW (version 3+) installed,
 
 Gil Mizrahi writes:
 
 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`
 
 It’s just as Gil said. I’m trying to figure out why my GLFW on OS X 
 seemingly installed as libglfw and not libglfw3 as some have reported, so 
 that I can best adjust the setup file. If you can, let me know how you 
 installed GLFW and what name the resulting library file has.
 
 Gil’s also right about soil not working correctly. You’ll have to install 
 the version from my GitHub for now: 
 
 https://github.com/AlexCharlton/soil-egg
 
 Hyperscene also has a bug that seems to manifest itself most strongly on OS 
 X, that I’m also working on right now. You’ll be able to run most things, 
 but somewhat complex scenes will segfault XD
 
 Thanks for giving Hypergiant a try! I apologize for the inconveniences, but 
 they should be resolved soon!
 
 -- 
 Alex
 
 
 
 ___
 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


Re: [Chicken-users] Installing hypergiant on macosx fails.

2015-01-09 Thread Gil Mizrahi
Hi Mark,

No problem, had the same problems myself a couple of days ago and got help from 
Alex and others at #chicken on freenode.

regarding glfw3-bindings and glls-render, I think those might be from eggs so 
you might want to try and install them using `chicken-install glls` or 
something like that, but i'm not sure. is there any problem beside the warnings?

one other thing that might tackle you in the near future, in order to compile 
code which uses OpenGL, like go.scm from the hypergiant examples, you will need 
to add the flag `-framework OpenGL` instead of `-lGL` to `csc` on OS X. 

Gil

On Jan 9, 2015, at 4:50 PM, Mark Buckingham markbucking...@gmail.com wrote:

 Hi Gil,
 
 Not a stupid question.  I was pretty sure that I had installed glew, at least 
 once, but I retried it, then tried installing hypergiant again.
 
 …and it worked!
 
 There were a couple warnings about extensions ‘glfw3-bindings’ and 
 ‘glls-render’ not being installed, but trying to do ‘brew install’ on either 
 one results in ‘no available formula’ errors.
 
 Thanks to all of you for your help with all of this, I really appreciate it.  
 :-)
 
 On Jan 9, 2015, at 9:42 AM, Gil Mizrahi gmizrah...@gmail.com wrote:
 
 Hi Mark,
 
 This might be a stupid question, but did you also install GLEW? (using `brew 
 install glew` or something like that?)
 
 if not, please do and try again :)
 
 Gil
 
 On Jan 9, 2015, at 4:39 PM, Mark Buckingham markbucking...@gmail.com wrote:
 
 Hi Alex-
 
 Thanks for your help.  I originally tried using macports, but it’s kind of 
 touchy about things, so I went back to homebrew.
 
 Just to get to a known state, I uninstalled and reinstalled glfw3, which 
 gave me libglfw3 in /usr/local/lib.  I then reinstalled chicken, pulled 
 down the glfw3 egg, and patched glfw3.setup as Gil mentions below.
 
 Next, I got the soil egg from your github repo, and installed it.
 
 Finally, I did a ‘chicken-install hypergiant’, and it did progress farther, 
 but eventually died with:
 
 installing opengl-glew:0.9.1 ...
 changing current directory to 
 /var/folders/qz/rpxwrp8x00x_kjbcq3gsm0cwgn/T/temp6b3f.70071/opengl-glew
 '/usr/local/Cellar/chicken/4.9.0.1/bin/csi' -bnq -setup-mode -e 
 (require-library setup-api) -e (import setup-api) -e 
 (setup-error-handling) -e (extension-name-and-version '(\opengl-glew\ 
 \0.9.1\)) 'opengl-glew.setup'
 Translating glcorearb.h
 '/usr/local/Cellar/chicken/4.9.0.1/bin/csc' -feature compiling-extension 
 -setup-mode-s -O3 -d0 opengl-glew.scm -FOpenGL -framework OpenGL -lGLEW 
 -J -emit-type-file opengl-glew.types
 
 Warning: can not compute macro type `GL_INVALID_INDEX' (ignored)
 
 Warning: can not compute macro type `GL_TIMEOUT_IGNORED' (ignored)
 opengl-glew.c:13:10: fatal error: 'GL/glew.h' file not found
 #include GL/glew.h
   ^
 1 error generated.
 
 Error: shell command terminated with non-zero exit status 256: 'clang' 
 'opengl-glew.c' -o 'opengl-glew.o' -c  -fno-strict-aliasing -fwrapv 
 -fno-common -DHAVE_CHICKEN_CONFIG_H -m64 -DC_ENABLE_PTABLES -Os 
 -fomit-frame-pointer -fPIC -DPIC -DC_SHARED -FOpenGL 
 -I/usr/local/Cellar/chicken/4.9.0.1/include/chicken
 
 Error: shell command failed with nonzero exit status 256:
 
 '/usr/local/Cellar/chicken/4.9.0.1/bin/csc' -feature compiling-extension 
 -setup-mode-s -O3 -d0 opengl-glew.scm -FOpenGL -framework OpenGL -lGLEW 
 -J -emit-type-file opengl-glew.types
 
 Anyway, I’m really excited to try hypergiant, so I’m happy to do whatever I 
 can do to help work out the installation problems on OS X.
 
 On Jan 9, 2015, at 9:03 AM, Alex Charlton alex.n.charl...@gmail.com 
 wrote:
 
 
 Hi Mark,
 
 If you already have GLFW (version 3+) installed,
 
 Gil Mizrahi writes:
 
 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`
 
 It’s just as Gil said. I’m trying to figure out why my GLFW on OS X 
 seemingly installed as libglfw and not libglfw3 as some have reported, so 
 that I can best adjust the setup file. If you can, let me know how you 
 installed GLFW and what name the resulting library file has.
 
 Gil’s also right about soil not working correctly. You’ll have to install 
 the version from my GitHub for now: 
 
 https://github.com/AlexCharlton/soil-egg
 
 Hyperscene also has a bug that seems to manifest itself most strongly on 
 OS X, that I’m also working on right now. You’ll be able to run most 
 things, but somewhat complex scenes will segfault XD
 
 Thanks for giving Hypergiant a try! I apologize for the inconveniences, 
 but they should be resolved soon!
 
 -- 
 Alex
 
 
 
 ___
 Chicken-users mailing list
 Chicken-users@nongnu.org
 https://lists.nongnu.org/mailman/listinfo/chicken-users
 
 


___
Chicken-users mailing list
Chicken-users@nongnu.org

Re: [Chicken-users] Installing hypergiant on macosx fails.

2015-01-09 Thread Mark Buckingham
Gil-

I went ahead and did a chicken-install glls, and that worked, but with warnings 
about gl-utils-core, and gl-utils-mesh, so I installed gl-utils.

Strangely enough, the install for gl-utils complains about gl-utils-core, but 
if I try to install gl-utils-core, then I get a ‘no such extension’ error.

I’m going to go ahead and try to work through some of the example code, and see 
how that goes.  It’s possible that the warnings I’m getting now aren’t 
important.

Thanks for the tip about the -framework OpenGL flag.  I’ll remember that when 
things break.  :-)

 On Jan 9, 2015, at 10:01 AM, Gil Mizrahi gmizrah...@gmail.com wrote:
 
 Hi Mark,
 
 No problem, had the same problems myself a couple of days ago and got help 
 from Alex and others at #chicken on freenode.
 
 regarding glfw3-bindings and glls-render, I think those might be from eggs so 
 you might want to try and install them using `chicken-install glls` or 
 something like that, but i'm not sure. is there any problem beside the 
 warnings?
 
 one other thing that might tackle you in the near future, in order to compile 
 code which uses OpenGL, like go.scm from the hypergiant examples, you will 
 need to add the flag `-framework OpenGL` instead of `-lGL` to `csc` on OS X. 
 
 Gil
 
 On Jan 9, 2015, at 4:50 PM, Mark Buckingham markbucking...@gmail.com wrote:
 
 Hi Gil,
 
 Not a stupid question.  I was pretty sure that I had installed glew, at 
 least once, but I retried it, then tried installing hypergiant again.
 
 …and it worked!
 
 There were a couple warnings about extensions ‘glfw3-bindings’ and 
 ‘glls-render’ not being installed, but trying to do ‘brew install’ on either 
 one results in ‘no available formula’ errors.
 
 Thanks to all of you for your help with all of this, I really appreciate it. 
  :-)
 
 On Jan 9, 2015, at 9:42 AM, Gil Mizrahi gmizrah...@gmail.com wrote:
 
 Hi Mark,
 
 This might be a stupid question, but did you also install GLEW? (using 
 `brew install glew` or something like that?)
 
 if not, please do and try again :)
 
 Gil
 
 On Jan 9, 2015, at 4:39 PM, Mark Buckingham markbucking...@gmail.com 
 wrote:
 
 Hi Alex-
 
 Thanks for your help.  I originally tried using macports, but it’s kind of 
 touchy about things, so I went back to homebrew.
 
 Just to get to a known state, I uninstalled and reinstalled glfw3, which 
 gave me libglfw3 in /usr/local/lib.  I then reinstalled chicken, pulled 
 down the glfw3 egg, and patched glfw3.setup as Gil mentions below.
 
 Next, I got the soil egg from your github repo, and installed it.
 
 Finally, I did a ‘chicken-install hypergiant’, and it did progress 
 farther, but eventually died with:
 
 installing opengl-glew:0.9.1 ...
 changing current directory to 
 /var/folders/qz/rpxwrp8x00x_kjbcq3gsm0cwgn/T/temp6b3f.70071/opengl-glew
 '/usr/local/Cellar/chicken/4.9.0.1/bin/csi' -bnq -setup-mode -e 
 (require-library setup-api) -e (import setup-api) -e 
 (setup-error-handling) -e (extension-name-and-version '(\opengl-glew\ 
 \0.9.1\)) 'opengl-glew.setup'
 Translating glcorearb.h
 '/usr/local/Cellar/chicken/4.9.0.1/bin/csc' -feature compiling-extension 
 -setup-mode-s -O3 -d0 opengl-glew.scm -FOpenGL -framework OpenGL 
 -lGLEW -J -emit-type-file opengl-glew.types
 
 Warning: can not compute macro type `GL_INVALID_INDEX' (ignored)
 
 Warning: can not compute macro type `GL_TIMEOUT_IGNORED' (ignored)
 opengl-glew.c:13:10: fatal error: 'GL/glew.h' file not found
 #include GL/glew.h
  ^
 1 error generated.
 
 Error: shell command terminated with non-zero exit status 256: 'clang' 
 'opengl-glew.c' -o 'opengl-glew.o' -c  -fno-strict-aliasing -fwrapv 
 -fno-common -DHAVE_CHICKEN_CONFIG_H -m64 -DC_ENABLE_PTABLES -Os 
 -fomit-frame-pointer -fPIC -DPIC -DC_SHARED -FOpenGL 
 -I/usr/local/Cellar/chicken/4.9.0.1/include/chicken
 
 Error: shell command failed with nonzero exit status 256:
 
 '/usr/local/Cellar/chicken/4.9.0.1/bin/csc' -feature compiling-extension 
 -setup-mode-s -O3 -d0 opengl-glew.scm -FOpenGL -framework OpenGL 
 -lGLEW -J -emit-type-file opengl-glew.types
 
 Anyway, I’m really excited to try hypergiant, so I’m happy to do whatever 
 I can do to help work out the installation problems on OS X.
 
 On Jan 9, 2015, at 9:03 AM, Alex Charlton alex.n.charl...@gmail.com 
 wrote:
 
 
 Hi Mark,
 
 If you already have GLFW (version 3+) installed,
 
 Gil Mizrahi writes:
 
 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`
 
 It’s just as Gil said. I’m trying to figure out why my GLFW on OS X 
 seemingly installed as libglfw and not libglfw3 as some have reported, so 
 that I can best adjust the setup file. If you can, let me know how you 
 installed GLFW and what name the resulting library file has.
 
 Gil’s also right about soil not working correctly. You’ll have to install 
 the version from my GitHub for now: