Quote:
Originally Posted by kaz2100
|
Thanks for the link, but I'm a real newbie and this is a little hard for me to understand.
My error message in the config.log was:
configure:1573: checking for a BSD-compatible install
configure:1628: result: /usr/bin/install -c
configure:1639: checking whether build environment is sane
configure:1682: result: yes
configure:1747: checking for gawk
configure:1763: found /usr/bin/gawk
configure:1773: result: gawk
configure:1783: checking whether make sets $(MAKE)
configure:1803: result: yes
configure:1971: checking whether to enable maintainer-specific portions of Makef
iles
configure:1980: result: no
configure:2041: checking for gcc
configure:2070: result: no
configure:2121: checking for cc
configure:2150: result: no
configure:2163: checking for cc
configure:2209: result: no
configure:2262: checking for cl
configure:2291: result: no
configure:2305: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
bigrigdriver suggests that:
Quote:
As the error message states, the compiler was not found in your $PATH (the path variable used by bash when looking for executables).
To fix this, edit /etc/ld.so.conf and add the paths to the compilers mentioned in the error message. Then run the command 'source /etc/ld.so.conf' to get bash to reload the $PATH, then try again.
|
I'm not sure what he means by "paths to the compilers mentioned in the error message".
I know my gcc is in /usr/libexec/gcc
I'm installing from /usr/X11R6/lib/modules/linuxwacom-0.7.6-4 where my wacam tablet driver files are.
I also get errors in the config.log:
ACLOCAL='${SHELL} /usr/X11R6/lib/modules/linuxwacom-0.7.6-4/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/X11R6/lib/modules/linuxwacom-0.7.6-4/missing --run tar'
AR=''
AUTOCONF='${SHELL} /usr/X11R6/lib/modules/linuxwacom-0.7.6-4/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/X11R6/lib/modules/linuxwacom-0.7.6-4/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/X11R6/lib/modules/linuxwacom-0.7.6-4/missing --run automake-1.9'
MAKEINFO='${SHELL} /usr/X11R6/lib/modules/linuxwacom-0.7.6-4/missing --run makeinfo'
then I get
install_sh='/usr/X11R6/lib/modules/linuxwacom-0.7.6-4/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
Does that mean it's finding the gcc path?
What exacly am I to add to the /etc/ld.so.conf file?
My bash-profile file is in /usr/share/doc/bash-3.0/startup-files/
And this is what's in it:
# This is the filename where your incoming mail arrives.
MAIL=~/mbox
MAILCHECK=30
HISTFILE=~/.history/history.$HOSTNAME
PATH1=/usr/homes/chet/bin.$HOSTTYPE:/usr/local/bin/gnu:
PATH2=/usr/local/bin:/usr/ucb:/bin:/usr/bin/X11:.
PATH3=/usr/bin:/usr/new/bin:/usr/contrib/bin
PATH=$PATH1:$PATH2:$PATH3
EDITOR=/usr/local/bin/ce VISUAL=/usr/local/bin/ce FCEDIT=/usr/local/bin/ce
SHELL=${SHELL:-${BASH:-/bin/bash}}
PAGER=/usr/local/bin/less
LESS='-i -e -M -P%t?f%f :stdin .?pb%pb\%:?lbLine %lb:?bbByte %bb:-...'
#
# Bogus 1003.2 variables. This should really be in /etc/profile
#
LOGNAME=${USER-$(whoami)}
TZ=US/Eastern
export HOME VISUAL EDITOR MAIL SHELL PATH TERM
export PAGER LESS TERMCAP HISTSIZE HISTFILE MAIL MAILCHECK LOGNAME TZ
PS1="${HOSTNAME}\$ "
PS2='> '
export PS1 PS2
umask 022
if [ -f /unix ] ; then
stty intr ^c # bogus
fi
if [ -f ~/.bashrc ] ; then
. ~/.bashrc
fi
My profile file is in /etc
And this is what it contains:
# /etc/profile
# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc
pathmunge () {
if ! echo $PATH | /bin/egrep -q "(^|
$1($|
" ; then
if [ "$2" = "after" ] ; then
PATH=$PATH:$1
else
PATH=$1:$PATH
fi
fi
}
# Path manipulation
if [ $EUID = 0 ]; then
pathmunge /sbin
pathmunge /usr/sbin
pathmunge /usr/local/sbin
fi
pathmunge /usr/X11R6/bin after
# No core files by default
ulimit -S -c 0 > /dev/null 2>&1
USER="`id -un`"
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"
HOSTNAME=`/bin/hostname`
HISTSIZE=1000
if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
INPUTRC=/etc/inputrc
fi
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC
for i in /etc/profile.d/*.sh ; do
if [ -r "$i" ]; then
. $i
fi
done
unset i
unset pathmunge
Is this making any sense?
What should I do?
I ran the yum install gcc command from /etc
It seems to have installed, but when I ran the ./configure command from /usr/X11R6/lib/modules/linuxwacom*
I got the no acceptable C compiler found in $PATH error again.