Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
new libfm / pcmanfm won't compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
chias
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2009
Posts: 77
Location: everywhere

PostPosted: Sat Feb 13, 2010 8:42 pm    Post subject: new libfm / pcmanfm won't compile Reply with quote

Hi

I was trying to install the new pcmanfm (http://pcmanfm.sourceforge.net/) and was having some troubles.

I installed menu-cache (required by libfm), but libfm still won't compile:
Code:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./base -I./job -I./gtk -I./demo -DPACKAGE_DATA_DIR=\"/usr/local/share/libfm\" -DPACKAGE_UI_DIR=\"/usr/local/share/libfm/ui\" -DPACKAGE_LIB_DIR=\"/usr/local/lib/libfm\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_REENTRANT -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/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0/ -I. -I./base -I./job -Werror-implicit-function-declaration -g -O2 -MT libfm_gtk_la-fm-path-entry.lo -MD -MP -MF .deps/libfm_gtk_la-fm-path-entry.Tpo -c gtk/fm-path-entry.c  -fPIC -DPIC -o .libs/libfm_gtk_la-fm-path-entry.o
gtk/fm-path-entry.c: In function 'fm_path_entry_do_insert_text':
gtk/fm-path-entry.c:211: error: implicit declaration of function 'gtk_widget_has_focus'
make[3]: *** [libfm_gtk_la-fm-path-entry.lo] Error 1
make[3]: Leaving directory `/home/oliver/installed/pcmanfm/libfm/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/oliver/installed/pcmanfm/libfm/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/oliver/installed/pcmanfm/libfm'
make: *** [all] Error 2

Google isn't bringing anything up. Has anyone else gotten this to work?
Code:

Linux human 2.6.31-gentoo-r6 #16 SMP Fri Jan 29 15:01:40 MST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU T9900 @ 3.06GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6194

PostPosted: Sat Feb 13, 2010 11:34 pm    Post subject: Reply with quote

Probably too old gtk - symbol's in 2.18, though that would imply
incorrect upstream configure check.
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Sun Feb 14, 2010 12:21 am    Post subject: Reply with quote

Keep your eye on the LXDE overlay. I'm planning to add some ebuilds for the new libfm and pcmanfm packages. Just realize that there isn't even a first release of this yet.

By the way, this topic belongs under the Unsupported Software forum.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Feb 14, 2010 9:30 am    Post subject: Reply with quote

Moved from Desktop Environments to Unsupported Software.
Unsupported stuff, so moved here
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
chias
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2009
Posts: 77
Location: everywhere

PostPosted: Tue Feb 16, 2010 5:44 pm    Post subject: Reply with quote

nixnut: Thanks for the move to the proper forum.
yngwin: Thanks for the tip - the compilation (of libfm-9999) still fails, although oddly enough I can't see any errors
Code:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./base -I./job -I./gtk -I./demo -DPACKAGE_DATA_DIR=\"/usr/share/libfm\" -DPACKAGE_UI_DIR=\"/usr/share/libfm/ui\" -DPACKAGE_LIB_DIR=\"/usr/lib64/libfm\" -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_REENTRANT -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/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/menu-cache -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -I./base -I./job -Werror-implicit-function-declaration -march=nocona -O2 -pipe -fomit-frame-pointer -MT libfm_gtk_la-fm-file-menu.lo -MD -MP -MF .deps/libfm_gtk_la-fm-file-menu.Tpo -c gtk/fm-file-menu.c -o libfm_gtk_la-fm-file-menu.o >/dev/null 2>&1
mv -f .deps/libfm_gtk_la-fm-app-chooser-dlg.Tpo .deps/libfm_gtk_la-fm-app-chooser-dlg.Plo
mv -f .deps/libfm_gtk_la-fm-file-menu.Tpo .deps/libfm_gtk_la-fm-file-menu.Plo
make[3]: Leaving directory `/var/tmp/portage/x11-libs/libfm-9999/work/libfm-9999/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libfm-9999/work/libfm-9999/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libfm-9999/work/libfm-9999'
make: *** [all] Error 2

Additionally, if I have LINGUAS set in /etc/make.conf it tells me whatever I have is unsupported (in a yellow-star message)
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Tue Feb 16, 2010 7:15 pm    Post subject: Reply with quote

chias wrote:
yngwin: Thanks for the tip - the compilation (of libfm-9999) still fails, although oddly enough I can't see any errors
Code:
libtool: compile:  x86_64-pc-linux-gnu-gcc [...] -o libfm_gtk_la-fm-file-menu.o >/dev/null 2>&1

That last bit doesn't look very helpful indeed. We'd need to contact upstream about that. Anyway, what version of gtk+ do you have installed? Try with the latest ~amd64 version.

chias wrote:
Additionally, if I have LINGUAS set in /etc/make.conf it tells me whatever I have is unsupported (in a yellow-star message)

That's a harmless warning. There is a function in the ebuild that compares what you set in LINGUAS with what is actually provided by the package. It generates this warning when you have something set that has no provided translation. It does the same for my en_GB.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
whitethorn
n00b
n00b


Joined: 02 Sep 2009
Posts: 28

PostPosted: Wed Feb 24, 2010 1:27 pm    Post subject: Same Problem here Reply with quote

I also can't update libfm-9999 from layman. Here's the error I get.

Quote:
gtk/fm-file-properties.c:850: warning: passing argument 3 of 'g_signal_connect_data' from incompatible pointer type
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./base -I./job -I./gtk -I./demo -DPACKAGE_DATA_DIR=\"/ sr/share/libfm\" -DPACKAGE_UI_DIR=\"/usr/share/libfm/ui\" -DPACKAGE_LIB_DIR=\"/usr/lib64/libfm\" -DPACKAGE_LOCALE_DIR=\"/usr/sha e/locale\" -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/in lude/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/ ixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/i clude/gio-unix-2.0/ -I/usr/include/menu-cache -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -I./base -I./job -Werror implicit-function-declaration -march=core2 -O2 -pipe -MT libfm_gtk_la-fm-file-properties.lo -MD -MP -MF .deps/libfm_gtk_la-fm-fi e-properties.Tpo -c gtk/fm-file-properties.c -o libfm_gtk_la-fm-file-properties.o >/dev/null 2>&1
mv -f .deps/libfm_gtk_la-fm-file-properties.Tpo .deps/libfm_gtk_la-fm-file-properties.Plo
mv -f .deps/libfm_gtk_la-exo-icon-view.Tpo .deps/libfm_gtk_la-exo-icon-view.Plo
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Thu Feb 25, 2010 3:21 pm    Post subject: Reply with quote

That's not an error.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
chias
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2009
Posts: 77
Location: everywhere

PostPosted: Tue Mar 09, 2010 7:53 am    Post subject: Reply with quote

Hi

I finally got it to compile. Turns out it wanted a higher menu-cache version, so I had to put
Code:

lxde-base/menu-cache ~amd64

into my /etc/portage/package.keywords and then run
Code:

emerge --oneshot menu-cache

Hope that helps someone! Also the ebuild should probs be updated to reflect that it depends on menu-cache >= 0.3.2
However after compiling, it won't run... and neither will most other graphical programs (firefox, pidgin, terminal, etc etc):
Code:

symbol lookup error: /usr/lib64/gio/modules/libgiofm.so: undefined symbol: G_IMPLEMENT_INTERFACE_DYNAMIC

It seems menu-cache 0.3.2 is at fault. Downgrading menu-cache solves the problem... but 0.3.2 is required for pcmanfm2

Apologies for the rambling style of this post :-\
Back to top
View user's profile Send private message
chias
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2009
Posts: 77
Location: everywhere

PostPosted: Tue Mar 09, 2010 9:24 pm    Post subject: Reply with quote

Well I tried it again today and didn't get that error... and everything seems to be working :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum