Re: Production Web Applications in Prolog

Paul Singleton <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Organization Jambusters Ltd
Message-ID <[email protected]>
On 03/09/2013 21:56, Carlo Capelli wrote:

> Also, I wonder if you could share some hint about running SWI-Prolog on EC2.
> This seems really interesting to me, but I'm a total newbie...
>...
> Did you bought apart the top level domain, or that's included ?
> And are you allowed to rebuild SWI-Prolog from sources ? or you're bound to
> a distro pkg ?

It's a server, you get root access and an IP address.  Buying or 
reusing a domain name and mapping it in DNS is up to you, it's not 
part of the deal.

We last built SWI-Prolog on one one of these thus:

as root:

yum install \
   gcc \
   make \
   autoconf \
   chrpath \
   libunwind \
   freetype-devel \
   gmp-devel \
   java-1.6.0-openjdk-devel \
   jpackage-utils \
   libICE-devel \
   libjpeg-devel \
   libSM-devel \
   libX11-devel \
   libXaw-devel \
   libXext-devel \
   libXft-devel \
   libXinerama-devel \
   libXmu-devel \
   libXpm-devel \
   libXrender-devel \
   libXt-devel \
   ncurses-devel \
   openssl-devel \
   pkgconfig \
   readline-devel \
   unixODBC-devel \
   zlib-devel

then as an unprivileged user:

   wget http://www.swi-prolog.org/download/stable/src/pl-6.2.3.tar.gz

   tar zxf pl-6.2.3.tar.gz

   cd pl-6.2.3

   ./build.templ

but you could also do e.g.

   yum install git
   git clone git://www.swi-prolog.org/home/pl/git/pl-devel.git
   cd pl-devel
   ./prepare
   ./build.templ

Paul Singleton
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.