build on PowerPC window.c build error

Asked by Joshua Robison on 2013-04-10

First off thank you so much for making my favorite file browser for xwindows , open source!
I know you don't support Linux PowerPC and am thankful for any time you give to this question.

I'm on PowerBook G41.5ghz 32bit Ubuntu 12.04 and trying to build marlin from this bzr clone.
I've only had very basic programming classes in college and didn't persue a career in the field and this was long ago.

PowerPC is not supported by various developers for obvious reasons but any ways here is the error that I get when trying to build marlin.

Marlin source code I cloned into /opt/marlin

I did
sudo mkdir build
cd build
sudo cmake .. -DCMAKE_INSTALL_PREFIX=/opt

and
sudo make

and upon doing "sudo make"

I get the folowing error:

[ 73%] Building C object src/CMakeFiles/marlin.dir/View/Window.c.o
/opt/marlin/build/src/View/Window.c: In function ‘marlin_view_window_colorize_current_tab_selection’:
/opt/marlin/build/src/View/Window.c:1187:40: error: ‘FM_DIRECTORY_TYPE_VIEW’ undeclared (first use in this function)
/opt/marlin/build/src/View/Window.c:1187:40: note: each undeclared identifier is reported only once for each function it appears in
/opt/marlin/build/src/View/Window.c: In function ‘marlin_view_window_change_tab’:
/opt/marlin/build/src/View/Window.c:1326:28: error: ‘FM_DIRECTORY_TYPE_VIEW’ undeclared (first use in this function)
/opt/marlin/build/src/View/Window.c: In function ‘marlin_view_window_action_show_hide_contextview’:
/opt/marlin/build/src/View/Window.c:2095:26: error: ‘FM_DIRECTORY_TYPE_VIEW’ undeclared (first use in this function)
/opt/marlin/build/src/View/Window.c: In function ‘marlin_view_window_action_zoom_in_callback’:
/opt/marlin/build/src/View/Window.c:2224:30: error: ‘FM_DIRECTORY_TYPE_VIEW’ undeclared (first use in this function)
/opt/marlin/build/src/View/Window.c: In function ‘marlin_view_window_action_zoom_out_callback’:
/opt/marlin/build/src/View/Window.c:2253:31: error: ‘FM_DIRECTORY_TYPE_VIEW’ undeclared (first use in this function)
/opt/marlin/build/src/View/Window.c: In function ‘marlin_view_window_action_zoom_normal_callback’:
/opt/marlin/build/src/View/Window.c:2322:34: error: ‘FM_DIRECTORY_TYPE_VIEW’ undeclared (first use in this function)
make[2]: *** [src/CMakeFiles/marlin.dir/View/Window.c.o] Error 1
make[1]: *** [src/CMakeFiles/marlin.dir/all] Error 2
make: *** [all] Error 2

TIA

Question information

Language:
English Edit question
Status:
Answered
For:
Marlin Edit question
Assignee:
No assignee Edit question
Last query:
2013-04-10
Last reply:
2013-04-15
ammonkey (am-monkeyd) said : #1

done fixed in trunk compile with vala 0.18.

Can you help with this problem?

Provide an answer of your own, or ask Joshua Robison for more information if necessary.

To post a message you must log in.