Olha
gostaria de fazer algumas perguntas
1 - Se o xharbour pode ser instalado no slackware ?
2 - Quais são os pacotes a serem baixados ?
3 - Como configurar ?
Atenciosamente
André Lucas
xharbour no slackware ?
Moderador: Moderadores
-
andrelucass
- Usuário Nível 3

- Mensagens: 145
- Registrado em: 25 Fev 2005 10:40
- sygecom
- Administrador

- Mensagens: 7131
- Registrado em: 21 Jul 2006 10:12
- Localização: Alvorada-RS
- Contato:
Acho que pode ser usado em qualquer distro, porem para usar os binarios ai teria que ver os que tem disponivel no site do xharbour.org ou usar algum programinha tipo o alien para transformar os pacotes.
De uma olhada no link abaixa que talvez ajude vc como instalar o xharbour e os pacotes dependentes.
http://xhgtk.sourceforge.net/config12.html
E antes que eu me esqueça, de uma procurada aqui no forum , pq já vi um .SH que tem junto com os CVS do xharbour que baixa todas as dependencias e compila o xharbour.
De uma olhada no link abaixa que talvez ajude vc como instalar o xharbour e os pacotes dependentes.
http://xhgtk.sourceforge.net/config12.html
E antes que eu me esqueça, de uma procurada aqui no forum , pq já vi um .SH que tem junto com os CVS do xharbour que baixa todas as dependencias e compila o xharbour.
Leonardo Machado
xHarbour.org + Hwgui + PostgreSql
xHarbour.org + Hwgui + PostgreSql
-
Irineu
- Usuário Nível 2

- Mensagens: 61
- Registrado em: 13 Ago 2003 22:01
- Localização: Curitia-PR
- Contato:
Re: xharbour no slackware ?
Não sei se funciona no slackware, mas o script é esse:
#-----------------------------------------------------------------------------------------------------------------
#!/bin/sh
#
# $Id: xhbgtmk.sh,v 1.10 2005/01/10 18:45:11 druzus Exp $
#
# ---------------------------------------------------------------
# Copyright 2003 Przemyslaw Czerpak <druzus@polbox.com>
# This script checks you have all tools to build xHarbour binaries
# installed then takes current xHarbour sources from SourceForge CVS
# and build binary RPMs at your local host
#
# See doc/license.txt for licensing terms.
# ---------------------------------------------------------------
# ssh is not necessary for anonymous access on SourceForge
#export CVS_RSH=ssh
export CVSROOT=":pserver:anonymous@xharbour.cvs.sourceforge.net:/cvsroot/xharbour"
export PROJECT=xharbour
test_reqrpm()
{
rpm -q --whatprovides "$1" &> /dev/null
}
TOINST_LST=""
for i in cvs make gcc binutils bison bash ncurses ncurses-devel
do
test_reqrpm "$i" || TOINST_LST="${TOINST_LST} $i"
done
_cvs_RSH="${CVS_RSH}"
[ -n "${_cvs_RSH}" ] || _cvs_RSH="rsh"
if ! which ${_cvs_RSH} &>/dev/null
then
if [ "${_cvs_RSH}" = "ssh" ]
then
TOINST_LST="${TOINST_LST} [open]ssh-clients"
else
TOINST_LST="${TOINST_LST} ${_cvs_RSH}"
fi
fi
if [ -z "${TOINST_LST}" ] || [ "$1" = "--force" ]
then
cd
mkdir -p CVS
cd CVS
if cvs -z3 co "${PROJECT}"; then
cd "${PROJECT}"
./make_rpm.sh "$*"
fi
else
echo "If you want to build xHarbour compilers"
echo "you have to install the folowing RPM files:"
echo "${TOINST_LST}"
echo ""
echo "If you want to force installation run this script with --force paramter:"
echo "$0 --force"
fi
#---------------------------------------------------------------------------------------------------------------------------------------
#-----------------------------------------------------------------------------------------------------------------
#!/bin/sh
#
# $Id: xhbgtmk.sh,v 1.10 2005/01/10 18:45:11 druzus Exp $
#
# ---------------------------------------------------------------
# Copyright 2003 Przemyslaw Czerpak <druzus@polbox.com>
# This script checks you have all tools to build xHarbour binaries
# installed then takes current xHarbour sources from SourceForge CVS
# and build binary RPMs at your local host
#
# See doc/license.txt for licensing terms.
# ---------------------------------------------------------------
# ssh is not necessary for anonymous access on SourceForge
#export CVS_RSH=ssh
export CVSROOT=":pserver:anonymous@xharbour.cvs.sourceforge.net:/cvsroot/xharbour"
export PROJECT=xharbour
test_reqrpm()
{
rpm -q --whatprovides "$1" &> /dev/null
}
TOINST_LST=""
for i in cvs make gcc binutils bison bash ncurses ncurses-devel
do
test_reqrpm "$i" || TOINST_LST="${TOINST_LST} $i"
done
_cvs_RSH="${CVS_RSH}"
[ -n "${_cvs_RSH}" ] || _cvs_RSH="rsh"
if ! which ${_cvs_RSH} &>/dev/null
then
if [ "${_cvs_RSH}" = "ssh" ]
then
TOINST_LST="${TOINST_LST} [open]ssh-clients"
else
TOINST_LST="${TOINST_LST} ${_cvs_RSH}"
fi
fi
if [ -z "${TOINST_LST}" ] || [ "$1" = "--force" ]
then
cd
mkdir -p CVS
cd CVS
if cvs -z3 co "${PROJECT}"; then
cd "${PROJECT}"
./make_rpm.sh "$*"
fi
else
echo "If you want to build xHarbour compilers"
echo "you have to install the folowing RPM files:"
echo "${TOINST_LST}"
echo ""
echo "If you want to force installation run this script with --force paramter:"
echo "$0 --force"
fi
#---------------------------------------------------------------------------------------------------------------------------------------
Irineu - < http://irineufotos.servehttp.com >