OK guys...I have been trying to create an SFS file from the 16 txz files that come down from the slacko repos for the GnuCash application.
I am using the mksquashfs utility and have successfully created the gnucash.sfs file. However, trying the run gnucash results in his error message:
"gnucash: error while loading shared libraries: libgnc-gnome.so.0: cannot open shared object file: No such file or directory."
What I have discovered is that there is a file named:
libgnc-gnome.so.0.0.0 within the sfs file.
So it seems that gnucash is asking for the file to load but is asking for it's shortened name
Any insight on how to fix this problem?
I am running a frugal install of puppy_slacko_5.5 on a fat32 formatted USB drive.
Creating SFS file from txz slacko repo packages
Standard slackware packages do not contain any symbolic links. You have to run the install/doinst.sh file relative to where you unpack the package. If you take a look at install/doinst.sh you will see that many symbolic links will be made on installation. I have a very rough script to do just what you want.
I place the script and the packages in a folder and run the script. It also concatenates all the descriptions (slack-desc) into one big description, kind of a manifest.
HTH
EDIT: also, be aware that trying to make symlinks while on vFAT will fail, you need to do it on a linux filesystem AND vFAT messes up the permissions, so does NTFS.
Code: Select all
#!/bin/sh
APP=$0
PROG=${APP##*/}
echo $PROG
[ ! "$1" ] && echo "provide a package name" && exit
[ "$2" = "xz" ] && COMP="-comp xz" || COMP=""
DIR=$1
[ -d $DIR ] || mkdir $DIR
DESC=${DIR%%-*}-desc
touch $DIR/$DESC
SFS=${DIR}.sfs
for i in `ls|grep -iE "txz$|tgz"|grep -v "$PROG"`; do
cp -af $i $DIR
(cd $DIR
echo -n "$i "
tar xf $i
[ "$?" = 0 ] || exit $?
[ -f install/doinst.sh ]&& . install/doinst.sh
cat install/slack-desc >> $DESC
rm $i)
done
echo "mksquashfs $DIR $SFS $COMP"
mksquashfs $DIR $SFS $COMP
[ "$?" = 0 ] && echo "Success!" || echo "FAILED :("
HTH
EDIT: also, be aware that trying to make symlinks while on vFAT will fail, you need to do it on a linux filesystem AND vFAT messes up the permissions, so does NTFS.
Puppy Linux Blog - contact me for access
I've been working on this off and on for the past couple of days with no luck.
I first reformatted my USB drive to ext2 and frugal-ed slacko 5.5 onto it again.
Micko, I tried using your script but I couldn't get any sort of response out of it when I tried to execute it. (I saved it as "create.sh" and gave it the appropriate executable permissions).
I tried running it from the directory that holds all 16 of the compressed "txz" files...no go.
Then I tried extracting all 16 into a separate directory and running your script there after all were extracted..no go.
(no go = no terminal window or any other indication it was running)
After these attempts I simply tried running the doinst.sh file manually after each txz file was extracted. That resulted in symlinks being created in the install directory but at the end of the process all symlinks were red/broken. (I extracted all 16 txz files into the same top level directory so that the doinst.sh file was rewritten each time. Then I gave each new doinst.sh file execute permissions and ran it.)
I have a feeling I am in a little over my head as I am not well versed in scripting.
As a side note, I did try to simply install Gnucash from the repository (not make an sfs file). Everything seemed to install but upon execution I got the same error message that I initially posted about above.
Thanks in advance for any other hand-holding you are willing to do with me.
I first reformatted my USB drive to ext2 and frugal-ed slacko 5.5 onto it again.
Micko, I tried using your script but I couldn't get any sort of response out of it when I tried to execute it. (I saved it as "create.sh" and gave it the appropriate executable permissions).
I tried running it from the directory that holds all 16 of the compressed "txz" files...no go.
Then I tried extracting all 16 into a separate directory and running your script there after all were extracted..no go.
(no go = no terminal window or any other indication it was running)
After these attempts I simply tried running the doinst.sh file manually after each txz file was extracted. That resulted in symlinks being created in the install directory but at the end of the process all symlinks were red/broken. (I extracted all 16 txz files into the same top level directory so that the doinst.sh file was rewritten each time. Then I gave each new doinst.sh file execute permissions and ran it.)
I have a feeling I am in a little over my head as I am not well versed in scripting.
As a side note, I did try to simply install Gnucash from the repository (not make an sfs file). Everything seemed to install but upon execution I got the same error message that I initially posted about above.
Thanks in advance for any other hand-holding you are willing to do with me.
Sometimes USER is not able to see the console icon .(no go = no terminal window or any other indication it was running)
In Germany KONSOLE usually means PlayStation or XBOX .
Tired of these .
For the 98,001st time here on the forum :
Open a rxvt , urxvt or xterm console in that directory by right click in the rox filer window and navigating to "Window > Terminal here" and type :
Code: Select all
./name-of-script
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal :P
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal :P
After messing with gnucash which i decided was a bloated awkward piece of stuff I grabbed mmex... small and neat and seemed to do the job
http://www.codelathe.com/mmex/
So the slack in slackware refers to the state of their packaging...I always suspected this lol... On the 3.5 occasions I have used their stuff it was with a tgz2lzm so I never noticed the absense of sysmlinks
mike
debian for a gnucash source?
http://www.codelathe.com/mmex/
So the slack in slackware refers to the state of their packaging...I always suspected this lol... On the 3.5 occasions I have used their stuff it was with a tgz2lzm so I never noticed the absense of sysmlinks
mike
debian for a gnucash source?