)
j'ai dl les tar.gz de tiemu, libticals, et libticables
en premier, il faut installer libticables...
dans mon repertoire $HOME (/home/knoppix), je decompresse libticables.tar.gz, et je me met dans son repertoire...
je fais ./configure --prefix=$HOME
(vu que certains repertoires sont sur le cd de knoppix et donc en read-only...)
s'il y en a que ca peut aider, voici les sortis ecran que j'ai eu :
knoppix@ttyp0[libticables-3.7.6]$ ./configure --prefix=$HOME
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether build environment is sane... 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 g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for strerror in -lcposix... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for gawk... gawk
checking for pkg-config... /usr/bin/pkg-config
checking for libusb-config... yes
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 for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for strings.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/perm.h usability... yes
checking sys/perm.h presence... yes
checking for sys/perm.h... yes
checking for sys/types.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking asm/io.h usability... yes
checking asm/io.h presence... yes
checking for asm/io.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking tilp/ticable.h usability... no
checking tilp/ticable.h presence... no
checking for tilp/ticable.h... no
checking tilp/tiglusb.h usability... no
checking tilp/tiglusb.h presence... no
checking for tilp/tiglusb.h... no
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for vprintf... yes
checking for _doprnt... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether sys/types.h defines makedev... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for mkfifo... yes
checking for cfmakeraw... yes
checking for gettimeofday... yes
checking for getwd... yes
checking for memchr... yes
checking for mempcpy... yes
checking for memset... yes
checking for strerror... yes
checking for strstr... yes
checking for uname... yes
checking for select... yes
checking for struct stat.st_blksize... yes
checking for BSD... no
checking for Win32... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/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... /bin/sed
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
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... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/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... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking whether enabling logging facilities... no
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ranlib... (cached) ranlib
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... ./config.rpath: ./config.rpath: No such file or directory
done
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... (cached) yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.875, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating macros/Makefile
config.status: creating man/Makefile
config.status: creating man/ticables-config.1
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating win32/Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating ticables-config
config.status: creating libticables.lsm
config.status: creating libticables.spec
config.status: creating ticables.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
Now, you can type make and make install
Developpers or users which want to send a bug report can add the
'--enable-logging' option on the 'configure' command line for enabling logging facilities. Logging files are generated in user's HOME.
Vu qu'il me dit que je peux taper make puis make install, je tape make...
Voila le resultat :
(je ne met que la fin... avant, ca compile)
mkdir .libs
rm -fr .libs/libticables.la .libs/libticables.* .libs/libticables.*
(cd . && ln -s ioports.lo ioports.o)
(cd . && ln -s avr_link.lo avr_link.o)
(cd . && ln -s dev_link.lo dev_link.o)
(cd . && ln -s dfl_link.lo dfl_link.o)
(cd . && ln -s par_link.lo par_link.o)
(cd . && ln -s ser_link.lo ser_link.o)
(cd . && ln -s slv_link.lo slv_link.o)
(cd . && ln -s tie_link.lo tie_link.o)
(cd . && ln -s tig_link.lo tig_link.o)
(cd . && ln -s vti_link.lo vti_link.o)
(cd . && ln -s vtl_link.lo vtl_link.o)
(cd . && ln -s error.lo error.o)
(cd . && ln -s intrface.lo intrface.o)
(cd . && ln -s type2str.lo type2str.o)
(cd . && ln -s logging.lo logging.o)
(cd . && ln -s probe.lo probe.o)
(cd . && ln -s verbose.lo verbose.o)
(cd . && ln -s direct.lo direct.o)
(cd . && ln -s timodules.lo timodules.o)
gcc -shared ioports.lo avr_link.lo dev_link.lo dfl_link.lo par_link.lo ser_link.lo slv_link.lo tie_link.lo tig_link.lo vti_link.lo vtl_link.lo error.lo intrface.lo type2str.lo logging.lo probe.lo verbose.lo direct.lo timodules.lo -L/usr/lib /usr/lib/libusb.so -Wl,-soname -Wl,libticables.so.3 -o .libs/libticables.so.3.7.6
(cd .libs && rm -f libticables.so.3 && ln -s libticables.so.3.7.6 libticables.so.3)
(cd .libs && rm -f libticables.so && ln -s libticables.so.3.7.6 libticables.so)
creating libticables.la
(cd .libs && rm -f libticables.la && ln -s ../libticables.la libticables.la)
make[2]: Leaving directory `/ramdisk/home/knoppix/libticables-3.7.6/src'
Making all in tests
make[2]: Entering directory `/ramdisk/home/knoppix/libticables-3.7.6/tests'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -g -O2 -D__I386__ -D__LINUX__ -Wall -D_REENTRANT -c test_ticables.c
/bin/sh ../libtool --mode=link gcc -g -O2 -D__I386__ -D__LINUX__ -Wall -D_REENTRANT -L/usr/lib -lusb -o test_ticables test_ticables.o ../src/libticables.la
mkdir .libs
gcc -g -O2 -D__I386__ -D__LINUX__ -Wall -D_REENTRANT -o .libs/test_ticables test_ticables.o -L/usr/lib ../src/.libs/libticables.so /usr/lib/libusb.so -Wl,--rpath -Wl,/home/knoppix/lib
creating test_ticables
make[2]: Leaving directory `/ramdisk/home/knoppix/libticables-3.7.6/tests'
Making all in win32
make[2]: Entering directory `/ramdisk/home/knoppix/libticables-3.7.6/win32'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/ramdisk/home/knoppix/libticables-3.7.6/win32'
Making all in intl
make[2]: Entering directory `/ramdisk/home/knoppix/libticables-3.7.6/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/ramdisk/home/knoppix/libticables-3.7.6/intl'
Making all in po
make[2]: Entering directory `/ramdisk/home/knoppix/libticables-3.7.6/po'
make[2]: *** No rule to make target `../src/porttalk.c', needed by `libticables.pot'. Stop.
make[2]: Leaving directory `/ramdisk/home/knoppix/libticables-3.7.6/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ramdisk/home/knoppix/libticables-3.7.6' make: *** [all-recursive-am] Error 2
et donc, il y a des erreurs
si a tout haard je tente le make install, il y a aussi des erreurs
(voici la fin de ce qui est affiché)
make[1]: Leaving directory `/ramdisk/home/knoppix/libticables-3.7.6/intl'
Making install in po
make[1]: Entering directory `/ramdisk/home/knoppix/libticables-3.7.6/po'
make[1]: *** No rule to make target `../src/porttalk.c', needed by `libticables.pot'. Stop.
make[1]: Leaving directory `/ramdisk/home/knoppix/libticables-3.7.6/po' make: *** [install-recursive] Error 1
donc en gros, ca foire
et sans libticables, je peux passer a l'installe de libticalcs...
et sans libticalcs, je peux pas installer l'emu, je suppose
je suis un peu newbie de l'unix, un peu perdu, la
Si quelqu'un pouvait m'aider, ca serait cool...

