AWS has a discussion forum, currently with no questions about
installing the AWS GLPK package. That may be a better place to ask. I
notice the available packages include gcc4.7, there are many questions
and answers about installing that, see
[1]https://forums.aws.amazon.com/search.jspa?objID=f30&q=gcc&x=14&y=14.
Given that the AWS package is GLPK4.40, you may be better installing
gcc with help from the above forum if needed, then obtaining the latest
glpk (4.48) and compiling it, with help from this group and the wiki as
needed.



A final option is that rpm packages can be installed on AWS. You could
obtain any rpm for 4.48 and install that.



--
Nigel Galloway
[email protected]





On Thu, Apr 11, 2013, at 08:06 AM, David Curran wrote:

Hi
Has anyone used glpk on an Amazon ec2 micro instance? I am having
trouble getting it working

sudo yum install glpk
  works fine

sudo yum list installed
  includes "glpk.x86_64                     4.40-1.1.4.amzn1
          @amzn-main"

and
 yum search glpk
gives

============================== N/S Matched: glpk
===============================
glpk-devel.x86_64 : Development headers and files for GLPK
glpk-doc.x86_64 : Documentation for glpk
glpk-static.x86_64 : Static version of GLPK libraries
glpk-utils.x86_64 : GLPK-related utilities and examples
glpk.i686 : GNU Linear Programming Kit
glpk.x86_64 : GNU Linear Programming Kit

But from here how do you actually run glpsol or even call glpk.h as a
library?

<glpk.h> is not found if I include it in a c file or if I try gem
install of rglpk

[ec2-user rubygems-1.8.11]$ sudo gem install rglpk
I get
checking for main() in -lglpk... no
ERROR: Cannot find the GLPK library, aborting.

a 'find / -name glpk*' does not find glpk files either.

   I could be doing something stupid with linux rather than linux on
ec2. But any help you can provide me on how to get a "hello world" glpk
example running on amazon ec2 linux would be great.
    David


_______________________________________________

Help-glpk mailing list

[2][email protected]

[3]https://lists.gnu.org/mailman/listinfo/help-glpk

References

1. https://forums.aws.amazon.com/search.jspa?objID=f30&q=gcc&x=14&y=14
2. mailto:[email protected]
3. https://lists.gnu.org/mailman/listinfo/help-glpk

-- 
http://www.fastmail.fm - The professional email service

_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to