#629 Latest libfm/pcmanfm; pcmanfm error with 'make'.

1.1
closed-fixed
libfm (279)
8
2012-10-12
2012-10-11
Sérgio Cipolla
No

libfm commit c27071ce79582ece34f5fee7f1ec3b5518d0e929
pcmanfm commit 6443f08fdc46ae680245f8c34a90c00b4e050498

when running make I get this:
$ make
make all-recursive
make[1]: Entering directory `/home/first/src/pcmanfm'
Making all in src
make[2]: Entering directory `/home/first/src/pcmanfm/src'
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share/pcmanfm"\" -DPACKAGE_UI_DIR=\""/usr/share/pcmanfm/ui"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DG_ENABLE_DEBUG -O0 -g -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=700 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -Wall -Werror-implicit-function-declaration -g -O2 -MT pcmanfm-pcmanfm.o -MD -MP -MF .deps/pcmanfm-pcmanfm.Tpo -c -o pcmanfm-pcmanfm.o `test -f 'pcmanfm.c' || echo './'`pcmanfm.c
In file included from /usr/include/libfm/fm-gtk.h:39:0,
from pcmanfm.c:39:
/usr/include/libfm/fm-folder-model.h:32:25: fatal error: fm-sortable.h: No such file or directory
compilation terminated.
make[2]: *** [pcmanfm-pcmanfm.o] Error 1
make[2]: Leaving directory `/home/first/src/pcmanfm/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/first/src/pcmanfm'
make: *** [all] Error 2

Discussion

  • $ ls /usr/include/libfm
    fm-actions.h fm-file-info.h fm-list.h
    fm-app-chooser-combo-box.h fm-file-info-job.h fm-marshal.h
    fm-app-chooser-dlg.h fm-file-launcher.h fm-mime-type.h
    fm-app-info.h fm-file-menu.h fm-monitor.h
    fm-app-menu-view.h fm-file-ops-job-change-attr.h fm-nav-history.h
    fm-archiver.h fm-file-ops-job-delete.h fm-path-bar.h
    fm-bookmarks.h fm-file-ops-job.h fm-path-entry.h
    fm-cell-renderer-pixbuf.h fm-file-ops-job-xfer.h fm-path.h
    fm-cell-renderer-text.h fm-file-properties.h fm-places-model.h
    fm-clipboard.h fm-folder.h fm-places-view.h
    fm-config.h fm-folder-model.h fm-progress-dlg.h
    fm-deep-count-job.h fm-folder-view.h fm-side-pane.h
    fm-dir-list-job.h fm-gtk-file-launcher.h fm-simple-job.h
    fm-dir-tree-model.h fm-gtk.h fm-standard-view.h
    fm-dir-tree-view.h fm-gtk-marshal.h fm-tab-label.h
    fm-dnd-auto-scroll.h fm-gtk-utils.h fm-thumbnailer.h
    fm-dnd-dest.h fm.h fm-thumbnail.h
    fm-dnd-src.h fm-icon.h fm-utils.h
    fm-dummy-monitor.h fm-icon-pixbuf.h
    fm-file.h fm-job.h

     
  • We hope this issue is completely fixed in the Git repository recently.
    Check it out when it's possible for you and if the bug still exists then reopen the report, please.
    Thank you very much.

     
    • labels: 2616493 --> libfm
    • milestone: --> 1.1
    • priority: 5 --> 8
    • assigned_to: nobody --> lstranger
    • status: open --> closed-fixed
     
  • Please re-open this bug. With portage ebuild, I get:

    x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share/pcmanfm"\" -DPACKAGE_UI_DIR=\""/usr/share/pcmanfm/ui"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DG_ENABLE_DEBUG -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=700 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -Wall -Werror-implicit-function-declaration -march=native -O2 -pipe -ggdb -MT pcmanfm-desktop.o -MD -MP -MF .deps/pcmanfm-desktop.Tpo -c -o pcmanfm-desktop.o `test -f 'desktop.c' || echo './'`desktop.c
    app-config.c:26:26: fatal error: libfm/fm-gtk.h: No such file or directory
    compilation terminated.
    make[2]: *** [pcmanfm-app-config.o] Error 1

     
  • dominique_libre@: Check your installation, please. You should have /usr/include/libfm symlink and /usr/include/libfm-1.0/fm-gtk.h file. If not then your installation of libfm probably failed, try to deinstall it and install again. Thank you.

     
  • Thanks, it is fixed now.

    It look like the shift from /usr/include/libfm to /usr/include/libfm.1-0 confuse portage when updating the package. Tje libfm directory was empty vut still here, so no symlink. It would have worked with a removing and a new installation, instead of an update.

     
  • dominique_libre@: I think that will be good if you report the issue to your distro bug tracker so they fix upgrading libfm by the portage as well. Thank you.

     
  • They've commented to you: 'Upstream bug. Nothing we can do about it'. It seems to me as if Markos Chandras just don't want to fix it. I've even registered on your bugzilla to show him where he is wrong. I hope you'll get it fixed.