You are not logged in.
Pages: 1
This change in clamtk receipt
http://hg.slitaz.org/wok/rev/6fe86b6fecff
introduced an error in clamtk execution
root@slitaz:/home/tux55 clamtk
Can't locate ClamTk/App.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.12.3/i686-linux /usr/lib/perl5/site_perl/5.12.3 /usr/lib/perl5/5.12.3/i686-linux /usr/lib/perl5/5.12.3 .) at /usr/bin/clamtk line 20.
BEGIN failed--compilation aborted at /usr/bin/clamtk line 20.
the libs install command should point to $fs/usr/lib and not %fs/usr/share
@INC does not contain /usr/share/perl5/site_perl so maybe the PERL_VER in the old receipt should be preserved and used in the path, which should be
$fs/usr/lib/perl5/site_perl/$PERL_VER/ClamTk/[c]basename $n[/c]
Offline
the %fs was a typo :-)
Offline
and forum does not preserve backtick, i did not know it, sorry
Offline
Hi ernia,
In this forum backticks used for code format. Like this:
[c]text backtick inline_code backtick text[/c]
and
[c]backtick
code
listing
backtick[/c]
Sometime, when you write your own code, you can use shell equivalent for inline code:
[c]$(inline_code)[/c]
It is good both for shell scripts and forum.
(you can even put code into code: $(ls /home/tux/$(date '+%x')) using this technique, and I use it).
Offline
Pushed & sync'd http://hg.slitaz.org/wok-stable/rev/1da21b594b35
Thanks
Offline
thanks to you :-)
Offline
it think that in rolling the PERL_VER variable got an empty value, probably for the lack of the Wok variable:
receipt
[c]PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g')[/c]
rolling
[c]tux@slitaz:~ $ env
TERM=xterm
XDG_MENU_PREFIX=lxde-
SHELL=/bin/bash
LC_ALL=it_IT
USER=tux
OOO_FORCE_DESKTOP=gnome
PAGER=less -EM
PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/sbin:/usr/local/bin
DESKTOP_SESSION=LXDE
MAIL=/var/mail/tux
PWD=/home/tux
EDITOR=leafpad
LANG=it_IT
TZ=UTC
PS1=\[\e[34;1m\]\u@\[\e[32;1m\]\h:\w\[\e[0m\] $
_LXSESSION_PID=1368
SHLVL=1
HOME=/home/tux
XDG_CONFIG_HOME=/home/tux/.config
LOGNAME=tux
G_FILENAME_ENCODING=UTF-8
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-OjJcUOgMlM,guid=bd8a744936887e39784244cf50e5ccff
DISPLAY=:0.0
XDG_CURRENT_DESKTOP=LXDE
XAUTHORITY=/home/tux/.Xauthority
_=/usr/bin/env
tux@slitaz:~ $ echo $WOK
tux@slitaz:~ $[/c]
[c]root@slitaz:/home/tux9 find / -name App.pm
/usr/lib/perl5/site_perl/5.12.3/i686-linux/SDL/App.pm
/usr/share/perl5/site_perl/ClamTk/App.pm[/c]
4.0 clamtk package get correctly installed in /usr/lib/perl5/5.12.3/ClamTk/App.pm and works well in rolling too.
Offline
if the cook server runs rolling maybe this could do the job
[c]PERL_VER=$(perl -v | grep version | sed 's/^.*(v//' | sed 's/).*$//')[/c]
Offline
Was is wrong with
http://cook.slitaz.org/cooker.cgi?files=clamtk
http://cook.slitaz.org/stable/cooker.cgi?files=clamtk ?
Offline
sorry, it probably was my fault.
i think that i had the non-working clamtk in /var/cache/tazpkg/cooking so tazpkg did not install the new one but did reinstall the non working one and i did not note that.
[c]root@slitaz:/home/tux2 tazpkg get-install clamtk --forced
clamtk-4.36 already in the cache: /var/cache/tazpkg/cooking/packages
Installation of: clamtk
=====================================================================================================================================================================================================================
Copying clamtk... [ Done ]
Extracting clamtk... [ Done ]
Extracting the pseudo fs... [ Done ]
Installing clamtk... [ Done ]
Removing all tmp files... [ Done ]
=====================================================================================================================================================================================================================
clamtk (4.36) is installed.[/c]
again, sorry
Offline
Pages: 1
[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]