J'utilise Fedora 13 LXDE et je voudrais installer PCManFM-Mod mais impossible de compiler les sources avec succès. Je n'ai pas trouvé de paquetage RPM.
Je dialogue avec son auteur mais il a aussi besoin d'aide pour pouvoir spécifier dans sa doc comment faire tourner son application dans Fedora.
Voici ce qui se passe :
J'ai installé toutes les dépendances requises. Le script configure se déroule bien en tapant :
Code: Select all
./configure --prefix=/usr
Code: Select all
make
/usr/bin/ld: pcmanfm_mod-desktop-window.o: undefined reference to symbol 'XClearWindow'
/usr/bin/ld: note: 'XClearWindow' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [pcmanfm-mod] Erreur 1
make[1]: quittant le répertoire « /home/nomutilisateur/dossier/pcmanfm-mod-1.1.1/src »
make: *** [all-recursive] Erreur 1
L'auteur m'a dit d'intégrer
Code: Select all
AC_CHECK_LIB(X11, XClearWindow)
puis de taper la commande :
Code: Select all
NOCONFIGURE=x ./autogen.sh
Ensuite :**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.
processing .
Creating ./aclocal.m4 ...
Running glib-gettextize... Ignore non-fatal messages.
Copying file mkinstalldirs
Copying file po/Makefile.in.in
Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.
Making ./aclocal.m4 writable ...
Running intltoolize...
Running libtoolize...
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
Running aclocal ...
Running automake --gnu ...
data/Makefile.am:50: `%'-style pattern rules are a GNU make extension
src/Makefile.am:18: compiling `mime-type.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.in'
Running autoconf ...
Skipping configure process.
Code: Select all
./configure --prefix=/usr
Enfin :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 for XClearWindow in -lX11... yes
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking for library containing strerror... none required
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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
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 ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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... no
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) 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 whether NLS is requested... yes
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.10.1
checking for XML::Parser... ok
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... yes
checking for SN... yes
checking whether /usr/bin/ld accepts --as-needed... yes
checking whether /usr/bin/ld accepts -O1... yes
checking whether /usr/bin/ld accepts -Bsymbolic-functions... yes
checking for HAL... yes
checking fam.h usability... yes
checking fam.h presence... yes
checking for fam.h... yes
checking for FAMOpen in -lfam... yes
checking for FAMNoExists... yes
checking for euidaccess... yes
checking for eaccess... yes
checking for statvfs... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed... af ar da ca cs de es et eu fa fi fr gl he hr hu id it ja ko lt ml ms nb nl nn pl ps pt pt_BR ru sk sl sv tr uk ur ur_PK vi zh_CN zh_TW
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating data/Makefile
config.status: creating data/pcmanfm-mod.desktop
config.status: creating data/pcmanfm-mod-find.desktop
config.status: creating data/pcmanfm-mod-folder-handler.desktop
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
PCManFM-Mod File Manager..................... : Version 1.1.1
Prefix....................................... : /usr
Linux HAL support............................ : yes
Linux inotify support (currently broken)..... : no
64-bit Large file support.................... : yes
Show warnings if run as super user........... : yes
Desktop icon integration..................... : yes
The binary will be installed in /usr/bin
http://igurublog.wordpress.com/downloads/mod-pcmanfm/
Please read README carefully if you are packaging PCManFM-Mod.
Code: Select all
make
Je ne comprends pas ce qui se passe et ce qu'il faut faire pour y remédier. J'ai pourtant installer libtool, libtool-ltdl, libtool-ltdl-devel et tous les paquetages glibc (y compris devel)./usr/bin/ld: pcmanfm_mod-exo-icon-view.o: undefined reference to symbol 'pow@@GLIBC_2.0'
/usr/bin/ld: note: 'pow@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
/lib/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [pcmanfm-mod] Erreur 1
make[1]: quittant le répertoire « /home/nomutilisateur/dossier/pcmanfm-mod-1.1.1/src »
make: *** [all-recursive] Erreur 1
Quelqu'un aurait-il une idée ?
Merci d'avance pour votre aide !