oh I didn't see the run firefox.cpk part.
well, getting gdb to work i came up with:
- Code: Select all
[yerba]$ LD_LIBRARY_PATH=/home/calyptos/calyptos.com/files/packager/0/libcalpack-0.2c/lib/ gdb ../bin/installer
GNU gdb 2002-04-01-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)...
(gdb) run firefox.cpk
Starting program: /home/.waddy/calyptos/calyptos.com/files/packager/0/libcalpack-0.2c/bin/installer firefox.cpk
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
Extracting firefox.cpk...Done.
Aquiring package settings...done.
Removing temporary folder...done.
Package name: Firefox 0.9
Install path: /tmp/firefox-calpack-test
Packager: CalyptOS
Date packaged: July 18, 2004
mv: cannot overwrite directory `/tmp/firefox-calpack-test/firefox.cpk'
Installing...failed!
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x4000956f in fixup () from /lib/ld-linux.so.2
(gdb) bt
#0 0x4000956f in fixup () from /lib/ld-linux.so.2
#1 0x400097c0 in _dl_runtime_resolve () from /lib/ld-linux.so.2
#2 0x400aa14f in __libc_start_main () from /lib/libc.so.6
(gdb)
I think it was because of the way i declared the syscall1 variable in package::install, so I changed it to char syscall1[255] and it works fine now.
thanks.
i'm uploading it as
libcalpack-0.2c, if anyone's willing to test if it works on there system and tell us about it at
http://calyptos.com/feedback.php i'd appreciate it. Especially if it doesn't work. But even if it works, It'd help us in determining any problems users may have. (hey, it worked for this guy with a stock installation of slackware 9.0... how is this other guy different)