LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-05-2007, 12:46 PM   #1
pan
LQ Newbie
 
Registered: Mar 2007
Posts: 17

Rep: Reputation: 0
Help! - C compiler path error with Wacom driver install


Hello,
I'm trying to install an Intuos serial wacom tablet on i386-redhat-linux. I attached my tablet and downloaded linuxwacom-0.7.6-4 from the linuxwacom.com site.
I unpacked the contents into /usr/X11R6/lib/modules and tried to run the ./configure script. I got error messages:

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 whether to enable maintainer-specific portions of Makefiles... no
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.

Then I did a search for my gcc and found it in:
/usr/libexec/gcc

Is there a problem with the path of gcc when it's trying to install the program into /usr/bin ?

What can I do to install this correctly?

Please help!

Thanks,
Pan
 
Old 03-06-2007, 10:19 AM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Rep: Reputation: 108Reputation: 108
http://www.linuxquestions.org/questi...Flibexec%2Fgcc

Happy Penguins!
 
Old 03-06-2007, 11:23 AM   #3
pan
LQ Newbie
 
Registered: Mar 2007
Posts: 17

Original Poster
Rep: Reputation: 0
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.
 
Old 03-06-2007, 05:23 PM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Rep: Reputation: 108Reputation: 108
Hi,

I do not think you have gcc installed. Usually, gcc lives in /usr/bin/

I do not know what distro your penguin is, so I do not know how to install gcc. (yum, rpm, apt or something else)

Whatever you posted may make sense. It all depends on your configuration.

anyway.

#1. DO NOT EDIT /etc/ld.so.conf, at this moment.
#2. post output of "echo $PATH", "which gcc" and "gcc -v"
#3. This is the first step lesson in Penguin world (and *ix), everybody once experiences.

Happy Penguins!
 
Old 03-07-2007, 09:35 AM   #5
pan
LQ Newbie
 
Registered: Mar 2007
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by kaz2100
Hi,

I do not think you have gcc installed. Usually, gcc lives in /usr/bin/

I do not know what distro your penguin is, so I do not know how to install gcc. (yum, rpm, apt or something else)

Whatever you posted may make sense. It all depends on your configuration.

anyway.

#1. DO NOT EDIT /etc/ld.so.conf, at this moment.
#2. post output of "echo $PATH", "which gcc" and "gcc -v"
#3. This is the first step lesson in Penguin world (and *ix), everybody once experiences.

Happy Penguins!
Thanks!

This is what I get with "echo $PATH":

[root@localhost 64]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/Pan/bin:/usr/local/shake-v4.00.0607/bin/:

which gcc:

[root@localhost 64]# which gcc
/usr/bin/which: no gcc in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/Pan/bin:/usr/local/shake-v4.00.0607/bin/

with gcc -v I get:

[root@localhost 64]# gcc -v
bash: gcc: command not found
 
Old 03-08-2007, 11:35 AM   #6
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Rep: Reputation: 108Reputation: 108
Hi,

I do not think you have gcc.

libexec/gcc is usually a directory.

Post your distro.

Happy Penguins!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't install Wacom tablet driver pan Linux - Hardware 1 03-26-2007 05:52 AM
CMake error -- needs full path of compiler Penguin of Wonder Programming 2 01-31-2006 03:22 PM
error : no acceptable C compiler found in $PATH tzonga1 Linux - Software 1 03-02-2005 09:01 PM
how to install C compiler in $PATH? hari78 Linux - Newbie 5 03-02-2005 07:39 AM
error: no acceptable C compiler found in $PATH Tracianddwayne Linux - Newbie 1 12-23-2004 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration