Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: vinnie on November 29, 2011, 06:59:04 AM

Title: Fltk burner software
Post by: vinnie on November 29, 2011, 06:59:04 AM
http://flburn.sourceforge.net/ (http://flburn.sourceforge.net/)
browsing I came across this, I have not tried because I haven't a Cd drive, but it could be interesting
Title: Re: Fltk burner software
Post by: netnomad on November 30, 2011, 08:48:28 AM
hi vinnie,

flburn looks like a tiny and nice piece of work, but i wasn't able to use it probably.
under 4.1 i converted the debian-package of  the homepage
with the help of the deb2tcz-script.
i did not found any hint or need for dependencies,
no dependencies are mentioned on the homepage,
there is no further indication f.e. an open error message in the terminal...

after loading flburn i get a nice, simple interface, but while i try to make an iso of a music-cd i get following messages:

tc@box:~$ flburn
Device type: 5
/dev/sr0
Symbolic link's target:  /dev/sr0
/sys/bus/scsi/devices/0:0:0:0/type
Device type: 5
/dev/sr1
Symbolic link's target:  /dev/sr1
/sys/bus/scsi/devices/0:0:1:0/type
Device type: 0
/sys/bus/scsi/devices/2:0:0:0/type
Device type: 0
/sys/bus/scsi/devices/4:0:0:0/type
libburner : DEBUG : burn_drive_convert_fs_adr( /dev/sr1 )
libburner : DEBUG : burn_drive_is_enumerable_adr( /dev/sr1 ) is true
libburner : DEBUG : burn_drive_convert_fs_adr( /dev/sr0 )
libburner : DEBUG : burn_drive_is_enumerable_adr( /dev/sr0 ) is true
Device type: 5
/dev/sr0
Symbolic link's target:  /dev/sr0
/sys/bus/scsi/devices/0:0:0:0/type
Device type: 5
/dev/sr1
Symbolic link's target:  /dev/sr1
/sys/bus/scsi/devices/0:0:1:0/type
Device type: 0
/sys/bus/scsi/devices/2:0:0:0/type
Device type: 0
/sys/bus/scsi/devices/4:0:0:0/type
libburner : DEBUG : Async waiting after START UNIT (+ LOAD) succeeded after 0.1 seconds
libburner : DEBUG : Async START UNIT succeeded after 0.1 seconds
libburner : DEBUG : Async STOP UNIT succeeded after 0.1 seconds
libburner : DEBUG : Async waiting after START UNIT (+ LOAD) succeeded after 0.1 seconds
libburner : DEBUG : Async START UNIT succeeded after 0.1 seconds
libburner : DEBUG : Allocating buffer via mmap()
libburner : DEBUG : syncing cache (stdio fsync)
libburner : DEBUG : Write thread on drive 2 ended
libburner : DEBUG : SCSI error condition on command 1Bh START/STOP UNIT: [2 3A 00] Medium not present
FlBurn : DEBUG : 264687:0
Device type: 5
/dev/sr0
Symbolic link's target:  /dev/sr0
/sys/bus/scsi/devices/0:0:0:0/type
Device type: 5
/dev/sr1
Symbolic link's target:  /dev/sr1
/sys/bus/scsi/devices/0:0:1:0/type
Device type: 0
/sys/bus/scsi/devices/2:0:0:0/type
Device type: 0
/sys/bus/scsi/devices/4:0:0:0/type
libburner : DEBUG : Async waiting after START UNIT (+ LOAD) succeeded after 0.1 seconds
libburner : DEBUG : Async START UNIT succeeded after 0.1 seconds
libburner : DEBUG : Async STOP UNIT succeeded after 0.1 seconds
libburner : DEBUG : Async waiting after START UNIT (+ LOAD) succeeded after 0.1 seconds
libburner : DEBUG : Async START UNIT succeeded after 0.1 seconds
libburner : DEBUG : Allocating buffer via mmap()
libburner : DEBUG : syncing cache (stdio fsync)
libburner : DEBUG : Write thread on drive 3 ended
libburner : DEBUG : SCSI error condition on command 1Bh START/STOP UNIT: [2 3A 00] Medium not present
FlBurn : DEBUG : 264687:0
Device type: 5
/dev/sr0
Symbolic link's target:  /dev/sr0
/sys/bus/scsi/devices/0:0:0:0/type
Device type: 5
/dev/sr1
Symbolic link's target:  /dev/sr1
/sys/bus/scsi/devices/0:0:1:0/type
Device type: 0
/sys/bus/scsi/devices/2:0:0:0/type
Device type: 0
/sys/bus/scsi/devices/4:0:0:0/type
libburner : DEBUG : Async waiting after START UNIT (+ LOAD) succeeded after 0.1 seconds
libburner : DEBUG : Async START UNIT succeeded after 0.1 seconds
libburner : DEBUG : SCSI error condition on command 5Ah MODE SENSE: [5 24 00] Invalid field in cdb
libburner : DEBUG : Async STOP UNIT succeeded after 0.1 seconds
libburner : DEBUG : Async waiting after START UNIT (+ LOAD) succeeded after 0.1 seconds
libburner : DEBUG : Async START UNIT succeeded after 0.1 seconds
libburner : DEBUG : SCSI error condition on command 5Ah MODE SENSE: [5 24 00] Invalid field in cdb
libburner : DEBUG : Allocating buffer via mmap()
libburner : DEBUG : syncing cache (stdio fsync)
libburner : DEBUG : Write thread on drive 4 ended
libburner : DEBUG : Async STOP UNIT succeeded after 0.1 seconds
FlBurn : DEBUG : 264687:0

perhaps some has an idea to get further....

thanks for every hint!
Title: Re: Fltk burner software
Post by: netnomad on November 30, 2011, 09:12:18 AM
by the way,
my configuration works fine with bashburn.
so the hardware and my basic installation works flawless.
Title: Re: Fltk burner software
Post by: Rich on November 30, 2011, 09:20:32 PM
Hi netnomad
Quote
perhaps some has an idea to get further....
Here's an idea. Click the  Help  button and read item 2
Code: [Select]
1. Don't mount your optical drives before using FlBurn.
2. Don't try to copy AudioCD into ISO file.
3. DVD+RW discs are overwriteable. Don't try to erase them.
Title: Re: Fltk burner software
Post by: vinnie on December 01, 2011, 02:09:21 AM
Unfortunately on my netbook I do not have a CD player so I can not do tests to burn.
Anyway, after I downloaded the 32bit binary, on trying to create an iso from a folder it worked.
I do not know if they are the only dependencies that are needed, but always there is a libs folder in 32bit binary package.
I have checked and there are in tinycore the same dependencies, but i don't know if it work with this library
Title: Re: Fltk burner software
Post by: Juanito on December 01, 2011, 02:59:57 AM
i did not found any hint or need for dependencies,
no dependencies are mentioned on the homepage,

Code: [Select]
$ cat readme
To compile FlBurn:
1. You must have fltk, libburn and libisofs libraries installed in your system with headers.
2. You must replace identificators "class" with other identificators in file "libisofs.h" (flburn is writen on c++ while libisofs is written on c).

Code: [Select]
g++ -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti -Wall -I/usr/local/include -o bin/flburn flburn.cpp  -ldl -lm -lXext -lX11 -lburn -lisofs -lfltk -lfltk_forms
In file included from flburn.cpp:40:0:
/usr/local/include/libisofs/libisofs.h:248:5: error: 'uint32_t' does not name a type
/usr/local/include/libisofs/libisofs.h:249:5: error: 'uint32_t' does not name a type
...

You must replace identificators "class" with other identificators in file "libisofs.h" - not at all obscure  :P
Title: Re: Fltk burner software
Post by: Juanito on December 01, 2011, 04:24:41 AM
Ah - the version in git compiles OK

posted
Title: Re: Fltk burner software
Post by: Rich on December 01, 2011, 05:09:34 AM
Quote
You must replace identificators "class" with other identificators in file "libisofs.h" - not at all obscure
I had no idea what that meant when I read the notes. They could have probably just included a header
file that defined uint32_t, uint8_t, etc. to their C++ equivalents and included libisofs.h from there.
Title: Re: Fltk burner software
Post by: Juanito on December 01, 2011, 05:41:34 AM
anyway, the version from git burns a tc iso to cd without problems  :)