LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-31-2004, 03:54 AM   #1
phil81
Member
 
Registered: Jun 2003
Location: France
Distribution: Lenny/sid
Posts: 141

Rep: Reputation: 15
compiling question


I am trying to complie a program for the first time .
the program is quanta 3.3 BE2

I have the downloaded folder in my home directory
kdewebdev-3.3-be2

I open a console as root, CD to the directory and type in ./configure
I then get the folloxing output

Code:
[root@toto kdewebdev-3.3-be2]# ./config
bash: ./config: No such file or directory
[root@toto kdewebdev-3.3-be2]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /usr/bin/kde-config
checking where to install... /usr (as returned by kde-config)
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether g++ supports -Wmissing-format-attribute... no
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether g++ supports -Wundef... no
checking whether g++ supports -Wno-long-long... no
checking whether g++ supports -Wnon-virtual-dtor... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
I see a bunch of errors in there but am not too sure what they are ..
if i proceed to type in make iget this :

If I then type in make I get

Code:
[root@toto kdewebdev-3.3-be2]# make
make: *** No targets specified and no makefile found.  Stop.
I have also tried doing this with the Kommander Installer but it doesnt work also

I dont have much idea here and if somebody can see what I am doing wrong I would appreciate it

thanks
 
Old 05-31-2004, 06:05 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Use the Mandrake Control Centre to install gcc++ off your CD's
 
Old 05-31-2004, 09:11 AM   #3
phil81
Member
 
Registered: Jun 2003
Location: France
Distribution: Lenny/sid
Posts: 141

Original Poster
Rep: Reputation: 15
Hi
This is quanta 3.3 B-E so its not available as an rpm its a downloaded tar fille so I have to compile it .

does the mandrake controle center do this ?
 
Old 05-31-2004, 09:41 AM   #4
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS7.6
Posts: 154

Rep: Reputation: 15
You need to pop in your distro cd's and install development tools for your gui (gnome or kde) and install GCC and all the libs for it, not sure how to do this in mandrake but if its like fedora w/kde, you'll find "add/remove programs" under 'system settings' ...
 
Old 06-01-2004, 09:19 AM   #5
phil81
Member
 
Registered: Jun 2003
Location: France
Distribution: Lenny/sid
Posts: 141

Original Poster
Rep: Reputation: 15
Thanks
I will do
that
 
Old 06-02-2004, 08:46 AM   #6
phil81
Member
 
Registered: Jun 2003
Location: France
Distribution: Lenny/sid
Posts: 141

Original Poster
Rep: Reputation: 15
Thumbs up

Thanks again
I Installed GCC with the libraries as well as Autoconf
and the rest was a piece of cake I now have the new Quanta3.3BE set up on my PC
My first compiled program

great one
many thanks
 
  


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
compiling c++ question bluknight43 Programming 3 02-17-2005 06:12 AM
compiling 2.6.8.1 question noxious Slackware 11 09-29-2004 04:34 PM
g++ Compiling Question ErikJohnson Linux - General 9 04-01-2004 07:48 AM
Compiling Question fotoguy Linux - Software 0 05-24-2003 04:41 AM
Compiling Question Bigun Linux - Software 2 01-03-2003 03:39 AM

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

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

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