Pagina 1 di 2

ccd2iso: come si installa?

Inviato: dom 1 ott 2006, 22:57
da bbg5ne
sto cercando di installare questo pacchetto direttamente dai sorgenti, visto che non ho trovato sul web il tgz per slack!
in un primo momento ho avuto il seguente problema quando provavo a fare il make:

Codice: Seleziona tutto

root@mkLinux:~/Desktop/ccd2iso-0.2/ccd2iso# make
cd . && /bin/sh /root/Desktop/ccd2iso-0.2/ccd2iso/missing --run aclocal-1.6
/root/Desktop/ccd2iso-0.2/ccd2iso/missing: line 46: aclocal-1.6: command not found
WARNING: `aclocal-1.6' is needed, and you do not seem to have it handy on your
         system.  You might have modified some files without having the
         proper tools for further handling them.  Check the `README' file,
         it often tells you about the needed prerequirements for installing
         this package.  You may also peek at any GNU archive site, in case
         some other package would contain this missing `aclocal-1.6' program.
make: *** [aclocal.m4] Error 1
dopo aver aggiornato automake alla 1.6 direttamente dal sorgente (creando il tgz con checkinstall) il risultato non è cambiato, poi ho trovato questo sul sito di riferimento, ho modificato i sorgenti come richiesto levando la dicitura 1.6 ogniqualvolta si presentasse ACLOCAL e AUTOMAKE, il risultato è il seguente:

Codice: Seleziona tutto

root@mkLinux:~/Desktop/ccd2iso-0.2/ccd2iso# make
cd . && /bin/sh /root/Desktop/ccd2iso-0.2/ccd2iso/missing --run autoconf
configure.in:8: error: possibly undefined macro: AM_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
WARNING: `autoconf' is missing on your system.  You should only need it if
         you modified `configure.in'.  You might want to install the
         `Autoconf' and `GNU m4' packages.  Grab them from any GNU
         archive site.
/bin/sh ./config.status --recheck
running /bin/sh ./configure   --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
./configure: line 2807: AM_PROG_LIBTOOL: command not found
configure: creating ./config.status
cd . && /bin/sh ./config.status Makefile
config.status: creating Makefile
cd . && /bin/sh /root/Desktop/ccd2iso-0.2/ccd2iso/missing --run autoheader
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader:             [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
touch ./config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
cd . && /bin/sh /root/Desktop/ccd2iso-0.2/ccd2iso/missing --run autoheader
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader:             [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
touch ./)].in)].in
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `touch ./)].in)].in'
make: *** [)].in] Error 2
root@mkLinux:~/Desktop/ccd2iso-0.2/ccd2iso# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
./configure: line 2807: AM_PROG_LIBTOOL: command not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
root@mkLinux:~/Desktop/ccd2iso-0.2/ccd2iso# make
cd . && /bin/sh /root/Desktop/ccd2iso-0.2/ccd2iso/missing --run autoheader
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader:             [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
touch ./)].in)].in
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `touch ./)].in)].in'
make: *** [)].in] Error 2
sempre sul forum c'è anche scritto di provare anche con

Codice: Seleziona tutto

cd src/
gcc -o ccd2iso ccd2iso.c
ma il risultato è il seguente:

Codice: Seleziona tutto

root@mkLinux:~/Desktop/ccd2iso-0.2/ccd2iso/src# gcc -o ccd2iso ccd2iso.c
In file included from ccd2iso.c:28:
clonecd.h:32: warning: `packed' attribute ignored
clonecd.h:39: warning: `packed' attribute ignored
clonecd.h:57: warning: `packed' attribute ignored
c'è qulcuno che ha risolto tutti questi problemi ed è riuscito a installarlo? o magari che un modo + semplice per far masterizzare a k3b le immagini ccd/img/nrg? :roll:

Inviato: dom 1 ott 2006, 23:32
da dapuzz
Ci sto appena provando
1) make -f Makefile.cvs (qualche warning)
2) editare il file src/Makefile.in riga 64 togliendo --tag=CC
3) ./configure
4) make (quakche waring)
il programma lo trovi in src/ccd2iso
Usage: ccd2iso <.img filename> <.iso filename>
non so se funziona, ma puoi provare prima di spostarlo nel patho di fare un minipacchettino

Inviato: dom 1 ott 2006, 23:36
da bbg5ne
Makefile.cvs???
dove sta?
:roll:

Inviato: dom 1 ott 2006, 23:39
da dapuzz
Proprio nella directory ccd2iso, dove c'è anche il README per intenderci, no?
non credo di sbagliare versione, sembra ci sia un solo file ccd2iso-0.2.tar.gz. Lo estrai e sta proprio nella directory.
comunque anche con il metodo
gcc -o ccd2iso ccd2iso.c ottieni lo stesso risultato, ti crea quel eseguibile. bisogna vedere se funziona. io non ho ccd per provare :(

Inviato: dom 1 ott 2006, 23:43
da bbg5ne
ops...scusa :oops:
ero andato dentro src, comunque questo è il risultato:

Codice: Seleziona tutto

root@mkLinux:~/Desktop/ccdProb/ccd2iso-0.2/ccd2iso# make -f Makefile.cvs
aclocal
aclocal: configure.in: 8: macro `AM_PROG_LIBTOOL' not found in library
make: *** [all] Error 1
:roll:

Inviato: dom 1 ott 2006, 23:52
da dapuzz
boh, non so che dirti. Forse problemi di versione: io ho
libtool-1.5.22-i486
(aclocal e automake 1.9.6
autoheader e autoconf 2.60)

comunque ti ripeto che anche con il semplice gcc fai prima ed hai lo stesso identico risultato. Ignora completamente quei warning :)

Re: ccd2iso: come si installa?

Inviato: dom 1 ott 2006, 23:52
da DavidZ
bbg5ne ha scritto:sto cercando di installare questo pacchetto direttamente dai sorgenti, visto che non ho trovato sul web il tgz per slack!
Qui c'e':
http://www.slackware.org/~alien/slackbuilds/ccd2iso/

poi se vuoi propio installarlo dai src... non ho idea

bye

Inviato: dom 1 ott 2006, 23:58
da bbg5ne
grazie!!! :D
lo provo subito!!! :lol:

Inviato: lun 2 ott 2006, 0:07
da bbg5ne
lo installa ma ancora non va:

Codice: Seleziona tutto

root@mkLinux:~/Desktop# ccd2iso cd1.CCD cd1.iso
Error at sector 0.
The sector does not contain complete data. Sector size must be 2352, while actual data read is 772
questo è il risultato se provo a fare una conversione!!! :roll:

Inviato: lun 2 ott 2006, 0:14
da bbg5ne
ehm usando il file img funziona...che pollo! :p

Inviato: lun 2 ott 2006, 0:17
da bbg5ne
wazz...dopo un po' che lavorava ecco un nuovo messaggio:

Codice: Seleziona tutto

Unrecognized sector mode (0) at sector 260515!
un nuovo errore suppongo visto che il file iso corrispondente è di 0kb! :cry:
uff, ma quali sono le dipendeze di questo programma? :roll:

Inviato: lun 2 ott 2006, 0:34
da DavidZ
cercando l'errore con google

http://os4depot.net/index.php?function= ... cd2iso.lha

dice:
For now, only single session image supported, if multiple session image found,
then the program will dump the first session only with an "Unrecognized sector
mode" error... but the resulting file, will be mounted quite fine.

da quel che capisco se l'immagine ha piu' sessioni non funzione o meglio converte solo la prima

Inviato: lun 2 ott 2006, 0:35
da bbg5ne
creando il tgz dallo slackbuild mi crea i seguenti file:

configure-ccd2iso.log

Codice: Seleziona tutto

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking for /usr/i486-slackware-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
install-ccd2iso.log

Codice: Seleziona tutto

3	open	/dev/tty	#success
-1	unlink	/tmp/tmp-ccd2iso/ccd2iso-0.2/src/ccd2iso	#No such file or directory
make-ccd2iso.log

Codice: Seleziona tutto

cd . && /bin/sh /tmp/tmp-ccd2iso/ccd2iso-0.2/missing --run aclocal-1.9 
aclocal:configure.in:8: warning: macro `AM_PROG_LIBTOOL' not found in library
cd . && \
  /bin/sh /tmp/tmp-ccd2iso/ccd2iso-0.2/missing --run automake-1.9 --foreign  Makefile
cd . && /bin/sh /tmp/tmp-ccd2iso/ccd2iso-0.2/missing --run autoconf
configure.in:8: error: possibly undefined macro: AM_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
WARNING: `autoconf' is missing on your system.  You should only need it if
         you modified `configure.in'.  You might want to install the
         `Autoconf' and `GNU m4' packages.  Grab them from any GNU
         archive site.
/bin/sh ./config.status --recheck
running /bin/sh ./configure  --prefix=/usr --localstatedir=/var --sysconfdir=/etc CFLAGS=-O2 -march=i486 -mcpu=i686  --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
./configure: line 2807: AM_PROG_LIBTOOL: command not found
configure: creating ./config.status
cd . && /bin/sh ./config.status Makefile 
config.status: creating Makefile
cd . && /bin/sh /tmp/tmp-ccd2iso/ccd2iso-0.2/missing --run autoheader
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader: 
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader: WARNING: `acconfig.h':
autoheader: 
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: 		[Define if a function `main' is needed.])
autoheader: 
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
make  all-recursive
make[1]: Entering directory `/tmp/tmp-ccd2iso/ccd2iso-0.2'
Making all in src
make[2]: Entering directory `/tmp/tmp-ccd2iso/ccd2iso-0.2/src'
cd .. && /bin/sh ./config.status src/Makefile depfiles
config.status: creating src/Makefile
config.status: executing depfiles commands
make[2]: Leaving directory `/tmp/tmp-ccd2iso/ccd2iso-0.2/src'
make[2]: Entering directory `/tmp/tmp-ccd2iso/ccd2iso-0.2/src'
source='ccd2iso.c' object='ccd2iso.o' libtool=no \
depfile='.deps/ccd2iso.Po' tmpdepfile='.deps/ccd2iso.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -march=i486 -mcpu=i686 -c `test -f 'ccd2iso.c' || echo './'`ccd2iso.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from ccd2iso.c:28:
clonecd.h:32: warning: `packed' attribute ignored
clonecd.h:39: warning: `packed' attribute ignored
clonecd.h:57: warning: `packed' attribute ignored
make[2]: LIBTOOL@: Command not found
make[2]: *** [ccd2iso] Error 127
make[2]: Leaving directory `/tmp/tmp-ccd2iso/ccd2iso-0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/tmp-ccd2iso/ccd2iso-0.2'
make: *** [all] Error 2
makepkg-ccd2iso.log

Codice: Seleziona tutto

Slackware package maker, version 2.1.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n


Creating tar file ccd2iso-0.2-i486-1.tar...

./
usr/
usr/doc/
usr/doc/ccd2iso-0.2/
usr/doc/ccd2iso-0.2/AUTHORS
usr/doc/ccd2iso-0.2/COPYING
usr/doc/ccd2iso-0.2/ChangeLog
usr/doc/ccd2iso-0.2/NEWS
usr/doc/ccd2iso-0.2/README
usr/doc/ccd2iso-0.2/TODO
install/
install/slack-desc
tar-1.13: ccd2iso-0.2-i486-1.tar is the archive; not dumped
WARNING: zero length file ./install/slack-desc

Gzipping ccd2iso-0.2-i486-1.tar...

Renaming ccd2iso-0.2-i486-1.tar.gz to ccd2iso-0.2-i486-1.tgz...

Moving ccd2iso-0.2-i486-1.tgz to /tmp...

Package creation complete.
uff ma possibile che solo a me fa tutti questi capricci? :roll:

Inviato: lun 2 ott 2006, 0:38
da bbg5ne
DavidZ ha scritto: da quel che capisco se l'immagine ha piu' sessioni non funzione o meglio converte solo la prima
azz...allora mi tocca fare una prova con un'immagine unica...uff... chissà però perchè sui log compaiono quegli errori! :roll:

Inviato: lun 2 ott 2006, 10:13
da syaochan
Puoi provare anche kiso http://kiso.sourceforge.net/