TazPuppy 5.0 rc2

Under development: PCMCIA, wireless, etc.
Message
Author
wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#261 Post by wiak »

mistfire wrote:Thanks @fred for your suggestion I made a symlink of sh to busybox-pup and the slitaz installer page in tazpanel works. Also puppy core apps still working.
Which is good and best. But you will now find that other common puppy utils written in bash/gtkdialog will not work correctly even if bash is on your system because gtkdialog uses system call in C which uses /bin/sh -c "command_string" which will not see functions exported by bash using export -f. Note that that problem will remain despite the script being written to itself use #!/bin/bash. Nevertheless I still think that /bin/sh should not be a link to /bin/bash other than as an ugly fudge to the gtkdialog issue - i.e. your link to busybox sh is correct IMO. The Puppy bash/gtkdialog programs need to be modified (partially re-written) to work correctly when /bin/sh does not point to /bin/bash is 'correct' (non-ugly-fudge) solution to that.

Either that, and perhaps better, gtkdialog program itself could do with being modified to not use C system call (which always uses /bin/sh -c "command_string") but instead to use bash if required (maybe via fork/exec calls). Then it would be easy to modify existing apps to work (maybe a one line fix). But these matters are not specifically tazpup problems - they are problems for the bash/gtkdialog program authors.

wiak

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#262 Post by s243a »

I made a script to build a devX from packages installed on ones system:

https://pastebin.com/Zn5dvt7t

Trimmed Version:

Code: Select all

    #!/bin/bash
    ROOT='/mnt/home/devX_TazPup_s243a_1.0'
    PACKAGES=(
'/var/lib/tazpkg/installed/alsa-lib'
'/var/lib/tazpkg/installed/atk'
'/var/lib/tazpkg/installed/atk-dev'
'/var/lib/tazpkg/installed/atkmm'
'/var/lib/tazpkg/installed/atkmm-dev'
'/var/lib/tazpkg/installed/attr'
'/var/lib/tazpkg/installed/audacious-dev'
'/var/lib/tazpkg/installed/automoc4'
'/var/lib/tazpkg/installed/binutils'
'/var/lib/tazpkg/installed/busybox-httpd-ctrl'
'/var/lib/tazpkg/installed/cairomm'
'/var/lib/tazpkg/installed/cmake'
'/var/lib/tazpkg/installed/cookutils'
'/var/lib/tazpkg/installed/cyrus-sasl-dev'
'/var/lib/tazpkg/installed/dbus-glib-dev'
'/var/lib/tazpkg/installed/elfkickers'
'/var/lib/tazpkg/installed/elfutils'
'/var/lib/tazpkg/installed/enchant'
'/var/lib/tazpkg/installed/gcc'
'/var/lib/tazpkg/installed/gcc-lib-base'
'/var/lib/tazpkg/installed/gcc-lib-math'
'/var/lib/tazpkg/installed/gdbm-dev'
'/var/lib/tazpkg/installed/gdk-pixbuf-dev'
'/var/lib/tazpkg/installed/geany-dev'
'/var/lib/tazpkg/installed/gettext'
'/var/lib/tazpkg/installed/gettext-base'
'/var/lib/tazpkg/installed/gettext-tools'
'/var/lib/tazpkg/installed/glade3'
'/var/lib/tazpkg/installed/glade-perl'
'/var/lib/tazpkg/installed/glib-dev'
'/var/lib/tazpkg/installed/glib-networking-dev'
'/var/lib/tazpkg/installed/glibc-dev'
'/var/lib/tazpkg/installed/glibmm-dev'
'/var/lib/tazpkg/installed/gmp'
'/var/lib/tazpkg/installed/gobject-introspection-dev'
'/var/lib/tazpkg/installed/groff'
'/var/lib/tazpkg/installed/gtk+3-dev'
'/var/lib/tazpkg/installed/gtk+-dev'
'/var/lib/tazpkg/installed/gtk-girepository'
'/var/lib/tazpkg/installed/gtkmm-dev'
'/var/lib/tazpkg/installed/guile'
'/var/lib/tazpkg/installed/guile-dev'
'/var/lib/tazpkg/installed/gutenprint-dev'
'/var/lib/tazpkg/installed/icu-dev'
'/var/lib/tazpkg/installed/libcrypto-dev'
'/var/lib/tazpkg/installed/libcurl'
'/var/lib/tazpkg/installed/libffi'
'/var/lib/tazpkg/installed/libgee-dev'
'/var/lib/tazpkg/installed/libgio-dev'
'/var/lib/tazpkg/installed/libgiomm-dev'
'/var/lib/tazpkg/installed/libglade-dev'
'/var/lib/tazpkg/installed/libglademm-dev'
'/var/lib/tazpkg/installed/libgnomeprint-dev'
'/var/lib/tazpkg/installed/libgnomeprintui-dev'
'/var/lib/tazpkg/installed/libgphoto2-dev'
'/var/lib/tazpkg/installed/libgtkimageview-dev'
'/var/lib/tazpkg/installed/libgudev'
'/var/lib/tazpkg/installed/libgudev-dev'
'/var/lib/tazpkg/installed/liblxqt-dev'
'/var/lib/tazpkg/installed/libmagic-dev'
'/var/lib/tazpkg/installed/libmicrohttpd-dev'
'/var/lib/tazpkg/installed/libnl'
'/var/lib/tazpkg/installed/libqwt5-qt4-dev'
'/var/lib/tazpkg/installed/libqwt6-qt4-dev'
'/var/lib/tazpkg/installed/libsasl'
'/var/lib/tazpkg/installed/libsasl-modules'
'/var/lib/tazpkg/installed/libsigc++'
'/var/lib/tazpkg/installed/lz4-dev'
'/var/lib/tazpkg/installed/lz5-dev'
'/var/lib/tazpkg/installed/lzo-dev'
'/var/lib/tazpkg/installed/nettle-dev'
'/var/lib/tazpkg/installed/pango'
'/var/lib/tazpkg/installed/pangomm'
'/var/lib/tazpkg/installed/patchelf'
'/var/lib/tazpkg/installed/perl'
'/var/lib/tazpkg/installed/perl-extutils-pkgconfig'
'/var/lib/tazpkg/installed/perl-gtk2'
'/var/lib/tazpkg/installed/perl-gtk2-trayicon'
'/var/lib/tazpkg/installed/perl-libjson'
'/var/lib/tazpkg/installed/perl-locale-gettext'
'/var/lib/tazpkg/installed/perl-maketext-gettext'
'/var/lib/tazpkg/installed/pkg-config'
'/var/lib/tazpkg/installed/pycrypto'
'/var/lib/tazpkg/installed/pycurl'
'/var/lib/tazpkg/installed/pygobject'
'/var/lib/tazpkg/installed/pygobject3'
'/var/lib/tazpkg/installed/pygobject-dev'
'/var/lib/tazpkg/installed/pygtk'
'/var/lib/tazpkg/installed/pygtk-dev'
'/var/lib/tazpkg/installed/PyQt-x11-gpl'
'/var/lib/tazpkg/installed/python'
'/var/lib/tazpkg/installed/python-docutils'
'/var/lib/tazpkg/installed/python-idle'
'/var/lib/tazpkg/installed/python-magic'
'/var/lib/tazpkg/installed/python-pyxml'
'/var/lib/tazpkg/installed/python-simplejson'
'/var/lib/tazpkg/installed/python-xmlutils'
'/var/lib/tazpkg/installed/qmake'
'/var/lib/tazpkg/installed/Qt4-dev'
'/var/lib/tazpkg/installed/xorg-dev'
)

copyPackage(){
    PACKAGE=$1
    if [ -n "$2" ]; then
      aRoot="$2"
    else
      aROOT="$ROOT"
    fi
    while read line; do
      DIR=$(dirname "$line")
      mkdir -p "$aROOT$DIR"
      cp -a -u "$line" "$aROOT$line"
    done <$PACKAGE/files.list
}
for PACKAGE in "${PACKAGES[@]}"; do
  copyPackage "$PACKAGE"
done
mksquashfs "$ROOT" devX_TazPup_s243a_1.0.sfs -comp xz -Xbcj arm -noappend
When I ran the script there were a number of missing files (see fake .gz attachment). I think this is due to TazPup deleting files when it updates libs. I had 1673 duplicate files, so I can shrink the size by adding symbolic links.

The script could be modified to download the package via the package manager if it is not installed.

My devX build can be downloaded at:
https://www.dropbox.com/s/sov681cm66456 ... 0.sfs?dl=0
I haven't tested it because I'm just installing development libs directly on my system. I just sort of looked at the names of the packages I installed on my system and thought whether or not they might be useful for development here. There is no expert opinion going on. I also prior to doing this, looked at the files in the devX 5.7.0 and tried to figure out what package they might be in the TazPup package manager. I didn't dig too deep. I just tried a few search words in the package manger. I mostly looked at folder names in the /usr/lib folder of devX. To be more thorough, I also should of looked at the files names in this folder also.

I"m guessing Wolf might have some description of what packages are in devX but I know next to nothing about Wolf so I didn't use it.

The full version shows all the packages that I installed on my system. Packages that didn't seem relevant to devX are commented out. The list was easy to make because the file manager on TazPup, lets you select a bunch of files and then copy all the path names at once.
Attachments
missing_files.gz
(3.28 KiB) Downloaded 82 times

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#263 Post by darry19662018 »

I have posted vamps for anyone who wants to run pburn on their Tazpup.

Got it from Slacko. Vamps was missing from the Slitaz package manager.

https://sourceforge.net/projects/tazpup ... g/download

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#264 Post by mistfire »

Im still waiting for feedback about multisession mode in Tazpup

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#265 Post by s243a »

s243a wrote:I made a script to build a devX from packages installed on ones system:

https://pastebin.com/Zn5dvt7t

Trimmed Version:

Code: Select all

    #!/bin/bash
    ROOT='/mnt/home/devX_TazPup_s243a_1.0'
    PACKAGES=(
....
)

copyPackage(){
    PACKAGE=$1
    if [ -n "$2" ]; then
      aRoot="$2"
    else
      aROOT="$ROOT"
    fi
    while read line; do
      DIR=$(dirname "$line")
      mkdir -p "$aROOT$DIR"
      cp -a -u "$line" "$aROOT$line"
    done <$PACKAGE/files.list
}
for PACKAGE in "${PACKAGES[@]}"; do
  copyPackage "$PACKAGE"
done
mksquashfs "$ROOT" devX_TazPup_s243a_1.0.sfs -comp xz -Xbcj arm -noappend
When I ran the script there were a number of missing files (see fake .gz attachment). I think this is due to TazPup deleting files when it updates libs. I had 1673 duplicate files, so I can shrink the size by adding symbolic links.

The script could be modified to download the package via the package manager if it is not installed.

My devX build can be downloaded at:
https://www.dropbox.com/s/sov681cm66456 ... 0.sfs?dl=0
I haven't tested it because I'm just installing development libs directly on my system. I just sort of looked at the names of the packages I installed on my system and thought whether or not they might be useful for development here. There is no expert opinion going on. I also prior to doing this, looked at the files in the devX 5.7.0 and tried to figure out what package they might be in the TazPup package manager. I didn't dig too deep. I just tried a few search words in the package manger. I mostly looked at folder names in the /usr/lib folder of devX. To be more thorough, I also should of looked at the files names in this folder also.

I"m guessing Wolf might have some description of what packages are in devX but I know next to nothing about Wolf so I didn't use it.

The full version shows all the packages that I installed on my system. Packages that didn't seem relevant to devX are commented out. The list was easy to make because the file manager on TazPup, lets you select a bunch of files and then copy all the path names at once.
I seem to be missing some packages, some of which are in the following:

Code: Select all

