Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 18 Jun 2019, 16:59
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
TazPuppy Beta 30
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 19 of 60 [895 Posts]   Goto page: Previous 1, 2, 3, ..., 17, 18, 19, 20, 21, ..., 58, 59, 60 Next
Author Message
mistfire

Joined: 04 Nov 2008
Posts: 1143
Location: PH

PostPosted: Sat 26 May 2018, 03:25    Post subject:  

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.
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 1143
Location: PH

PostPosted: Sat 26 May 2018, 03:28    Post subject:  

I wonder if remaster tool in tazpup worked? Did someone tested it?
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1875

PostPosted: Sat 26 May 2018, 03:33    Post subject:  

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

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

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:


# 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:



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:

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.
Back to top
View user's profile Send private message Visit poster's website 
s243a

Joined: 02 Sep 2014
Posts: 1875

PostPosted: Sat 26 May 2018, 04:09    Post subject:  

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


Thankyou Smile

I added it to a draft script:

https://pastebin.com/aFvzwU6Y

Code:

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, 04:18; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
fredx181


Joined: 11 Dec 2013
Posts: 3956
Location: holland

PostPosted: Sat 26 May 2018, 04:15    Post subject:  

@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
Quote:
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/tazpuppy-apps/files/Dogradio/dogradio-0.0.8.tazpkg/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

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1875

PostPosted: Sat 26 May 2018, 04:20    Post subject:  

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
Back to top
View user's profile Send private message Visit poster's website 
darry19662018

Joined: 31 Mar 2018
Posts: 436
Location: Rakaia

PostPosted: Sat 26 May 2018, 04:44    Post subject:  

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
Quote:
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/tazpuppy-apps/files/Dogradio/dogradio-0.0.8.tazpkg/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.
Back to top
View user's profile Send private message Visit poster's website 
fredx181


Joined: 11 Dec 2013
Posts: 3956
Location: holland

PostPosted: Sat 26 May 2018, 04:45    Post subject:  

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:
%sudo   ALL=(ALL) ALL


- Create sudo group and add tux to it, in /etc/group will be something like:
Code:
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

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
darry19662018

Joined: 31 Mar 2018
Posts: 436
Location: Rakaia

PostPosted: Sat 26 May 2018, 04:49    Post subject:  

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.Smile
Back to top
View user's profile Send private message Visit poster's website 
mistfire

Joined: 04 Nov 2008
Posts: 1143
Location: PH

PostPosted: Sat 26 May 2018, 05:24    Post subject:  

@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.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3956
Location: holland

PostPosted: Sat 26 May 2018, 05:32    Post subject:  

mistfire wrote:
@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.


OK, and you checked if the package manager does install required dependencies with sh > busybox-pup ?

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 1143
Location: PH

PostPosted: Sat 26 May 2018, 05:38    Post subject:  

Not yet @fred because I have a very limited bandwidth to do that but you can try it. by symlinking sh to busybox-pup.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3956
Location: holland

PostPosted: Sat 26 May 2018, 06:35    Post subject:  

mistfire wrote:
Not yet @fred because I have a very limited bandwidth to do that but you can try it. by symlinking sh to busybox-pup.


Ah, didn't notice earlier that busybox-pup was already in /bin
Yes, when linking sh to busybox-pup the package manager works fine checking for and installing dependencies.

Another thing: (but maybe I missed something earlier discussed, in that case, just ignore).
Problems with snapmergepuppy (and therefore changes not saved for me).
Code:
bash-4.3# snapmergepuppy
readlink: invalid option -- 'm'

Command line: readlink -n -m /initrd/pup_ro1

BusyBox v1.27.2 (2018-03-05 16:01:00 CET) multi-call binary.

Usage: readlink [-fnv] FILE

Display the value of a symlink

   -f   Canonicalize by following all symlinks
   -n   Don't add newline
   -v   Verbose
Merging /initrd/pup_rw onto ...
touch: setting times of '/etc/.wh.mtab': Operation not permitted
df-FULL: cannot read table of mounted file systems: No such file or directory
ash: -gt: argument expected
/usr/sbin/snapmergepuppy: line 205: df: not found
ash: -gt: argument expected
ash: -gt: argument expected
/usr/sbin/snapmergepuppy: line 205: df: not found
ash: -gt: argument expected
ash: -gt: argument expected
/usr/sbin/snapmergepuppy: line 205: df: not found
.......
..... and so on.....
bash-4.3#


Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 1143
Location: PH

PostPosted: Sat 26 May 2018, 07:45    Post subject:  

@fred it looks like that I will create another symlink of readlink to busybox-pup.
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 1143
Location: PH

PostPosted: Sat 26 May 2018, 13:43    Post subject:  

OFF TOPIC: This forum was under attacked by spam posts. We need help now.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 19 of 60 [895 Posts]   Goto page: Previous 1, 2, 3, ..., 17, 18, 19, 20, 21, ..., 58, 59, 60 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0612s ][ Queries: 13 (0.0154s) ][ GZIP on ]