LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-17-2005, 07:35 AM   #1
kensol
LQ Newbie
 
Registered: May 2005
Posts: 2

Rep: Reputation: 0
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
 
Old 05-17-2005, 07:43 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
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

Last edited by __J; 05-17-2005 at 07:44 AM.
 
Old 05-17-2005, 02:10 PM   #3
kensol
LQ Newbie
 
Registered: May 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Great, thanks a lot!
Ken
 
Old 09-09-2007, 12:28 PM   #4
cristopher5
Member
 
Registered: Jun 2006
Distribution: Slackware 13.1 & Suse 11.3
Posts: 46

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problems with the ./configure part, installing gcc-3.4.4 hyssing_ Linux - Newbie 2 08-21-2005 05:22 PM
problems installing software GNUaddict Linux - Software 2 04-16-2005 02:25 PM
problems installing software markyb SUSE / openSUSE 2 04-07-2005 05:46 PM
Problems installing new software trblcmn Linux - Newbie 13 12-09-2003 11:59 PM
problems with installing software deezay Linux - Software 2 04-05-2002 07:44 AM


All times are GMT -5. The time now is 07:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration