Jump to content
Sign in to follow this  
mizzy

Slight problem with installing GNOME Commander

Recommended Posts

I've downloaded gnome-commander-1.1.7.tar.gz from 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 :unsure: )

 

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:

 

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...

 

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

Share this post


Link to post
Share on other sites

easy enough to fix, you have no compiler !

 

log in as root and do this

 

yum install gcc*

 

then try again

 

cheers

anyweb

Share this post


Link to post
Share on other sites

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

 

...................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 :):)

Share this post


Link to post
Share on other sites

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

 

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

Share this post


Link to post
Share on other sites
First .. did you check to see if a RPM was kicking around .... anyway :)

 

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

 

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 :D

 

Cheers for your help!

Share this post


Link to post
Share on other sites

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 :D but if anybody knows of an application that would do this, would appreciate to know what it is! Cheers :D

Share this post


Link to post
Share on other sites
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 :D but if anybody knows of an application that would do this, would appreciate to know what it is! Cheers :D

 

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

 

First little bit of preparation:

mkdir ~/bin

 

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

 

#!/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

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?

Share this post


Link to post
Share on other sites
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 :D:D:D:D

Share this post


Link to post
Share on other sites

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? :)

Share this post


Link to post
Share on other sites
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

 

chmod a+x ./de-renamer

 

and try again.

Share this post


Link to post
Share on other sites

Thanks for that, I did run that in the bin folder and I've have got a lil bit further but...

 

After all the above is done and I unlock the de-renamer file, I then CD to my folder that has my images and type: de-renamer funkyevent and I get back: ls: [0-9][0-9][0-9][0-9]: No such file or directory

 

:( There are about 20 images in there, and they even show up when I type ls in terminal. Any idea's? :)

Share this post


Link to post
Share on other sites
There are about 20 images in there, and they even show up when I type ls in terminal.

 

Ah .. you couldn't have given me the correct name.. it is looking for a file that is ONLY numbers, I see you say "images" .. so it will have an extension (like .jpg or .gif) ..

 

Give me a better example and I will show you what to alter to make it work.

Share this post


Link to post
Share on other sites

Oh, my apologise's for not making myself clear...

 

Its images files and they are named as : dscf0264.jpg, dscf0265.jpg, dscf0266.jpg etc :) But if I can, I want to re-number them to a date and chosen file name, then order them in number order. So like I want the final result to look like: 07052006_whatever_001.jpg, 07052006_whatever_002.jpg, 07052006_whatever_003. jpg etc :)

Share this post


Link to post
Share on other sites
Oh, my apologise's for not making myself clear...

 

Its images files and they are named as : dscf0264.jpg, dscf0265.jpg, dscf0266.jpg etc :) But if I can, I want to re-number them to a date and chosen file name, then order them in number order. So like I want the final result to look like: 07052006_whatever_001.jpg, 07052006_whatever_002.jpg, 07052006_whatever_003. jpg etc :)

 

OK! reworking what i had

 

#!/bin/sh

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

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

# DSCF0000.JPG   variants of filenames accepted
# dscf0000.jpg
for p in `ls {dscf,DSCF}[0-9][0-9][0-9][0-9].{jpg,JPG}`
do
numbers=`echo $p | sed 's/^dscf//i'`
mv -i $p ${date}_${event}_${file}.jpg
done

 

Ok, I switch the date style... and added the ability to see the files you want.. :)

 

Should do it now.. fingers crossed ;)

 

Oh .. renumber! I didn't do that .. er we can do that too :P (it is just using the existing numbers)

 

The above stuff .. does

1233 -> 1233 it will not renumber it .. so

 

. this is the same thing .. but this time renumbering too!

 

#!/bin/sh

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

date=`date +%d%m%Y`
event=$1
start=1

for p in `ls {dscf,DSCF}[0-9][0-9][0-9][0-9].{jpg,JPG}`
do
file=`printf "%03u" $num`
mv -i $p ${date}_${event}_${file}.jpg
let "num = num + 1"
done

Share this post


Link to post
Share on other sites

:D:D:D:D:D BINGO!! :D:D:D:D:D:D:D

 

Finally worked! YAY! I'm so pleased! Your a genius!!! :D:D:D I used the bottom code as I want them in number order. THANKS AGAIN, your a star!!! :)

 

Made my head spin a bit, I got there in the end tho :D

Share this post


Link to post
Share on other sites
BINGO!!

 

^_^

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...