LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing software - configure-problems (https://www.linuxquestions.org/questions/linux-newbie-8/installing-software-configure-problems-324318/)

kensol 05-17-2005 07:35 AM

Installing software - configure-problems
 
Sorry about this, it's probably a stupid q...

I'm trying to install lcd4linux on my Fedora Core 3 distribution.

I downloaded the file (lcd4linux-0.10.0-RC1.tar-gz), untar'ed it (tar xvzf) and got it packed out in it's new directory. However, when I try to ./configure I get this:

[root@localhost lcd4linux-0.10.0-RC1]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
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.
[root@localhost lcd4linux-0.10.0-RC1]#

What does this mean?? What am I missing? How gan I get this to work? I'm guessing something about the compiler, but what do I need to install to be able to ./configure? I thought this was already installed with Fedora...

Thanks.
Ken

__J 05-17-2005 07:43 AM

Re: Installing software - configure-problems
 
Quote:

Originally posted by kensol
I thought this was already installed with Fedora...

Ken

most of these ( by these I'm referring to Fedora, Suse, Mandrake, etc..) distro's do not include a development environment by default, you have to explicitely tell it to install the packages. grab your install cd's/dvd and install the development packages, if you are planning on compiling applications I'd suggest at least:

autoconf
automake
make
m4
gcc
g++
perl
binutils ( don't forget this one, gcc/g++ need it)
sed
gawk
bison ( this one, gawk and sed are not strictly required, but some builds will need them)
flex
kernel-headers ( not the same thing as kernel source, make sure you install the one that comes with your distro, don't go grab a random one from the net)

also with these distro's, watch out for packages along the following lines ( names are probably a little different, but you should be able to find them or variations of them):

libstdc++
libstdc++-devel
glibc-xxxxx-devel
gcc-libs

kensol 05-17-2005 02:10 PM

Great, thanks a lot!
Ken

cristopher5 09-09-2007 12:28 PM

Hy

I have slackware 12.0 and cannot install LCD4LINUX 0.10.0. can help me somebody?


When type make this error get:
Code:

christensen@darkstar:~/tmp/Linux4LCD/lcd4linux-0.10.0$ make
gcc -DHAVE_CONFIG_H -I. -I. -I.    -D_GNU_SOURCE -Wall -W -g -O2 -c lcd4linux.c
gcc -DHAVE_CONFIG_H -I. -I. -I.    -D_GNU_SOURCE -Wall -W -g -O2 -c cfg.c
gcc -DHAVE_CONFIG_H -I. -I. -I.    -D_GNU_SOURCE -Wall -W -g -O2 -c debug.c
gcc -DHAVE_CONFIG_H -I. -I. -I.    -D_GNU_SOURCE -Wall -W -g -O2 -c drv.c
gcc -DHAVE_CONFIG_H -I. -I. -I.    -D_GNU_SOURCE -Wall -W -g -O2 -c evaluator.c
gcc -DHAVE_CONFIG_H -I. -I. -I.    -D_GNU_SOURCE -Wall -W -g -O2 -c hash.c
gcc -DHAVE_CONFIG_H -I. -I. -I.    -D_GNU_SOURCE -Wall -W -g -O2 -c layout.c
gcc -DHAVE_CONFIG_H -I. -I. -I.    -D_GNU_SOURCE -Wall -W -g -O2 -c pid.c
gcc -DHAVE_CONFIG_H -I. -I. -I.    -D_GNU_SOURCE -Wall -W -g -O2 -c timer.c
gcc -DHAVE_CONFIG_H -I. -I. -I.    -D_GNU_SOURCE -Wall -W -g -O2 -c thread.c
gcc -DHAVE_CONFIG_H -I. -I. -I.    -D_GNU_SOURCE -Wall -W -g -O2 -c udelay.c
In file included from udelay.c:151:
/usr/include/asm/msr.h:90: error: expected declaration specifiers or '...' before 'u32'
/usr/include/asm/msr.h:90: error: expected declaration specifiers or '...' before 'u32'
/usr/include/asm/msr.h:90: error: expected declaration specifiers or '...' before 'u32'
/usr/include/asm/msr.h: In function 'rdmsr_on_cpu':
/usr/include/asm/msr.h:92: error: 'l' undeclared (first use in this function)
/usr/include/asm/msr.h:92: error: (Each undeclared identifier is reported only once
/usr/include/asm/msr.h:92: error: for each function it appears in.)
/usr/include/asm/msr.h:92: error: 'h' undeclared (first use in this function)
/usr/include/asm/msr.h:92: error: 'msr_no' undeclared (first use in this function)
/usr/include/asm/msr.h:92: error: invalid lvalue in asm output 0
/usr/include/asm/msr.h:92: error: invalid lvalue in asm output 1
/usr/include/asm/msr.h: At top level:
/usr/include/asm/msr.h:94: error: expected declaration specifiers or '...' before 'u32'
/usr/include/asm/msr.h:94: error: expected declaration specifiers or '...' before 'u32'
/usr/include/asm/msr.h:94: error: expected declaration specifiers or '...' before 'u32'
/usr/include/asm/msr.h: In function 'wrmsr_on_cpu':
/usr/include/asm/msr.h:96: error: 'msr_no' undeclared (first use in this function)
/usr/include/asm/msr.h:96: error: 'l' undeclared (first use in this function)
/usr/include/asm/msr.h:96: error: 'h' undeclared (first use in this function)
make: *** [udelay.o] Error 1



All times are GMT -5. The time now is 04:21 PM.