Sponsored Content
Operating Systems Solaris gcc -3.4.6 solaris installation error Post 302251970 by sonu2die4 on Tuesday 28th of October 2008 12:46:59 PM
Old 10-28-2008
gcc -3.4.6 solaris installation error

Hi ,
I am installing gcc 3.4.6 on SunOS labcvs001sm 5.9 Generic_117171-07 sun4u sparc

SUNW,Ultra-5_10 . The isa info is 'sparcv'.

I have the following with me
a)gcc-3.4.6.tar
b)gcc-3.4.6-sol9-sparc-local
c)libiconv-1.11-sol9-sparc-local
d) binutils-2.18.tar.gz
e) make-3.81-sol9-sparc-local

1.I start by untarring gcc-3.4.6.tar with the command gtar xvf gcc-3.4.6.tar
2.I then gunzip and add the 'gcc-3.4.6-sol9-sparc-local' and 'libiconv-1.11-sol9

-sparc-local'

pkgadd -d gcc-3.4.6-sol9-sparc-local
pkgadd -d libiconv-1.11-sol9-sparc-local

3.I then update the pathvariable to

export PATH=/usr/local/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

4.After this I go to 'gcc-3.4.6' Dirctory.

5.IN this directory I do mkdir ObjectDir

6.Now in 'gcc-3.4.6' Dirctory I run ./configure

7. After the configure is successful say make in 'gcc-3.4.6' Directory

8.After some time I get this error

make[1]: Entering directory `/(my temp directory for installation )/gcc-

3.4.6/libiberty'
rm -f libiberty.a pic/libiberty.a
ar rc libiberty.a \
regex.o cplus-dem.o cp-demangle.o cp-demint.o md5.o alloca.o argv.o

choose-temp.o concat.o dyn-string.o fdmatch.o fibheap.o floatformat.o fnmatch.o

getopt.o getopt1.o getpwd.o getruntime.o hashtab.o hex.o lbasename.o lrealpath.o

make-relative-prefix.o make-temp-file.o objalloc.o obstack.o partition.o

physmem.o pex-unix.o safe-ctype.o sort.o spaces.o splay-tree.o strerror.o

strsignal.o ternary.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o

asprintf.o mempcpy.o mkstemps.o setenv.o sigsetmask.o stpcpy.o stpncpy.o

vasprintf.o
make[1]: ar: Command not found
make[1]: *** [libiberty.a] Error 127
make[1]: Leaving directory `/(my temp directory for installation)/gcc-

3.4.6/libiberty'
make: *** [all-libiberty] Error 2

Any help is very deeply appreciated
Regards
//Vivek
 

9 More Discussions You Might Find Interesting

1. Programming

gcc installation

hi , iam trying to install gcc compiler on a sun sparc sytem running solaris 9 . i have searched the internet for documentaion on how to install gcc , but the steps are unclear . could anyone help me with a document , because the documentaions i found are really confusing . thank you... (1 Reply)
Discussion started by: itspascal
1 Replies

2. UNIX for Advanced & Expert Users

gcc installation in solaris 8

Hi, I am having trouble installing gcc 3.4.2-sol8-sparc-local in my sparc machine running solaris 8. It looks like I do not have enough memory in /var , but I have about 3GB free memory in /export/home. I have read some suggestion from previous threads that said it is possible to link /var and... (8 Replies)
Discussion started by: prosper
8 Replies

3. Solaris

Installation error Solaris 10

Hi there, new to unix/linux, please excuse me! I am trying to install Solaris 10 on a machine, and after some teething problems (on another thread) I have got so far with the installation and am now getting an different error: Warning Error : The Solaris CD/DVD you inserted is not compatible... (3 Replies)
Discussion started by: gavin watson
3 Replies

4. Solaris

gcc -3.4.6 installation help

