J'avais essayé d'installer tilp y a un moment, mais confronté à de mystiques erreurs, j'ai abandonné.
Hier adriweb m'a dit que ça se faisait sans pb sur ubuntu, donc ça m'a redonné envie d'essayer.
Donc j'ai fait
> sudo apt-get install git autoconf automake libtool libglib2.0-dev zlib1g-dev libusb-dev libgtk2.0-dev libglade2-dev libsdl1.2-dev gettext bison flex groff texinfo xdg-utils libarchive-dev intltool
Là, aucun problème, tout installé.
Puis :
> sudo ./install_tilp.sh
Et... ça ne marche pas. >.<
J'y comprends trop rien donc je poste le message que ça me donne à tout hasard si une âme bienveillante et mieux éclairée que moi pourrait m'aider ! ^^
Show/Hide spoilerAfficher/Masquer le spoiler
Will use SRCDIR=/home/turok/lpg
Before proceeding further, make sure that you're ready to go (look inside the install script):
1) configured PREFIX and SRCDIR the way you wish
(as well as CC and CXX if you're into using non-GCC compilers);
2a) if you're using 64-bit Fedora (or any distro which installs libraries to non-standard paths), added --libdir=/usr/lib64 to the marked line, or...
2b) configured PKG_CONFIG_PATH if necessary
3) installed the build dependencies listed in the script. Unless you're on Debian and derivatives, use libusb 1.0.
For instance, on Debian and derivatives, you would run:
(sudo) apt-get install git autoconf automake libtool libglib2.0-dev zlib1g-dev libusb-dev libgtk2.0-dev libglade2-dev libsdl1.2-dev gettext bison flex groff texinfo xdg-utils libarchive-dev intltool
Otherwise, the build will fail!.
ENTER to proceed, CTRL + C to abort.
Creating output folder if necessary
Performing a quick rough sanity check on compilers
Hello World !
CC=gcc exists
Hello World !
CXX=g++ exists
Checking whether /usr can be written to
=== Downloading tilibs ===
Updating tilibs
Already up-to-date.
=== Downloading tilp_and_gfm ===
Updating tilp_and_gfm
Already up-to-date.
=== libticonv ===
Configuring tilibs/libticonv
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC 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.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for library containing strerror... none required
checking for gawk... (cached) gawk
checking for tfdocgen... no
checking for windres... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for ANSI C header files... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether gcc needs -traditional... no
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for memset... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strrchr... yes
checking whether gcc accepts -fvisibility... -fvisibility=hidden
checking whether to enable experimental iconv interface... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating build/mingw/Makefile
config.status: creating docs/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating ticonv.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Now, you can type 'make' and 'make install'.
Building tilibs/libticonv
make all-recursive
make[1]: entrant dans le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk »
Making all in build/mingw
make[2]: entrant dans le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/build/mingw »
make[2]: Rien à faire pour « all ».
make[2]: quittant le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/build/mingw »
Making all in src
make[2]: entrant dans le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/src »
make[2]: Rien à faire pour « all ».
make[2]: quittant le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/src »
Making all in tests
make[2]: entrant dans le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/tests »
make[2]: Rien à faire pour « all ».
make[2]: quittant le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/tests »
make[2]: entrant dans le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk »
make[2]: quittant le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk »
make[1]: quittant le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk »
Installing tilibs/libticonv
Making install in build/mingw
make[1]: entrant dans le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/build/mingw »
make[2]: entrant dans le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/build/mingw »
make[2]: Rien à faire pour « install-exec-am ».
make[2]: Rien à faire pour « install-data-am ».
make[2]: quittant le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/build/mingw »
make[1]: quittant le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/build/mingw »
Making install in src
make[1]: entrant dans le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/src »
make[2]: entrant dans le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/src »
/bin/mkdir -p '/usr/lib'
/bin/bash ../libtool --mode=install /usr/bin/install -c libticonv.la '/usr/lib'
libtool: install: /usr/bin/install -c .libs/libticonv.so.8.0.4 /usr/lib/libticonv.so.8.0.4
libtool: install: (cd /usr/lib && { ln -s -f libticonv.so.8.0.4 libticonv.so.8 || { rm -f libticonv.so.8 && ln -s libticonv.so.8.0.4 libticonv.so.8; }; })
libtool: install: (cd /usr/lib && { ln -s -f libticonv.so.8.0.4 libticonv.so || { rm -f libticonv.so && ln -s libticonv.so.8.0.4 libticonv.so; }; })
libtool: install: /usr/bin/install -c .libs/libticonv.lai /usr/lib/libticonv.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/include/tilp2'
/usr/bin/install -c -m 644 ticonv.h export4.h charset.h stdints4.h '/usr/include/tilp2'
make install-data-hook
make[3]: entrant dans le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/src »
sed -e 's/#define TICONV_ICONV_INTERFACE/#undef TICONV_ICONV_INTERFACE/g' /usr/include/tilp2/ticonv.h >/usr/include/tilp2/ticonv.h.tmp && mv -f /usr/include/tilp2/ticonv.h.tmp /usr/include/tilp2/ticonv.h;
make[3]: quittant le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/src »
make[2]: quittant le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/src »
make[1]: quittant le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/src »
Making install in tests
make[1]: entrant dans le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/tests »
make[2]: entrant dans le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/tests »
make[2]: Rien à faire pour « install-exec-am ».
make[2]: Rien à faire pour « install-data-am ».
make[2]: quittant le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/tests »
make[1]: quittant le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk/tests »
make[1]: entrant dans le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk »
make[2]: entrant dans le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk »
make[2]: Rien à faire pour « install-exec-am ».
/bin/mkdir -p '/usr/lib/pkgconfig'
/usr/bin/install -c -m 644 ticonv.pc '/usr/lib/pkgconfig'
make[2]: quittant le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk »
make[1]: quittant le répertoire « /home/turok/lpg/tilp/tilibs/libticonv/trunk »
/home/turok/lpg/tilp
=== libtifiles ===
Configuring tilibs/libtifiles
./install_tilp.sh: ligne 129: ./configure: Aucun fichier ou dossier de ce type
Merci d'avance !