From: F. <pe...@fo...> - 2007-03-26 18:00:38
|
Hi, has anybody managed to get rox to work under macos x? The compilation and installation seems to work just fine, except that the tests for large file support and extended attributes didn't work. There is no objcopy on the mac so the copying of the debug symbols didn't work either, but that shouldn't be a problem or? I did a ktrace (apples equivalent to strace) but I don't know enough about rox to know what to look for. When I try to run 'rox --debug' it dies with: ** (ROX-Filer:16511): CRITICAL **: read_time: assertion `err == 0' failed aborting... Program received signal SIGABRT, Aborted. 0x9003d59c in kill () (gdb) bt #0 0x9003d59c in kill () #1 0x9010f8bf in raise () #2 0x9010e412 in abort () #3 0x01470397 in g_logv () #4 0x014703d1 in g_log () #5 0x01470499 in g_return_if_fail_warning () #6 0x0003147c in read_time (path=0x0) at /Users/pelle/src/rox/ROX-Filer/src/mount.c:219 #7 0x00031647 in mount_init () at /Users/pelle/src/rox/ROX-Filer/src/mount.c:92 #8 0x0002abba in main (argc=2, argv=0xbffff098) at /Users/pelle/src/rox/ROX-Filer/src/main.c:594 Hmm, it dies when looking for /etc/fstab? It seems there is no fstab on macs anymore? I had no idea. There is a '/etc/fstab.hd' which just says "IGNORE THIS FILE"... -- Pelle |
From: Thomas L. <ta...@gm...> - 2007-03-26 18:04:33
|
On 3/26/07, P=E4r Forsling <pe...@fo...> wrote: > Hi, has anybody managed to get rox to work under macos x? The compilation= and > installation seems to work just fine, except that the tests for large fil= e > support and extended attributes didn't work. There is no objcopy on the m= ac so > the copying of the debug symbols didn't work either, but that shouldn't b= e a > problem or? I did a ktrace (apples equivalent to strace) but I don't know > enough about rox to know what to look for. > #7 0x00031647 in mount_init () at /Users/pelle/src/rox/ROX-Filer/src/mou= nt.c:92 > #8 0x0002abba in main (argc=3D2, argv=3D0xbffff098) at /Users/pelle/src/= rox/ROX-Filer/src/main.c:594 > > Hmm, it dies when looking for /etc/fstab? It seems there is no fstab on m= acs > anymore? I had no idea. There is a '/etc/fstab.hd' which just says "IGNOR= E THIS > FILE"... Try editing mount.h, to remove: #define DO_MOUNT_POINTS --=20 Dr Thomas Leonard=09=09http://rox.sourceforge.net GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1 |
From: F. <pe...@fo...> - 2007-03-26 21:57:19
|
Thomas Leonard <ta...@gm...> wrote: > > Try editing mount.h, to remove: > > #define DO_MOUNT_POINTS > Ok, tried that but to no avail. Now there seems to be some problem with pango/fontconfig? I have no idea what the problem is. :-( Other gtk+-apps works so I don't think it's a problem with the gtk-installation. Could it be that rox tries to use a font that's not available or something like that? (gdb) run Starting program: /usr/local/apps/ROX-Filer/ROX-Filer -n --g-fatal-warnings Reading symbols for shared libraries ..+.....++++++++.++.+......++.............................................................+.+++++.+++ done Reading symbols for shared libraries . done Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x000002c8 0x007d6a96 in FcPatternPosition () (gdb) bt #0 0x007d6a96 in FcPatternPosition () #1 0x007d7d54 in FcPatternGet () #2 0x005c0460 in cairo_ft_font_options_substitute (options=0x29365f0, pattern=0x2936640) at cairo-ft-font.c:2198 #3 0x002e77c9 in pango_cairo_fc_font_map_context_substitute (fcfontmap=0x1fee998, context=0x2814ea0, pattern=0x2936640) at pangocairo-fcfontmap.c:97 #4 0x01b6b671 in pango_fc_default_substitute (fontmap=0x1fee998, context=0x2814ea0, pattern=0x0) at pangofc-fontmap.c:960 #5 0x01b6c03f in pango_fc_font_map_load_fontset (fontmap=0x1fee998, context=0x2814ea0, desc=0x7fe540, language=0x2936630) at pangofc-fontmap.c:1053 #6 0x005113a9 in pango_context_get_metrics (context=0x2814ea0, desc=0x7fe540, language=0x2936630) at pango-context.c:1398 #7 0x0122391d in calculate_max_homogeneous_pixels () #8 0x01223c0e in toolbar_content_is_homogeneous () #9 0x0121e068 in gtk_toolbar_size_request () #10 0x0075fe30 in g_closure_invoke () #11 0x007710f9 in signal_emit_unlocked_R () #12 0x00772c60 in g_signal_emit_valist () #13 0x00776921 in g_signal_emit_by_name () #14 0x011a5495 in do_size_request () #15 0x011a58de in _gtk_size_group_compute_requisition () #16 0x0128682c in gtk_widget_size_request () #17 0x0127c545 in gtk_vbox_size_request () #18 0x0075fe30 in g_closure_invoke () #19 0x007710f9 in signal_emit_unlocked_R () #20 0x00772c60 in g_signal_emit_valist () #21 0x00776921 in g_signal_emit_by_name () #22 0x011a5495 in do_size_request () #23 0x011a58de in _gtk_size_group_compute_requisition () #24 0x0128682c in gtk_widget_size_request () #25 0x01298477 in gtk_window_size_request () #26 0x0075fe30 in g_closure_invoke () #27 0x007710f9 in signal_emit_unlocked_R () #28 0x00772c60 in g_signal_emit_valist () #29 0x00776921 in g_signal_emit_by_name () #30 0x011a5495 in do_size_request () #31 0x011a58de in _gtk_size_group_compute_requisition () #32 0x0128682c in gtk_widget_size_request () #33 0x01297df1 in gtk_window_realize () #34 0x0075fe30 in g_closure_invoke () #35 0x007710f9 in signal_emit_unlocked_R () #36 0x00772c60 in g_signal_emit_valist () #37 0x0077331a in g_signal_emit () #38 0x01285d40 in gtk_widget_realize () #39 0x00019bcf in filer_opendir (path=0x2923d90 "/Users/pelle", src_win=0x0, wm_class=0x0) at /Users/pelle/src/rox/ROX-Filer/src/filer.c:1754 #40 0x00041dde in rpc_OpenDir (args=0x280e130) at /Users/pelle/src/rox/ROX-Filer/src/remote.c:693 #41 0x00043740 in run_soap (soap=0x2908000) at /Users/pelle/src/rox/ROX-Filer/src/remote.c:1293 #42 0x0002af97 in main (argc=2, argv=0xbffff07c) at /Users/pelle/src/rox/ROX-Filer/src/main.c:638 (gdb) -- Pelle |
From: Thomas L. <ta...@gm...> - 2007-04-01 16:23:29
|
On 3/26/07, P=E4r Forsling <pe...@fo...> wrote: > Thomas Leonard <ta...@gm...> wrote: > > > > Try editing mount.h, to remove: > > > > #define DO_MOUNT_POINTS > > > Ok, tried that but to no avail. Now there seems to be some problem with > pango/fontconfig? I have no idea what the problem is. :-( Other gtk+-apps > works so I don't think it's a problem with the gtk-installation. Could it= be > that rox tries to use a font that's not available or something like that? It seems to be coming from the toolbar code. In toolbar_init(), try disabling it: =09option_add_int(&o_toolbar, "toolbar_type", TOOLBAR_NONE); > Program received signal EXC_BAD_ACCESS, Could not access memory. > Reason: KERN_PROTECTION_FAILURE at address: 0x000002c8 > 0x007d6a96 in FcPatternPosition () > (gdb) bt > #0 0x007d6a96 in FcPatternPosition () > #1 0x007d7d54 in FcPatternGet () > #2 0x005c0460 in cairo_ft_font_options_substitute (options=3D0x29365f0, = pattern=3D0x2936640) at cairo-ft-font.c:2198 > #3 0x002e77c9 in pango_cairo_fc_font_map_context_substitute (fcfontmap= =3D0x1fee998, context=3D0x2814ea0, pattern=3D0x2936640) at pangocairo-fcfon= tmap.c:97 > #4 0x01b6b671 in pango_fc_default_substitute (fontmap=3D0x1fee998, conte= xt=3D0x2814ea0, pattern=3D0x0) at pangofc-fontmap.c:960 > #5 0x01b6c03f in pango_fc_font_map_load_fontset (fontmap=3D0x1fee998, co= ntext=3D0x2814ea0, desc=3D0x7fe540, language=3D0x2936630) at pangofc-fontma= p.c:1053 > #6 0x005113a9 in pango_context_get_metrics (context=3D0x2814ea0, desc=3D= 0x7fe540, language=3D0x2936630) at pango-context.c:1398 > #7 0x0122391d in calculate_max_homogeneous_pixels () > #8 0x01223c0e in toolbar_content_is_homogeneous () > #9 0x0121e068 in gtk_toolbar_size_request () --=20 Dr Thomas Leonard=09=09http://rox.sourceforge.net GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1 |
From: F. <pe...@fo...> - 2007-04-27 01:22:13
|
A little update for all who have been holding their breath waiting for the outcome of my brave little adventure. I actually got rox up and running on an intel mac a while ago. Yay! It was quite easy too, all I had to do was: 1. Add "-flat_namespace" to CFLAGS 2. Install rox to the same prefix as gtk, pango et al. Unfortunatly, there are still some things that doesn't work, like display of filesizes and recognition of mime-types. Sorting is also kinda weird, but setting LC_COLLATE=C makes sorting work for ascii-named files at least. -- Pelle |