OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: desertrat on January 10, 2006, 05:03:00 am

Title: Tuxcards 1.2 Segfaults On 1.1.0beta1
Post by: desertrat on January 10, 2006, 05:03:00 am
Using tuxcards (http://mail.pdaxrom.org/contrib/zdevil/tuxcards_1.2_armv5tel.ipk) on 1.1.0beta1. It loads (I can even see the contents of the data file that is autoloaded) but it promptly dies with a segmentation fault. Same problem under both Matchbox and KDE.

-- cheers
Title: Tuxcards 1.2 Segfaults On 1.1.0beta1
Post by: pgas on January 10, 2006, 05:38:02 am
If you installed it not in /, maybe it's the link problem again... (ie a // in the links)

does /usr/bin/ipkg-link contains something like:
Code: [Select]
add () {
        echo "*** Adding $PACKAGE"
        echo "$files" |
        while read line; do
                if [ ! -e "/$line" ]; then
                        # Only if it doesn't already exist.
                        if [ -d "$PREFIX/$line" ]; then
                                # It's a directory.
                                `mkdir "/$line"`
                        else
                                # It's a file.
                                 target=`echo ${PREFIX}/${line} | sed -e 's/\/\//\//g'`
                                `ln -s "$target" "/$line"`
                        fi
                fi
        done
}
Title: Tuxcards 1.2 Segfaults On 1.1.0beta1
Post by: desertrat on January 10, 2006, 05:55:57 am
Quote
If you installed it not in /, maybe it's the link problem again... (ie a // in the links)

It's not installed in /, but I checked the symlinks and none had "//" in them. Anyway I uninstalled it and reinstalled into /, and now it works. Thanks

Quote
does /usr/bin/ipkg-link contains something like:

...

Yep. Is that good or bad?
Title: Tuxcards 1.2 Segfaults On 1.1.0beta1
Post by: pgas on January 10, 2006, 06:28:17 am
Quote
Yep. Is that good or bad?
it's good
Title: Tuxcards 1.2 Segfaults On 1.1.0beta1
Post by: infodroid on July 10, 2006, 05:30:31 pm
Quote
It's not installed in /, but I checked the symlinks and none had "//" in them. Anyway I uninstalled it and reinstalled into /, and now it works. Thanks

If you don't want to install in / then here is a hack that works for me.

After installing tuxcards in /mnt/card, run it and let it segfault.

Then edit ~/.tuxcards and change

Code: [Select]
Flower_Dir=/usr/local/doc/tuxcards/flowers/
to

Code: [Select]
Flower_Dir=/mnt/card/usr/local/doc/tuxcards/flowers/
Voila!