Linux-Noob Forums
Slight problem with installing GNOME Commander - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html)
+---- Forum: Compressed Files (https://www.linux-noob.com/forums/forum-30.html)
+---- Thread: Slight problem with installing GNOME Commander (/thread-1991.html)

Pages: 1 2


Slight problem with installing GNOME Commander - mizzy - 2006-05-05


I've downloaded gnome-commander-1.1.7.tar.gz from [/url][url=http://www.nongnu.org/gcmd/]http://www.nongnu.org/gcmd/ which is a file manager program.

 

To install I have done;

 

Downloaded to desktop then cut & past it to my home folder (I didn't know where else to install it :/ )

 

Then I did;
  • cd /home/mizzy

  • tar -xvzf gnome-commander-1.1.7.tar.gz

  • cd gnome-commander-1.1.7

  • ./configure && make && checkinstall

After the last step, I get this error message in terminal:

 



Code:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.




 

..any idea's why? I did look in config.log but couldn't really make head nor tail of it. Below is what config.log says...

 



Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost.localdomain
uname -m = i686
uname -r = 2.6.11-1.1369_FC4
uname -s = Linux
uname -v = #1 Thu Jun 2 22:55:56 EDT 2005

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/kerberos/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /home/mizzy/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1540: checking for a BSD-compatible install
configure:1595: result: /usr/bin/install -c
configure:1606: checking whether build environment is sane
configure:1649: result: yes
configure:1714: checking for gawk
configure:1730: found /usr/bin/gawk
configure:1740: result: gawk
configure:1750: checking whether make sets $(MAKE)
configure:1770: result: yes
configure:1984: checking for gcc
configure:2013: result: no
configure:2064: checking for cc
configure:2093: result: no
configure:2106: checking for cc
configure:2152: result: no
configure:2205: checking for cl
configure:2234: result: no
configure:2248: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/Emz/gnome-commander-1.1.7/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/Emz/gnome-commander-1.1.7/missing --run tar'
AR=''
AUTOCONF='${SHELL} /home/Emz/gnome-commander-1.1.7/missing --run autoconf'
AUTOHEADER='${SHELL} /home/Emz/gnome-commander-1.1.7/missing --run autoheader'
AUTOMAKE='${SHELL} /home/Emz/gnome-commander-1.1.7/missing --run automake-1.9'
AWK='gawk'
CATALOGS=''
CATOBJEXT=''
CC=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
GETTEXT_PACKAGE=''
GLIB_CFLAGS=''
GLIB_LIBS=''
GLIB_PREFIX=''
GLIB_VERSION=''
GMODULE_AVAIL=''
GMOFILES=''
GMSGFMT=''
GNOMEUI_CFLAGS=''
GNOMEUI_LIBS=''
GNOMEUI_PREFIX=''
GNOMEUI_VERSION=''
GNOMEVFS_CFLAGS=''
GNOMEVFS_LIBS=''
GNOMEVFS_PREFIX=''
GNOMEVFS_VERSION=''
GNOME_CFLAGS=''
GNOME_LIBS=''
GNOME_PREFIX=''
GNOME_VERSION=''
GTK_CFLAGS=''
GTK_LIBS=''
GTK_PREFIX=''
GTK_VERSION=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
INTLTOOL_CAVES_RULE=''
INTLTOOL_DESKTOP_RULE=''
INTLTOOL_DIRECTORY_RULE=''
INTLTOOL_EXTRACT=''
INTLTOOL_ICONV=''
INTLTOOL_KBD_RULE=''
INTLTOOL_KEYS_RULE=''
INTLTOOL_MERGE=''
INTLTOOL_MSGFMT=''
INTLTOOL_MSGMERGE=''
INTLTOOL_OAF_RULE=''
INTLTOOL_PERL=''
INTLTOOL_PONG_RULE=''
INTLTOOL_PROP_RULE=''
INTLTOOL_SCHEMAS_RULE=''
INTLTOOL_SERVER_RULE=''
INTLTOOL_SHEET_RULE=''
INTLTOOL_SOUNDLIST_RULE=''
INTLTOOL_THEME_RULE=''
INTLTOOL_UI_RULE=''
INTLTOOL_UPDATE=''
INTLTOOL_XAM_RULE=''
INTLTOOL_XGETTEXT=''
INTLTOOL_XML_NOMERGE_RULE=''
INTLTOOL_XML_RULE=''
LDFLAGS=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO='${SHELL} /home/Emz/gnome-commander-1.1.7/missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
OBJEXT=''
PACKAGE='gnome-commander'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PLUGIN_DIR=''
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
PREFIX=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_NLS=''
VERSION='1.1.7'
XGETTEXT=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/Emz/gnome-commander-1.1.7/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "gnome-commander"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "1.1.7"

configure: exit 1







Slight problem with installing GNOME Commander - anyweb - 2006-05-05


easy enough to fix, you have no compiler !

 

log in as root and do this

 



Code:
yum install gcc*




 

then try again

 

cheers

anyweb




Slight problem with installing GNOME Commander - mizzy - 2006-05-05


Thanks for that anyweb. Still one other issue. After doing ./configure the following error comes up:

 



Code:
...................checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  ca cs de el en_CA en_GB es eu fr ga hr hu nb ne nl no pa pl pt pt_BR ru rw sk sq sr sr@Latn sv uk zh_CN zh_TW
checking if glib >= 2.0.0 exists... ./configure: line 21831: pkg-config: command not found
configure: error: no




 

Any idea's of what that is? Also once you have installed a program, where does it appear? How do you confirm that it has been installed etc?

 

Thanks :):)




Slight problem with installing GNOME Commander - znx - 2006-05-05


First .. did you check to see if a RPM was kicking around .... anyway :)

 



Code:
yum install glib-devel




 

When you are installing from source you need extra files (headers and static libraries) the devel packages contain these.

 

So if it says .. X test fails ... try installing x-devel.

 

If it installs correctly it will be put in /usr/local/bin/ by default. It will probably be the only thing in there :P




Slight problem with installing GNOME Commander - mizzy - 2006-05-06


Quote:First .. did you check to see if a RPM was kicking around .... anyway :) 



Code:
yum install glib-devel

<div>


 

When you are installing from source you need extra files (headers and static libraries) the devel packages contain these.

 

So if it says .. X test fails ... try installing x-devel.

 

If it installs correctly it will be put in /usr/local/bin/ by default. It will probably be the only thing in there :P

</div>
 

That wouldn't install in root for some reason, so I went to find the RPM for this (didn't think to do that first) and I tried to install it via terminal following the rpm command (cd'ed to location then rpm -ivh file.rpm and that didn't work :S ) so then I just double clicked it, entered roots password and it worked! Didn't think that RPM's worked that way, it then just showed up under accessorys.

 

Thanks for your help! I am trying to rtfm as much as I can before posting, but some things I just can't find :)

 

Cheers for your help!




Slight problem with installing GNOME Commander - mizzy - 2006-05-06


Right, finally run the advanced re-naming tool in Gnome Commander but it don't do what I want it to do. I was hoping that this would rename a load of files from 0001, 0002, 003 to date_event_001, date_event_002, date_event_001 etc

 

Still pretty useful tho. I'm off to google to search for another :) but if anybody knows of an application that would do this, would appreciate to know what it is! Cheers :)




Slight problem with installing GNOME Commander - znx - 2006-05-06


Quote:Right, finally run the advanced re-naming tool in Gnome Commander but it don't do what I want it to do. I was hoping that this would rename a load of files from 0001, 0002, 003 to date_event_001, date_event_002, date_event_001 etc 

Still pretty useful tho. I'm off to google to search for another :) but if anybody knows of an application that would do this, would appreciate to know what it is! Cheers :)
 

You can do this with shell .. it should be that hard..

 

First little bit of preparation:



Code:
mkdir ~/bin




 

Then make a file call it ~/bin/de-renamer .. or anything :P Inside put:

 



Code:
#!/bin/sh

if [ $# -ne 1 ]
then
echo "$0 event"
exit
fi

date=`date +%Y%m%d`  #20060506
event=$1

for p in `ls [0-9][0-9][0-9][0-9]`
do
mv -i $p ${date}_${event}_$p
done




 

So .. to use it you would move into the directory that contains the files .. and



Code:
de-renamer funkyevent




 

It would then move files from:

0001 -> 20060506_funkyevent_0001

0002 -> 20060506_funkyevent_0002

2341 -> 20060506_funkyevent_2341

0101 -> 20060506_funkyevent_0101

 

Etc .. is that what you needed?




Slight problem with installing GNOME Commander - mizzy - 2006-05-06


Quote:Etc .. is that what you needed?
 

 

Yes it is!!!! Gee thank you!!! Now just give me a few hours to work out how to do that :):):):)




Slight problem with installing GNOME Commander - mizzy - 2006-05-06


Right this is what I've done, can you tell me where I've gone wrong? Everytime I try it I just get permission denied :(

 

Terminal > mkdir ~/bin

 

Opened up Text Editor and copied & pasted the code above exactly > saved that as > ~/bin/de-renamer

 

Then I have opened up terminal again and cd'ed to my image folder and typed : de-renamer funkyevent and all I get back is: permission denied.

 

I have tried copying my images to the bin directory too to and run this script again in terminal, but the I got persmission denied back again :(

 

Where have I gone wrong? :)




Slight problem with installing GNOME Commander - hybrid - 2006-05-06


Quote:Right this is what I've done, can you tell me where I've gone wrong? Everytime I try it I just get permission denied :( 

Terminal > mkdir ~/bin

 

Opened up Text Editor and copied & pasted the code above exactly > saved that as > ~/bin/de-renamer

 

Then I have opened up terminal again and cd'ed to my image folder and typed : de-renamer funkyevent and all I get back is: permission denied.

 

I have tried copying my images to the bin directory too to and run this script again in terminal, but the I got persmission denied back again :(

 

Where have I gone wrong? :)
 

Go to ~/bin in your terminal and run

 



Code:
chmod a+x ./de-renamer




 

and try again.