PCManFM only installation in CentOS/RedHat

The dedicated forum for PCMan File Manager - http://wiki.lxde.org/en/PCManFM
Locked
rjuarez
Posts: 1
Joined: Thu Apr 03, 2014 6:08 pm

PCManFM only installation in CentOS/RedHat

Post by rjuarez »

Hi all,

Does anyone knows the steps to install ONLY PCManFM in CentOS/Redhat (5/6) 64-bits?

I have been trying to make an installation from source but a lot of missing dependencies have found:

Code: Select all

# ./configure --prefix=/usr && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
...
...
...
configure: error: Package requirements (glib-2.0 >= 2.16.0 gio-2.0 >= 2.15.2) were not met:

No package 'glib-2.0' found
No package 'gio-2.0' found
Spets already made:

Code: Select all

wget http://downloads.sourceforge.net/project/pcmanfm/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/pcmanfm-1.2.0.tar.xz
wget http://downloads.sourceforge.net/project/pcmanfm/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/libfm%20%28required%20by%20PCManFM%29/libfm-1.2.0.tar.xz
wget http://downloads.sourceforge.net/project/lxde/menu-cache/menu-cache%200.5.x/menu-cache-0.5.1.tar.gz

$ yum install make automake autoconf gcc gtk2 glib2 menu-cache libtool pkgconfig intltool gtk-doc
Also been trying to find a RPG package but could not found any.

Thanks.
Rex Bouwense
Posts: 1093
Joined: Sat Aug 27, 2011 5:44 pm
Location: Sierra Vista, Arizona USA
Contact:

Re: PCManFM only installation in CentOS/RedHat

Post by Rex Bouwense »

Is it correct that you do not want the full LXDE (only PCManFM)? I have not dealt much with RedHat distros but I did find these:
http://wiki.lxde.org/en/LXDE:PCManFM_bu ... l_-_FEDORA
https://fedoraproject.org/wiki/LXDE
But they are dealing with Fedora.
Since LXDE is modular you should be able to install one or more of its components.
Rex
LStranger
Posts: 49
Joined: Sat Nov 05, 2011 5:48 pm

Re: PCManFM only installation in CentOS/RedHat

Post by LStranger »

I think you just have to set PKG_CONFIG_PATH appropriately. Try to do

Code: Select all

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib64/pkgconfig
before running ./configure. If you will be able to success then I would like you to update the http://wiki.lxde.org/en/LXDE:PCManFM_bu ... etup_guide page for others.
Thank you very much.
Locked