Pagina 1 di 1

slim errore nel pacchetto

Inviato: sab 28 nov 2009, 11:46
da Cenni
volevo solo segnalre che
slim-1.3.1-i486-2dx.txz mi da questo errore di installazione:

Codice: Seleziona tutto

installing package slim-1.3.1-i486-2dx.txz:
PACKAGE DESCRIPTION:
# SLiM (Simple Login Manager)
#
# It aims to be light and simple, although completely configurable 
# through themes and an option file;
# is suitable for machines on which remote login functionalities 
# are not needed.
#
Executing install script for slim-1.3.1-i486-2dx.txz.
: command not foundline 1: 
'nstall/doinst.sh: line 2: syntax error near unexpected token `
'nstall/doinst.sh: line 2: `( cat /etc/rc.d/rc.4 > /etc/rc.d/rc.4.before_slim )
Package slim-1.3.1-i486-2dx.txz installed.
dal repository della 13.0,

ciao Cenni

Re: slim errore nel pacchetto

Inviato: sab 28 nov 2009, 12:30
da ulisse89
C'è un errore nel doinst.sh. Dovrebbe essere così (corretto):

Codice: Seleziona tutto

#!/bin/sh
cat /etc/rc.d/rc.4 > /etc/rc.d/rc.4.before_slim
cat << EOF > /etc/rc.d/rc.4
#!/bin/sh
# rc.4		This file is executed by init(8) when the system is being
#		initialized for run level 4 (XDM)
#
# Version:	@(#)/etc/rc.d/rc.4	2.01	07/01/06
#
# Author:	Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
# At least 47% rewritten by:  Patrick J. Volkerding <volkerdi@slackware.com>
# Modified (0.1%) by: Sergio Perticone <gallows@tiscali.it>
#

# Tell the viewers what's going to happen...
echo "Starting up X11 session manager..."

# Ok, slim should starts now:
if [ -x /usr/bin/slim ]; then
  exec /usr/bin/slim
fi

# Try to use GNOME's gdm session manager:
if [ -x /usr/bin/gdm ]; then
  exec /usr/bin/gdm -nodaemon
fi

# Not there?  OK, try to use KDE's kdm session manager:
if [ -x /opt/kde/bin/kdm ]; then
  exec /opt/kde/bin/kdm -nodaemon
fi

# If all you have is XDM, I guess it will have to do:
if [ -x /usr/X11R6/bin/xdm ]; then
  exec /usr/X11R6/bin/xdm -nodaemon
fi

# error
echo
echo "Hey, you don't have KDM, GDM, or XDM.  Can't use runlevel 4 without"
echo "one of those installed."
sleep 30

# All done.

EOF 
Se sei capace provvisoriamente puoi modificarlo e ridare il makepkg. Altrimenti aspetti che lo ricompilo e Loris lo carichi sul server di slacky.
Ciao :thumbright:

Re: slim errore nel pacchetto

Inviato: sab 28 nov 2009, 15:15
da Cenni
grazie avevo già risolto, era solo per sistemare il pacchetto.
ciao

Re: slim errore nel pacchetto

Inviato: sab 28 nov 2009, 15:41
da ulisse89
Cenni ha scritto:grazie avevo già risolto, era solo per sistemare il pacchetto.
ciao
Ah allora grazie a te. Della segnalazione.