From vext01 at gmail.com Thu Jul 29 04:45:10 2010 From: vext01 at gmail.com (Edd Barrett) Date: Thu, 29 Jul 2010 09:45:10 +0100 Subject: [gecoder-users] Porting questions - builds failing Message-ID: Hi there, I am in the process of porting gecode and gecode/R to OpenBSD. Thus far, gecode itself is pretty much sorted, but I am having difficulty with the ruby bindings. I went rooting in gem/rake docs for a couple of hours yesterday and found no answers to the following questions: a) What is the correct way to add include and lib paths to the native build? The ruby equivalents of CPPFLAGS and LDFLAGS? b) How do you get a gem build to use gmake instead of make. Sure, on a Linux system they are the same, but not in the rest of the unix world. Any ideas? Thanks -- Best Regards Edd Barrett http://www.theunixzoo.co.uk From vext01 at gmail.com Thu Jul 29 05:35:25 2010 From: vext01 at gmail.com (Edd Barrett) Date: Thu, 29 Jul 2010 10:35:25 +0100 Subject: [gecoder-users] Porting questions - builds failing In-Reply-To: References: Message-ID: On Thu, Jul 29, 2010 at 9:45 AM, Edd Barrett wrote: > Hi there, > > I am in the process of porting gecode and gecode/R to OpenBSD. Thus > far, gecode itself is pretty much sorted, but I am having difficulty > with the ruby bindings. I went rooting in gem/rake docs for a couple > of hours yesterday and found no answers to the following questions: > > a) What is the correct way to add include and lib paths to the native > build? The ruby equivalents of CPPFLAGS and LDFLAGS? > > b) How do you get a gem build to use gmake instead of make. Sure, on a > Linux system they are the same, but not in the rest of the unix world. You use the make env variable. OK that atleast is sorted. However, I just noticed you need gecode 2.2.0 and I have >3, so this isnt going to work. Never mind. -- Best Regards Edd Barrett http://www.theunixzoo.co.uk