Building PCManFM from source Issue

The dedicated forum for PCMan File Manager - http://wiki.lxde.org/en/PCManFM
Locked
Jeff91
Posts: 9
Joined: Sat Nov 07, 2009 9:27 pm
Location: Blue Island, IL
Contact:

Building PCManFM from source Issue

Post by Jeff91 »

I am trying to build PCManFM on Ubuntu but the compile keeps failing out with this message in terminal:

Code: Select all

pcmanfm.c: In function ‘unix_signal_handler’:
pcmanfm.c:108: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
pcmanfm.c: In function ‘on_unix_signal’:
pcmanfm.c:114: warning: passing argument 2 of ‘g_io_channel_read_chars’ from incompatible pointer type
/usr/include/glib-2.0/glib/giochannel.h:247: note: expected ‘gchar *’ but argument is of type ‘int *’
pcmanfm.c: In function ‘on_single_inst_command’:
pcmanfm.c:162: warning: assignment from incompatible pointer type
pcmanfm.c: In function ‘pass_args_to_existing_instance’:
pcmanfm.c:209: warning: passing argument 2 of ‘single_inst_send_strv’ from incompatible pointer type
single-inst.h:64: note: expected ‘const char **’ but argument is of type ‘char **’
pcmanfm.c: In function ‘main’:
pcmanfm.c:234: warning: enumeration value ‘SINGLE_INST_SERVER’ not handled in switch
pcmanfm.c: In function ‘pcmanfm_open_folder_in_terminal’:
pcmanfm.c:509: warning: initialization from incompatible pointer type
pcmanfm.c:614:35: error: macro "fm_copy_file" requires 3 arguments, but only 2 given
pcmanfm.c: In function ‘pcmanfm_create_new’:
pcmanfm.c:614: error: ‘fm_copy_file’ undeclared (first use in this function)
pcmanfm.c:614: error: (Each undeclared identifier is reported only once
pcmanfm.c:614: error: for each function it appears in.)
make[3]: *** [pcmanfm-pcmanfm.o] Error 1
make[3]: Leaving directory `/media/sda6/Bodhi/Packages/pcmanfm/pcmanfm-0.9.8/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/media/sda6/Bodhi/Packages/pcmanfm/pcmanfm-0.9.8'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/media/sda6/Bodhi/Packages/pcmanfm/pcmanfm-0.9.8'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
I've tried the 0.9.7 and 0.9.8 source code packages from source forge - any ideas what I am missing/doing wrong?

~Jeff
Locked