Hi, I want to install the gcc-3.4.6 on solaris 9.5 , in order to compile perl 5.8.8 . I have the following packages . gcc-3.4.6.tar ibiconv-1.11-sol9-sparc-local.gz gcc-3.4.6-sol9-sparc-local libiconv-1.11.tar.gz Where can I find the necessary documents or... (4 Replies)
Discussion started by: sonu2die4
4 Replies

5. UNIX for Dummies Questions & Answers

GCC installation

I was informed that one should have a strong c programming background in order to do a proper compile of GCC. I am of the opinion that having such a background would be helpful but not entirely necessary. What do you think? (1 Reply)
Discussion started by: mjl927
1 Replies

6. UNIX for Dummies Questions & Answers

GCC installation .

I m trying to Install FTP (vsftpd-2.3.2) on my linux machine. # lsb_release -a LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID: EnterpriseEnterpriseServer Description: Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)... (7 Replies)
Discussion started by: pinga123
7 Replies

7. Programming

gcc symbol reference error in Solaris

Hi there, Honestly i'm not much of a code guy but i found some short piece of code over the net which i need to compile in my Solaris machine (in order to change my hostid). As far as i read - i need to use the gcc to compile this short text file making it an executable file. My problem is... (0 Replies)
Discussion started by: avisht
0 Replies

8. Solaris

Solaris Installation Error please help

Hello, My Solaris 10 on VMWare Workstation crashed and was giving me so many errors i decided to re install it but after selecting the type of Solaris installation this error comes up: Warning: /pci@0,0/pci15ad,79011/pci15ad,770@3 (echi0): No SOF interrupts have been recieved, this USB EHCI... (0 Replies)
Discussion started by: runell
0 Replies

9. Solaris

Solaris 10 flash installation - fatal error. Solaris installation program exited.

Not very helpful to say the least. Seems to read the flar file and go through the upgrade and then come up with this error. Any ideas? (1 Reply)
Discussion started by: psychocandy
1 Replies
PCRESAMPLE(3)						     Library Functions Manual						     PCRESAMPLE(3)

NAME
PCRE - Perl-compatible regular expressions PCRE SAMPLE PROGRAM
A simple, complete demonstration program, to get you started with using PCRE, is supplied in the file pcredemo.c in the PCRE distribution. The program compiles the regular expression that is its first argument, and matches it against the subject string in its second argument. No PCRE options are set, and default character tables are used. If matching succeeds, the program outputs the portion of the subject that matched, together with the contents of any captured substrings. If the -g option is given on the command line, the program then goes on to check for further matches of the same regular expression in the same subject string. The logic is a little bit tricky because of the possibility of matching an empty string. Comments in the code explain what is going on. If PCRE is installed in the standard include and library directories for your system, you should be able to compile the demonstration pro- gram using this command: gcc -o pcredemo pcredemo.c -lpcre If PCRE is installed elsewhere, you may need to add additional options to the command line. For example, on a Unix-like system that has PCRE installed in /usr/local, you can compile the demonstration program using a command like this: gcc -o pcredemo -I/usr/local/include pcredemo.c -L/usr/local/lib -lpcre Once you have compiled the demonstration program, you can run simple tests like this: ./pcredemo 'cat|dog' 'the cat sat on the mat' ./pcredemo -g 'cat|dog' 'the dog sat on the cat' Note that there is a much more comprehensive test program, called pcretest, which supports many more facilities for testing regular expres- sions and the PCRE library. The pcredemo program is provided as a simple coding example. On some operating systems (e.g. Solaris), when PCRE is not installed in the standard library directory, you may get an error like this when you try to run pcredemo: ld.so.1: a.out: fatal: libpcre.so.0: open failed: No such file or directory This is caused by the way shared library support works on those systems. You need to add -R/usr/local/lib (for example) to the compile command to get round this problem. AUTHOR
Philip Hazel University Computing Service Cambridge CB2 3QH, England. REVISION
Last updated: 23 January 2008 Copyright (c) 1997-2008 University of Cambridge. PCRESAMPLE(3)
All times are GMT -4. The time now is 10:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy