Re: problem with cdrecord in dao mode



In article <4501d0b5$0$6827$22fed638@xxxxxxxxxxxxxx>,
Spamless <Spamless@xxxxxxx> wrote:

1: The tarball has source code which has no "configure" script.
Just use "make" (and "make install" as root).
2: The executables will be installed in /opt/schily/bin/ (other
things in /opt/schily/[various]). You will probably wind up
with this version and your old version and the old version
(on your path) will still be run.
To change the directories in which it is installed (to update
your current version) find out where your current "cdrecord"
is installed. Edit the "DEFAULTS/Defaults.linux" file, changing
"opt/schily" to that directory (such as "usr" or "usr/local").
Or you can edit it to put it anywhere you want, in /MYDIRECTORY,
and use /MYDIRECTORY/cdrecord to use/try this newly compiled
version.
3: Version a13 was just posted (the notice at freshmeat is today's).
For linux users it has a bug (not in cdrtools itself).
mkisofs will not compile.
The reason ... "Mkisofs now includes libfind support"
The mkisofs Makefile includes the line
"LIBS= ... -lfind"
(libfind is also provided by the cdrtools tarball now)
The libfind code has:
#ifdef HAVE_ACL_LIBACL_H
# include <acl/libacl.h> /* Needed for acl_extended_file() */
#endif
#ifdef HAVE_ACL_EXTENDED_FILE
/*
* Linux extension
*/
return (acl_extended_file(sname) == 1);
#else
In compiling the mkisofs binary one gets an error that there is an
undefined call to acl_extended_file.
It appears that in compiling mkisofs, the libfind library was linked,
but that requires libacl and that was not linked (from the comments
it seems this will only affect Linux).
To get mkisofs to compile I edited the mkisofs/Makefile
to add "-lacl" right before "-lfind" on the "LIBS=" line (line 54).
Or you can get a12 (that is very recent ... only three days old! but
it would be missing the libfind support, but that is broken in the
current source code anyway for linux users, but that can apparently
be fixed).

The correct solution for this problem is to use this line:

LIBS= -lhfs -lfile -lunls -lrscg -lscg $(LIB_VOLMGT) -ldeflt -lfind -lschily $(LIB_ACL) $(SCSILIB) $(LIB_SOCKET)


in mkisofs/makefile

Note the $(LIB_ACL)

--
EMail:joerg@xxxxxxxxxxxxxxxxxxxxxxxxxxx (home) Jörg Schilling D-13353 Berlin
js@xxxxxxxxxxxxxxx (uni)
schilling@xxxxxxxxxxxxxxxxxxx (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
.



Relevant Pages

  • Re: problem with cdrecord in dao mode
    ... For linux users it has a bug. ... the cdrecord code did not change - the change is in mkisofs). ... Correct, as only mkisofs did change, only mkisofs uses a newer version number. ...
    (comp.os.linux.hardware)
  • mkisofs for files > 2GB (64 bit binary?)
    ... I've run into a problem where mkisofs cannot process input files ... Has anyone found a solution to this, or managed to compile ...
    (SunManagers)