Author Topic: Tuxcards 1.2 Segfaults On 1.1.0beta1  (Read 2231 times)

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Tuxcards 1.2 Segfaults On 1.1.0beta1
« 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
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Tuxcards 1.2 Segfaults On 1.1.0beta1
« Reply #1 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
}
SLC-860 cacko / senao wifi

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Tuxcards 1.2 Segfaults On 1.1.0beta1
« Reply #2 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?
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Tuxcards 1.2 Segfaults On 1.1.0beta1
« Reply #3 on: January 10, 2006, 06:28:17 am »
Quote
Yep. Is that good or bad?
it's good
SLC-860 cacko / senao wifi

infodroid

  • Newbie
  • *
  • Posts: 1
    • View Profile
Tuxcards 1.2 Segfaults On 1.1.0beta1
« Reply #4 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!
« Last Edit: July 10, 2006, 05:37:52 pm by infodroid »