Se encuentra usted aquí
ayuda para instalar un programa fuente (sources)
Hola gente, soy relativamente nuevo en Linux y todavía no la tengo tan clara, necesito instalar el SWI Prolog, en la pagina encontré el fuente(sources) para Fedora (en mi caso tengo instalado Fedora 16) y en la documentación me dice como instalarlo:
First time installation
=======================
1 - Get the dependencies
See http://www.swi-prolog.org/build/LinuxDistro.txt for your distro.
2 - Get the source
3 - Go into the toplevel dir
4 - do
% cp build.templ build
5 - edit build. The defaults build the same as the binary distributions,
installing the system in $HOME/bin/swipl.
6 - do
% ./build
Updating an installtion
los problemas que me surgieron son 2:
Primero: cuando quiero descargar las dependencias me dice error:
yum install \
> 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
Complementos cargados:fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://rpm.livna.org/mirrorlist error was
14: HTTP Error 403 - Forbidden : http://rpm.livna.org/mirrorlist
Error: Cannot find a valid baseurl for repo: livna
Segundo: no me queda completamente claro el paso 5, " - edit build. The defaults build the same as the binary distributions, installing the system in $HOME/bin/swipl." ¿que debo hacer en este paso?¿mover la carpeta que descargue al directorio /bin/swipl ?
espero alguien pueda darme una mano ya que lo necesito para la facultad al programa este. Muchas gracias.
- Inicie sesión o regístrese para comentar


ya lo vi hace unos dias
livna esta caido desde las semana pasada no se cuando lleva asi, desactivalo y vuelve a intentar
SWI-Prolog se encuentra en los repositorios
Saludos!
Para instalarlo solo corre:
su -c 'yum install pl pl-devel pl-doc'
Te dejo el resumen de los paquetes relacionados:
pl.i686 : SWI-Prolog - Edinburgh compatible Prolog compiler
pl-devel.i686 : Development files for SWI Prolog
pl-doc.i686 : Documentation for SWI Prolog
pl-jpl.i686 : A bidirectional Prolog/Java interface for SWI Prolog
pl-odbc.i686 : SWI-Prolog ODBC interface
pl-static.i686 : Static library for SWI Prolog
perl-Language-Prolog-Yaswi.i686 : Yet another interface to SWI-Prolog
ppl-swiprolog.i686 : The SWI-Prolog interface of the Parma Polyhedra Library
ppl-swiprolog-static.i686 : The static archive for the SWI-Prolog interface of the Parma Polyhedra Library