12-17-2008
./configure command Error while trying to install GCC compiler on unix machine
Hi,
I need to install the GCC compiler on a my Linus machine.
First step is to run the ./configure command and here we need to specify
./configure --target="target machine name (CPU type-Manufacturer-OS)
or other way would be just give the command ./configure and it guesses the target name from the file config.guess.
uname -a in my system gives
Linux 137.132.80.158 2.6.25-14.fc9.i686 #1 SMP Thu May 1 06:28:41 EDT 2008 i686 i686 i386 GNU/Linux
So I tried giving the format CPU type-Manufacturer-OS for my system as
i686-unknown-Linux
Also tried adding a new case in config.guess file to add my case ie for i686.
It keeps giving error "Invalid Configuration" if I directly give in the configure command or edit the config.guess file.
How do I give the rite values of CPU type-Manufacturer-OS ...Is there any command to find the values.Please let me know as Iam not able to proceed forward as configure command itself gives error.
Regards,
vijaya.
Last edited by viji19812001; 12-18-2008 at 12:06 AM..
10 More Discussions You Might Find Interesting
1. Programming
I want to install the Perl DBI module on to
my solaris ultra 10.
Solaris ultra 10 does not come with a C compiler
so I downloaded gcc compiler.
Then I ran install as follows:
# cd DBI-1.30
# ls
blib DBI.xs Driver.xst Perl.c test.pl
Changes dbi_sql.h ... (2 Replies)
Discussion started by: photon
2 Replies
2. Linux
I download a gcc3.0.tar.gz file ,then tar it.
Continue,I change current path to gcc3.0 and press
./configure
The error appeared ,it is CC command not found .
Please tell me What can I do to pass on. (1 Reply)
Discussion started by: fansings
1 Replies
3. Solaris
Hi,
Installed the gcc compiler off the Solaris 9 Companion CD a while back , but needed to delete it due to disk space issues.
Now that I have sorted out our root disk space I can`t reinstall the compiler.
If I select all the packages off the Development/Languages menu , the install list... (3 Replies)
Discussion started by: markdr011
3 Replies
4. Programming
I am new to comiling c/c++ programs with gcc compilier
unix - AIX version 5.3
gcc compiler version - 4.0.0
My makefile.
# makefile 1.0 08/20/98
#CC = cc
CC = gcc
ESQL = esql
CFLAGS = -Wall
DBSLIB=
DBSLIB=-L${INFORMIXDIR}/lib/esql -L${INFORMIXDIR}/lib `esql -libs`
ALL = hds_near... (9 Replies)
Discussion started by: anish
9 Replies
5. HP-UX
Hi
I have locally compiled and installed gcc-4.1.2 in directory /usr/local/pkg/gcc/4.1.2/bin/gcc
I want to compile beecrypt using this new compiler , So i have done
setenv CC usr/local/pkg/gcc/4.1.2/bin/gcc ( Note this configuration is running properly with older version of... (1 Reply)
Discussion started by: vasanthan
1 Replies
6. AIX
I want to install gcc compiler on aix box.
$uname -a
AIX GTMIT 3 5 000000000000
Can any one help me installing gcc compiler(step by step)either by smit or rpm commands ?
What is boot straping ?
Its urgent ..
Thanks in advance (2 Replies)
Discussion started by: kittu1979
2 Replies
7. Programming
To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first?
The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's...
Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies
8. UNIX for Dummies Questions & Answers
Hi all
I'm trying to install sudo. When I first ran the sudo configure script it errored saying that I didn't have a C compiler. I have since installed the GCC 3.4.6 package for sol8 from sun freeware.
Doing that resolved the no C complier found error. I was then getting an error saying... (1 Reply)
Discussion started by: Donkey25
1 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
I've done hours of reading on google and can't find an answer...
I'm trying to compile/install the Apache web server on a Unix vm.
When i try ./compile (the file's been unzipped already), I get this error:
$ ./configure
checking for chosen layout... Apache
checking for working mkdir... (8 Replies)
Discussion started by: eddlo
8 Replies
10. UNIX for Advanced & Expert Users
Hi,
Apologies if I posted it in a wrong section as it is related to gcc on cygwin. Please move it to appropriate section.
I'm trying to compile and build libsigc++-2.10.2 on cygwin with gcc 8.3.0.
when I run ./configure, I get this:
I couldn't fully understand what does... (13 Replies)
Discussion started by: prvnrk
13 Replies
LEARN ABOUT OSX
perldgux5.16
PERLDGUX(1) Perl Programmers Reference Guide PERLDGUX(1)
NAME
perldgux - Perl under DG/UX.
SYNOPSIS
One can read this document in the following formats:
man perldgux
view perl perldgux
explorer perldgux.html
info perldgux
to list some (not all may be available simultaneously), or it may be read as is: as README.dgux.
DESCRIPTION
Perl 5.7/8.x for DG/UX ix86 R4.20MU0x
BUILDING PERL ON DG
/UX
Non-threaded Perl on DG/UX
Just run ./Configure script from the top directory. Then give "make" to compile.
Threaded Perl on DG/UX
If you are using as compiler GCC-2.95.x rev(DG/UX) an easy solution for configuring perl in your DG/UX machine is to run the command:
./Configure -Dusethreads -Duseithreads -Dusedevel -des
This will automatically accept all the defaults and in particular /usr/local/ as installation directory. Note that GCC-2.95.x rev(DG/UX)
knows the switch -pthread which allows it to link correctly DG/UX's -lthread library.
If you want to change the installation directory or have a standard DG/UX with C compiler GCC-2.7.2.x then you have no choice than to do an
interactive build by issuing the command:
./Configure -Dusethreads -Duseithreads
In particular with GCC-2.7.2.x accept all the defaults and *watch* out for the message:
Any additional ld flags (NOT including libraries)? [ -pthread]
Instead of -pthread put here -lthread. CGCC-2.7.2.x that comes with the DG/UX OS does NOT know the -pthread switch. So your build will fail
if you choose the defaults. After configuration is done correctly give "make" to compile.
Testing Perl on DG/UX
Issuing a "make test" will run all the tests. If the test lib/ftmp-security gives you as a result something like
lib/ftmp-security....File::Temp::_gettemp:
Parent directory (/tmp/) is not safe (sticky bit not set
when world writable?) at lib/ftmp-security.t line 100
don't panic and just set the sticky bit in your /tmp directory by doing the following as root:
cd / chmod +t /tmp (=set the sticky bit to /tmp).
Then rerun the tests. This time all must be OK.
Installing the built perl on DG/UX
Run the command "make install"
AUTHOR
Takis Psarogiannakopoulos University of Cambridge Centre for Mathematical Sciences Department of Pure Mathematics Wilberforce road
Cambridge CB3 0WB , UK email <takis@XFree86.Org>
SEE ALSO
perl(1).
perl v5.16.2 2012-10-11 PERLDGUX(1)