/var/lib/tazpkg/installed/curl
/var/lib/tazpkg/installed/curl-dev
/var/lib/tazpkg/installed/curlftpfs
/var/lib/tazpkg/installed/gmp-dev
/var/lib/tazpkg/installed/libxkbcommon
/var/lib/tazpkg/installed/libxkbcommon-dev
/var/lib/tazpkg/installed/libxklavier
/var/lib/tazpkg/installed/mpc-library
/var/lib/tazpkg/installed/mpfr
/var/lib/tazpkg/installed/mpfr-dev
/var/lib/tazpkg/installed/ncmpc
/var/lib/tazpkg/installed/ncmpcpp
/var/lib/tazpkg/installed/php-curl
/var/lib/tazpkg/installed/qt4
/var/lib/tazpkg/installed/qtconfig
/var/lib/tazpkg/installed/qxkb
/var/lib/tazpkg/installed/sbxkb
/var/lib/tazpkg/installed/uget
/var/lib/tazpkg/installed/xorg-libX11-dev
/var/lib/tazpkg/installed/xorg-libxkbfile-dev
/var/lib/tazpkg/installed/xorg-xkbutils
/var/lib/tazpkg/installed/automake
/var/lib/tazpkg/installed/automoc4
/var/lib/tazpkg/installed/cmake
/var/lib/tazpkg/installed/gcc
/var/lib/tazpkg/installed/gcc63
/var/lib/tazpkg/installed/gcc63-lib-base
/var/lib/tazpkg/installed/gcc-lib-base
/var/lib/tazpkg/installed/gfortran
/var/lib/tazpkg/installed/gmpc
/var/lib/tazpkg/installed/gmpc-dev
/var/lib/tazpkg/installed/gnustep-make
/var/lib/tazpkg/installed/libgfortran
/var/lib/tazpkg/installed/libobjc
/var/lib/tazpkg/installed/make
/var/lib/tazpkg/installed/makeself
/var/lib/tazpkg/installed/mpc
/var/lib/tazpkg/installed/perl-locale-maketext-lexicon
/var/lib/tazpkg/installed/rake
/var/lib/tazpkg/installed/smake
/var/lib/tazpkg/installed/swig
/var/lib/tazpkg/installed/xorg-gccmakedep
/var/lib/tazpkg/installed/xorg-imake
/var/lib/tazpkg/installed/xorg-makedepend
/var/lib/tazpkg/installed/ruby
/var/lib/tazpkg/installed/rake
/var/lib/tazpkg/installed/ruby-dev
I thought I already installed some of these like cmake.

Edit; from my previous post it looks like I did install some of these. Maybe I just forgot to copy the files which says that these packages are installed. I need to do this because I think I broke something in the shutdown save. I did noticed on shutdown that readlink is liked to busybox and it isn't accepting some of the options in the shutdown script. Maybe I need to install the package containg readlink.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

yaf-splash

#266 Post by don570 »

I am testing alpha8 (frugal install to hard disk) and everything working 8)

Sound works at bootup and time is correct.

yaf-splash is installed. I tested with the following...

Code: Select all

yaf-splash -timeout 3 -margin 20 -bw 5   -bg orange  -outline 0  -text  "  SPLASHTEXT " 
______________________________________________

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#267 Post by s243a »

I think for cmake to work we have to work one has to define the build environment.

Here is an example

Code: Select all

# Define our host system
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR arm)
SET(CMAKE_SYSTEM_VERSION 1)

SET(rpi-tools-dir ${CMAKE_SOURCE_DIR}/rpi-tools)

# Define the C cross compiler location
SET(CMAKE_C_COMPILER  ${rpi-tools-dir}/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-gcc)

# Define the CXX cross compiler location
SET(CMAKE_CXX_COMPILER  ${rpi-tools-dir}/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++)

# Define the sysroot path for the RaspberryPi distribution in our tools folder
SET(CMAKE_FIND_ROOT_PATH ${rpi-tools-dir}/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/arm-linux-gnueabihf/sysroot/)

# Only use binaries from the host and not from the toolchain sysroot
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)

# Search for libraries only in the target sysroot
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
# Search for the headers in the target and host directories
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)
https://stackoverflow.com/questions/488 ... nd-fftw3-h

I'm not sure where a standard puppy might do this (e.g. in DevX or /etc/Profile) but maybe I can grep for some of these environmental variables in a standard pup to see what I find but it's my bedtime so I can't figure this out tonight.

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#268 Post by darry19662018 »

mistfire wrote:Im still waiting for feedback about multisession mode in Tazpup
Has anyone managed to do this with Multisession - personally unable to do this - has anyone tried?

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

Dogradio

#269 Post by darry19662018 »

Mmmm I have added Dogradio to my app collection however has the following behavior "failed to connect to stream" when clicking on radio stations however Dogradio does connect and play the chosen stream. The streams are displayed as to what is currently playing. I wish to acknowlege Fredx181 for such a great program thank you.

I had to install Mplayer-cli and conky from the Package Manager as dependencies.

https://sourceforge.net/projects/tazpup ... g/download

https://sourceforge.net/projects/tazpup ... g/download

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#270 Post by darry19662018 »

I have made a new Dogradio 0.0.8 package which has changes in the program. Also the behavior mentioned in previous post seems to be corrected in this version.

https://sourceforge.net/projects/tazpup ... g/download

Details regarding 0.0.8

http://murga-linux.com/puppy/viewtopic. ... 265#984677

https://sourceforge.net/projects/tazpup ... g/download

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#271 Post by mistfire »

On my latest experiment underdog gui script is now working. modem initialization from puppy is added. ISO, build kit, and delta file will be release pretty soon.

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#272 Post by mistfire »

I wonder if remaster tool in tazpup worked? Did someone tested it?

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#273 Post by s243a »

don570 wrote:I am checking devx from precise puppy 5.7.1
with alpha7
http://distro.ibiblio.org/quirky/precis ... _5.7.1.sfs

Report: perl language seems to work....
terminal output....

Code: Select all

slitaz:~# perl -v
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

This is perl 5, version 14, subversion 2 (v5.14.2) built for i686-linux-gnu-thread-multi-64int
(with 56 registered patches, see perl -V for more detail)

Copyright 1987-2011, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

_________________________________________________

python won't work, but it's not needed....

Code: Select all


# python -v
python: /usr/lib/libcrypto.so.1.0.0: no version information available (required by python)
python: /lib/libc.so.6: version `GLIBC_2.15' not found (required by python)
python: /usr/lib/libssl.so.1.0.0: no version information available (required by python)
_____________________________________________________


cmake needs some dependencies....

Code: Select all



cmake: error while loading shared libraries: libarchive.so.12: cannot open shared object file: No such file or directory
root@slitaz:~# which cmake
/usr/bin/cmake
root@slitaz:~# ldd /usr/bin/cmake

/usr/bin/cmake:
        linux-gate.so.1 =>  (0xb7f2c000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7f23000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7f10000)
        libarchive.so.12 => not found
        libcurl-gnutls.so.4 => not found
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e48000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7e30000)
        libc.so.6 => /lib/libc.so.6 (0xb7cba000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7c9f000)
        /lib/ld-linux.so.2 => /lib/ld-2.14.1.so (0xb7f2d000)
        libm.so.6 => /lib/libm.so.6 (0xb7c71000)
------------------------------------------

gcc seems to work. I compiled mtpaint a day ago

Code: Select all

root@slitaz:~# ldd /usr/bin/gcc

/usr/bin/gcc:
        linux-gate.so.1 =>  (0xb7eed000)
        libc.so.6 => /lib/libc.so.6 (0xb7d73000)
        /lib/ld-linux.so.2 => /lib/ld-2.14.1.so (0xb7eee000)


_________________________________________________________

Part of me thinks that we should try the lucid devX but I still want to see if I can build one from scratch.

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#274 Post by s243a »

mistfire wrote:@s243a yes it is tazpkg is a command line package manager of slitaz. Can perform also upgrade.
Thankyou :)

I added it to a draft script:

https://pastebin.com/aFvzwU6Y

Code: Select all

while read PKG; do
   [ -f "$PKG" ] || tazpkg get-install "$( basename "$PKG" )"
done <"$TMP/To_Install"

copyPackage(){
    PACKAGE=$1
    if [ -n "$2" ]; then
      aRoot="$2"
    else
      aROOT="$ROOT"
    fi
    if [ -f $PACKAGE ]; then 
      while read line; do
        DIR=$(dirname "$line")
        mkdir -p "$aROOT$DIR"
        cp -a -u "$line" "$aROOT$line"
      done <$PACKAGE/files.list 
    else
      cd $TMP
      PKG_Name="$( basename "$PACKAGE" )"
      tazpkg get $PKG_Name
      tazpkg extract $PKG_Name "$ROOT"
    fi
}
while read PKG; do
  copyPackage "$PKG"
done <"$TMP/For_DevX"
mksquashfs "$ROOT" devX_TazPup_s243a_1.0.sfs -comp xz -Xbcj arm -noappend 
More about this later. The script is very rough at this point and I may need to fork the thread.

It's just a very rough draft and not tested yet. I want to be able to automatically install a list of packages and at the same time generate a devX. I'm using a heredoc to create a text file like structure and options say if I want it installed or only included as part of devX or both and also some items are only flagged for larger installations. Syntax
i - install
d - include in devX
I - install only in a new installation
L_i - install only for large installations
id - install and include in devX
s - this should be included as part of the standard ISO , flag it and verify.
# - do nothing. The file name is only included for future reference
Last edited by s243a on Sat 26 May 2018, 08:18, edited 2 times in total.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#275 Post by fredx181 »

@mistfire, you said already to have plans (I think?) to make /bin/sh symlinked to busybox again, just reporting that the package manager doesn't work properly with sh > bash (as is now on alpha-8 ). It doesn't install required dependencies, only the package selected.
Symlinking sh back to busybox again fixed that for me.

@darry19662018
I have made a new Dogradio 0.0.8 package which has changes in the program. Also the behavior mentioned in previous post seems to be corrected in this version.

https://sourceforge.net/projects/tazpup ... g/download
That's nice, I wouldn't expect this could work in Slitaz. I tested quickly, so not sure if everything works as it should.
Note that conky is a dependency of v0.0.8, without it, dogradio doesn't run.
(should show a message about conky required before exiting by xmessage, but xmessage isn't installed in tazpup, so it exits silently).
Also, the radiosure server is currently down (hopefully temporarily), so "Update Index" won't work (to get the database required for the search option).

Fred

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#276 Post by s243a »

with regards, to compiling stuff.

Tux doesn't seem to be able to sudo to root.

if you use su, it doesn't keep the environmental variables like LD_LIBRARY_PATH

there is an option to su and end up in the enviornment of root but then you are no longer in the same directory. My solution is to su, and then source /etc/profile

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#277 Post by darry19662018 »

fredx181 wrote:@mistfire, you said already to have plans (I think?) to make /bin/sh symlinked to busybox again, just reporting that the package manager doesn't work properly with sh > bash (as is now on alpha-8 ). It doesn't install required dependencies, only the package selected.
Symlinking sh back to busybox again fixed that for me.

@darry19662018
I have made a new Dogradio 0.0.8 package which has changes in the program. Also the behavior mentioned in previous post seems to be corrected in this version.

https://sourceforge.net/projects/tazpup ... g/download
That's nice, I wouldn't expect this could work in Slitaz. I tested quickly, so not sure if everything works as it should.
Note that conky is a dependency of v0.0.8, without it, dogradio doesn't run.
(should show a message about conky required before exiting by xmessage, but xmessage isn't installed in tazpup, so it exits silently).
Also, the radiosure server is currently down (hopefully temporarily), so "Update Index" won't work (to get the database required for the search option).

Fred
Yes I noticed in Yradio that updating from radiosure server brings up an error.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#278 Post by fredx181 »

s243a wrote:Tux doesn't seem to be able to sudo to root.
I've investigated that and found that it can be solved by:

- Uncommenting the line in /etc/sudoers : # %sudo ALL=(ALL) ALL, so becomes:

Code: Select all

%sudo	ALL=(ALL) ALL
- Create sudo group and add tux to it, in /etc/group will be something like:

Code: Select all

sudo:x:201:tux
(I changed to 201, was previously 1000 (after addgroup sudo), if I remember well, not sure, maybe it can be any number if not exists already)

Also, in case sudo is activated, I think it would be best to create a password for tux (rather than no password as it is now).

Fred

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#279 Post by darry19662018 »

Guys I know there is some stuff to be fixed but crikey it is fun playing with this to see what it can do, haven't had this much fun with a distro for ages.:)

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#280 Post by mistfire »

@fredx181 sh was already linked to busybox-pup on next alpha release. Tazpup has 2 busybox. One for slitaz and one for puppy (busybox-pup) because there are some applets in busybox slitaz was missing while busybox of puppy does have and vice-versa.

Post Reply