How to install gcc on solaris 7
Hi everybody
I downloaded "gcc-2.95.2-sol7-intel-local.gz" from sunfreeware.com site. I unzipped it but i don't know how can i install it on my solaris intel 7. please help me.
Thanks
Behrad
Seeing as how this is an old post I assume you already figured it out, and unless I'm way off it's a simple matter of using the pkgadd utility. Something like this I believe (while your in the directory):
pkgadd -d gcc-2.95.2-sol7-intel-local .
If you don't have enough room in your /usr/local or /opt directories, you might need to use the -R <root-path> to redirect the install to a different location. You must be root when installing.
Good Luck,
-Mel
Similar Messages
-
hi,
i have a problem when trying to install gcc on solaris 10.
my path:
PATH=/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/sfw/lib:/usr/sfw/libexec
# gcc test.c
gcc: installation problem, cannot exec `as': No such file or directory
i don't know what the problem is, please help
thksi have a problem when trying to install gcc on solaris 10.Solaris 10's bundled gcc in /usr/sfw/bin/gcc?
my path:
PATH=/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/sfw/lib:/usr/sfw/libexec/usr/sfw/lib and /usr/sfw/libexec can probably be deleted from
$PATH, the executables are in /usr/sfw/bin.
# gcc test.c
gcc: installation problem, cannot exec `as': No such
file or directory/usr/sfw/bin/gcc needs the GNU assembler, and it should be
install as /usr/sfw/bin/gas. Do you have the Solaris 10 package
SUNWbinutils installed?
% pkgchk -l -p /usr/sfw/bin/gas
Pathname: /usr/sfw/bin/gas
Type: regular file
Expected mode: 0555
Expected owner: root
Expected group: bin
Expected file size (bytes): 613844
Expected sum(1) of contents: 49903
Expected last modification: Jan 23 02:53:41 2005
Referenced by the following packages:
SUNWbinutils
Current status: installed -
How to install gcc compiler on mac
how to install gcc compiler om macair( 2013) ?
THANKS IN ADVANCE !!!In OS X, GCC is part of Xcode's command tools, so first, open the Mac App Store and install Xcode for free.
Then, open Xcode, go to Xcode menu (on the menu bar) > Preferences > Downloads, and install Command Line Tools. You will get commands like gcc, make, purge... -
How to install gcc 4.4+ on open solaris ?
Is it possible to get latest gcc on open solaris ?
I installed gcc from repository but it is version 3.4.3.OpenSolaris 2009.06 for x86(amd64) contains gcc 4.3.2 in opensolaris repository.
In order to install it you can click on this link: [http://pkg.opensolaris.org/release/p5i/0/developer%2Fgcc%2Fgcc-432.p5i|http://pkg.opensolaris.org/release/p5i/0/developer%2Fgcc%2Fgcc-432.p5i] -
HOW TO INSTALL GCC 3.4.6 IN A SOLARIS10 SERVER
I am trying to install gcc-3.4.6 into a Solaris 10 Server,
I always get a problem :
after doing:
mkdir objdir
cd objdir
../configure with-as=/usr/ccs/bin/as with-ld=/usr/ccs/bin/ld
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the enviroment variable CC to a working compiler.
�what can I do and how?
thanksI am trying to install gcc-3.4.6 into a Solaris 10 Server,
I always get a problem :
after doing:
mkdir objdir
cd objdir
../configure with-as=/usr/ccs/bin/as with-ld=/usr/ccs/bin/ld
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the enviroment variable CC to a working compiler.
�what can I do and how?
thanks -
How to install software on Solaris?
I am new to Solaris but have experience on Fedora. I installed Solaris 10 with the default software. Now I want to install gcc on this system. How can I do this? Does Solaris has RPM like Fedora? I found that in Solaris DVD there is a directory "sol_10_508_x86/Solaris_10/Product/SUNWgcc", is this the gcc I can install? and how?
thanks.That's a very good question. I'm pretty new to Solaris myself as well, I needed a torrent client and went to http://www.sunfreeware.com/ from where I downloaded libtorrent-0.11.4-sol10-x86-local.gz then I followed the instructions here, which basically meant running as root form the terminal gunzip libtorrent-0.11.4-sol10-x86-local.gz and pkgadd -d libtorrent-0.11.4-sol10-x86-local and the installation seems to have went without a problem, but the problem now I'm facing is how to run the program that I appear to have installed successfully?
-
How to install Dual OS(solaris 10 and Windows XP)?
I have got a 80 gb sata hard disk and i am not able to install Dual OS(solaris and Windows XP ) on it.My Partitions are as follows:
Primary partition-5GB
Remaining are extended Partition.
Extended partition details
8 gb NTFS partition(installed windows XP)
7 gb NTFS partiton(No data in it)
20 gb NTFS partition(No data in it)
20 gb NTFS partiton(has data in it)
15 gb RAW partiton
I first installed Windows xp on 8 gb Extended partiton.Then when i installed Solaris i could see only 2 partitons.One with the 5 gb and the other with the 71 gb.I actually wanted to install my solaris on the 15 gb Raw partition.Since i could not see the partition(15 gb Raw) i installed solaris on the 5 gb partition.Now when the comp boots it goes to solairs os only.i dont have the option to choose windows at all.
could any one of you explain me how the partitions are supposed to be and how could i make it as a Dual OS.
Saravanan
Message was edited by:
SaravananMandalaWindows uses the primary partiton for boot, too, even if you installed it on the NTFS volume in the extended partition. Wherever you install Windows, it will need the primary partition for booting. You can never boot from Windows extended partitions
As for the 15Gb raw partition, it look like what you call 'RAW partition' is actually just a small little part inside the extended partition. All your NTFS partitions (and your RAW partiton) are logical volumes and they all reside inside the extended partition. Even though Windows sees them as separate drives, each with its own drive letter, just as it sees the primary partition.
You may try do use Windows fdisk or diskpart to delete the last logical volume in the extended partition, and then get the ntfs resize tool from Linux, or the CD1 from the Debian Linux install CDs, which has it included and accessible with a nice user interface, and resize your extended partition.
I don't know if it works, I only used it to also resize some logical volume inside the partition. ntfs resize tool might not be easy to work with, you will need to read its documentation, but it does resize NTFS partitions (I have seen it).
If it works, then you will have your 15Gb as unallocated space available for a new partition. Let the Solaris installer create this new partition automatically during install.
Timothy Madden,
Romania -
HOW TO INSTALL ROUTING IN SOLARIS 10
I have already installed my Solaris 10 Server, I was tryin to implement the routing in the file /etc/init.d/inetsvc (/etc/rc2.d/S98inetsvc) as in Solaris 8.
!! this file does not exists!!
How install routings in Solaris 10 6/06 ??
thanksI have already installed my Solaris 10 Server, I was
tryin to implement the routing in the file
/etc/init.d/inetsvc (/etc/rc2.d/S98inetsvc) as in
Solaris 8.
!! this file does not exists!!
How install routings in Solaris 10 6/06 ??It depends on what your routing script does. Solaris 10 introduces persistent routing, so you may just need to add the route once (persistently), then let the system take care of it.
Darren -
How to install DB2 in Solaris 9 using remote Win NT machine?
Hi there,
I am new to Solaris.
Could you please tell me how to install DB2 administration client in Solaris 9.
The problem is the Installation CD is put in the Solaris server and i have to install using a remote
Windows NT machine via telnet.
Is there any means for installing the DB2 using the console instead of using GUI interface?
While trying to install using the GUI Interface,
this is the mesg coming after unziping the tar.Z file and running the shell
" ./db2setup " -----
"The DISPLAY variable is not set properly.
Ensure that the DISPLAY variable is set properly and that permissions are set
properly to open windows on the display specified, then rerun the command."
Is installing the DB2 software through console possible?
need help.
Thanks,
paramsHi,
Thank you so much. Yeah. this is what i was looking for. Now, i successfully installed DB2 using db2_install command.
Thanks,
Param -
How to install SUNVTS on Solaris 10 for SPARC�H
I want to install SUNVTS on Solaris 10 for SPARC system, but I don't know how to install. Could you give me some instructions? Or provice some materials for my reference. Thanks a million!!
I want to install SUNVTS on Solaris 10 for SPARC
system, but I don't know how to install. Could you
give me some instructions? Or provice some materials
for my reference. Thanks a million!!Sun packages are installed using the "pkgadd" tool. (Surprise!) -
How to install GCC 3.3 and Berkeley DB ?
Hi to all
I am doing a project written in C. It involves the use of BerkeleyDB database too.
Tthe problem is that the project compiles successfully on GCC 3.3 but on GCC 4.3 its gives error due to strict checking.
Kindly tell me how can I install GCC 3.3 on archlinux.
Also how can I install Berkeley DB (including development package) on archlinux with all the header files and configure it.
thanks to all of you
regards
visio159Thanks guys I am loving Archlinux, the speed and control is amazing.
I installed GCC 3.3 and db.h was already in /usr/include/db.h
but when I compiled the code (MAIN.c) it gave these errors in db.h ??? I don't know what to do now, db.h itself is reflecting errors..huh.
As you can see the starting lines are directing towards db.h as having errors
[noface@myhost PROJ]$ gcc-3.3 MAIN.c -ldb
gcc-3.3: ldb: No such file or directory
In file included from MAIN.c:3:
/usr/include/db.h:1201: error: syntax error before "u_int"
/usr/include/db.h:1206: error: syntax error before '}' token
/usr/include/db.h:1544: error: syntax error before "u_int"
/usr/include/db.h:1660: error: `close' redeclared as different kind of symbol
/usr/include/unistd.h:320: error: previous declaration of `close'
/usr/include/db.h:1702: error: `remove' redeclared as different kind of symbol
/usr/include/stdio.h:155: error: previous declaration of `remove'
/usr/include/db.h:1703: error: `rename' redeclared as different kind of symbol
/usr/include/stdio.h:157: error: previous declaration of `rename'
/usr/include/db.h:1740: error: `stat' redeclared as different kind of symbol
/usr/include/sys/stat.h:210: error: previous declaration of `stat'
/usr/include/db.h:1742: error: `sync' redeclared as different kind of symbol
/usr/include/unistd.h:933: error: previous declaration of `sync'
/usr/include/db.h:1743: error: `truncate' redeclared as different kind of symbol
/usr/include/unistd.h:949: error: previous declaration of `truncate'
/usr/include/db.h:1809: error: syntax error before '}' token
/usr/include/db.h:1916: error: syntax error before "u_int"
/usr/include/db.h:1923: error: conflicting types for `close'
/usr/include/db.h:1660: error: previous declaration of `close'
/usr/include/db.h:1925: error: conflicting types for `del'
/usr/include/db.h:1664: error: previous declaration of `del'
/usr/include/db.h:1926: error: `dup' redeclared as different kind of symbol
/usr/include/unistd.h:490: error: previous declaration of `dup'
/usr/include/db.h:1927: error: conflicting types for `get'
/usr/include/db.h:1669: error: previous declaration of `get'
/usr/include/db.h:1928: error: conflicting types for `get_priority'
/usr/include/db.h:1687: error: previous declaration of `get_priority'
/usr/include/db.h:1929: error: conflicting types for `pget'
/usr/include/db.h:1700: error: previous declaration of `pget'
/usr/include/db.h:1930: error: conflicting types for `put'
/usr/include/db.h:1701: error: previous declaration of `put'
/usr/include/db.h:1931: error: conflicting types for `set_priority'
/usr/include/db.h:1734: error: previous declaration of `set_priority'
/usr/include/db.h:1975: error: syntax error before '}' token
/usr/include/db.h:2126: error: syntax error before "u_int"
/usr/include/db.h:2145: error: syntax error before "mp_ncache"
/usr/include/db.h:2211: error: syntax error before "cl_id"
/usr/include/db.h:2267: error: syntax error before '*' token
/usr/include/db.h:2282: error: conflicting types for `close'
/usr/include/db.h:1923: error: previous declaration of `close'
/usr/include/db.h:2287: error: conflicting types for `err'
/usr/include/db.h:1665: error: previous declaration of `err'
/usr/include/db.h:2288: error: conflicting types for `errx'
/usr/include/db.h:1666: error: previous declaration of `errx'
/usr/include/db.h:2291: error: conflicting types for `get_cachesize'
/usr/include/db.h:1672: error: previous declaration of `get_cachesize'
/usr/include/db.h:2294: error: conflicting types for `get_encrypt_flags'
/usr/include/db.h:1674: error: previous declaration of `get_encrypt_flags'
/usr/include/db.h:2295: error: conflicting types for `get_errfile'
/usr/include/db.h:1676: error: previous declaration of `get_errfile'
/usr/include/db.h:2296: error: conflicting types for `get_errpfx'
/usr/include/db.h:1677: error: previous declaration of `get_errpfx'
/usr/include/db.h:2297: error: conflicting types for `get_flags'
/usr/include/db.h:1678: error: previous declaration of `get_flags'
/usr/include/db.h:2312: error: conflicting types for `get_msgfile'
/usr/include/db.h:1683: error: previous declaration of `get_msgfile'
/usr/include/db.h:2313: error: conflicting types for `get_open_flags'
/usr/include/db.h:1685: error: previous declaration of `get_open_flags'
/usr/include/db.h:2364: error: conflicting types for `open'
/usr/include/db.h:1698: error: previous declaration of `open'
/usr/include/db.h:2365: error: conflicting types for `remove'
/usr/include/db.h:1702: error: previous declaration of `remove'
/usr/include/db.h:2387: error: syntax error before "u_int"
/usr/include/db.h:2391: error: syntax error before "u_int"
/usr/include/db.h:2393: error: syntax error before "u_int"
/usr/include/db.h:2398: error: conflicting types for `set_alloc'
/usr/include/db.h:1705: error: previous declaration of `set_alloc'
/usr/include/db.h:2402: error: conflicting types for `set_cachesize'
/usr/include/db.h:1713: error: previous declaration of `set_cachesize'
/usr/include/db.h:2405: error: conflicting types for `set_encrypt'
/usr/include/db.h:1716: error: previous declaration of `set_encrypt'
/usr/include/db.h:2406: error: conflicting types for `set_errcall'
/usr/include/db.h:1717: error: previous declaration of `set_errcall'
/usr/include/db.h:2408: error: conflicting types for `set_errfile'
/usr/include/db.h:1719: error: previous declaration of `set_errfile'
/usr/include/db.h:2409: error: conflicting types for `set_errpfx'
/usr/include/db.h:1720: error: previous declaration of `set_errpfx'
/usr/include/db.h:2412: error: conflicting types for `set_feedback'
/usr/include/db.h:1721: error: previous declaration of `set_feedback'
/usr/include/db.h:2413: error: conflicting types for `set_flags'
/usr/include/db.h:1722: error: previous declaration of `set_flags'
/usr/include/db.h:2431: error: conflicting types for `set_msgcall'
/usr/include/db.h:1730: error: previous declaration of `set_msgcall'
/usr/include/db.h:2432: error: conflicting types for `set_msgfile'
/usr/include/db.h:1731: error: previous declaration of `set_msgfile'
/usr/include/db.h:2433: error: conflicting types for `set_paniccall'
/usr/include/db.h:1733: error: previous declaration of `set_paniccall'
/usr/include/db.h:2448: error: conflicting types for `stat_print'
/usr/include/db.h:1741: error: previous declaration of `stat_print'
/usr/include/db.h:2510: error: syntax error before '}' token
/usr/include/db.h:2632: error: syntax error before "u_long"
In file included from MAIN.c:6:
/usr/include/fcntl.h:85: error: `open' redeclared as different kind of symbol
/usr/include/db.h:2364: error: previous declaration of `open'
In file included from /media/evt/PROJ/PROJ/include/makeTreeDB.h:2,
from MAIN.c:19:
/media/evt/PROJ/PROJ/include/berkeleyDB.h: In function `removeDB':
/media/evt/PROJ/PROJ/include/berkeleyDB.h:36: warning: passing arg 1 of pointer to function makes pointer from integer without a cast
/media/evt/PROJ/PROJ/include/berkeleyDB.h:36: error: too few arguments to function
/media/evt/PROJ/PROJ/include/berkeleyDB.h:37: warning: passing arg 1 of pointer to function from incompatible pointer type
/media/evt/PROJ/PROJ/include/berkeleyDB.h:37: error: too few arguments to function
/media/evt/PROJ/PROJ/include/berkeleyDB.h: In function `addNodeToBerkeleyDB':
/media/evt/PROJ/PROJ/include/berkeleyDB.h:64: error: dereferencing pointer to incomplete type
/media/evt/PROJ/PROJ/include/berkeleyDB.h:84: error: dereferencing pointer to incomplete type
/media/evt/PROJ/PROJ/include/berkeleyDB.h:96: error: dereferencing pointer to incomplete type
In file included from MAIN.c:21:
/media/evt/PROJ/PROJ/include/scanProc.h: In function `scanProc':
/media/evt/PROJ/PROJ/include/scanProc.h:92: warning: passing arg 1 of pointer to function from incompatible pointer type
/media/evt/PROJ/PROJ/include/scanProc.h:92: warning: passing arg 2 of pointer to function from incompatible pointer type
/media/evt/PROJ/PROJ/include/scanProc.h:92: error: too few arguments to function
/media/evt/PROJ/PROJ/include/scanProc.h: In function `showSummary':
/media/evt/PROJ/PROJ/include/scanProc.h:235: warning: passing arg 1 of pointer to function from incompatible pointer type
/media/evt/PROJ/PROJ/include/scanProc.h:235: warning: passing arg 2 of pointer to function from incompatible pointer type
/media/evt/PROJ/PROJ/include/scanProc.h:235: error: too few arguments to function
In file included from MAIN.c:22:
/media/evt/PROJ/PROJ/include/bigProcessing.h: In function `bigProcessing':
/media/evt/PROJ/PROJ/include/bigProcessing.h:58: error: dereferencing pointer to incomplete type
/media/evt/PROJ/PROJ/include/bigProcessing.h:95: error: dereferencing pointer to incomplete type
/media/evt/PROJ/PROJ/include/bigProcessing.h: In function `scanFS_DB':
/media/evt/PROJ/PROJ/include/bigProcessing.h:158: error: dereferencing pointer to incomplete type
/media/evt/PROJ/PROJ/include/bigProcessing.h:178: error: dereferencing pointer to incomplete type
/media/evt/PROJ/PROJ/include/bigProcessing.h:206: error: dereferencing pointer to incomplete type
/media/evt/PROJ/PROJ/include/bigProcessing.h:211: error: dereferencing pointer to incomplete type
/media/evt/PROJ/PROJ/include/bigProcessing.h:219: error: dereferencing pointer to incomplete type
/media/evt/PROJ/PROJ/include/bigProcessing.h:224: error: dereferencing pointer to incomplete type -
How to install GCC or use Forte C++
Hello!
I want to compile the Wine (Windows Emulator) for Solaris 9 (x86). One way is that I install gcc 3.2, and the other is to use the FORTE C++ compiler provided by Sun Microsystems. Now, I have downloaded the gcc-3.2 source code from the sunfreeware.com. But I am unable to install the gcc compiler.
Please guide me (or any reference) to some easy installation methods for gcc, or else, tell me the way, I could use the Forte C++ compilers, provided by SUN. I am unable to find a way to use the Forte.Hello!
I want to compile the Wine (Windows Emulator) for Solaris 9 (x86). One way is that I install gcc 3.2, and the other is to use the FORTE C++ compiler provided by Sun Microsystems. Now, I have downloaded the gcc-3.2 source code from the sunfreeware.com. But I am unable to install the gcc compiler.
Please guide me (or any reference) to some easy installation methods for gcc, or else, tell me the way, I could use the Forte C++ compilers, provided by SUN. I am unable to find a way to use the Forte. -
How to install workspace on Solaris ?
Hello All , I use Hyprerion 9.3.1 and Now I working under installing Planning on Solaris. After Installing Planning I must install workspace to use Planning.
I have problems during insallation Workspace I can't autodeploy workspace on Tomcat ((((
why ?
I can autodeploy Planning on Tomcat for Solaris but Workspace not auto deployed
How I can resolve this issue? I have only two servers with Solaris 9 and RHEL 4
May be I have to install Workspace on RHEL?We have recently installed 9.3.1 (although not Planning) using Sun's Java Enterprise Server (JES), also suggest you upgrade to Solaris 10.
-
How to install software in solaris
Hi,
Sorry for posing this question in this forum. But I m helpless as in solaris forum I didn't get reply.
I m new to solaris. Can you give me some details how to install a tgz file.
thanks in advanceGo to www.java.com
Click on download "solaris software"
Turn off your IE security settings and firewall, solaris needs to 'phone home' while it is installing. If you don't turn them off then you'll have to open ports 1, 2, 4, 99, 23, 25, 8080 and 80.
Once you're ready to go type in "suxmiownpen0r" and off you go.
Ooo, and remember to add "I'm a Troll" to the description/profession on your profile.
Ted.
As helpful as ever... -
How to install GCC and DKMS on Oracle Linux?
Hello,
I am a newbie to Oracle Linux. I installed Oracle Linux on a virtual machine using Oracle VirtualBox. Now I need to install the packages DKMS and GCC in order to share drives between the host and the ghost.
Here is what is happening:
# yum install dkms
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing paskage install arguments
No Match for afgument: dkms
Nothing to do
Please, advice what to do.
Thanks in advance.Here is what you need to install under Oracle Linux or Red Hat Enterprise Linux to install the VirtualBox Guest Additions:
<pre>yum -y install gcc kernel-uek-devel-$(uname -r)</pre>
The packages are available from the Oracle public yum repository as already mentioned, or on the installation DVD in the server directory.
Maybe you are looking for
-
On my iPhone 4, the Facebook app won't let me sign on with my account. I can sign on to another account just fine. The first time I sign on with the FB app it goes to the news feed page, says loading, and then flipps between loading and connection er
-
Difference between Mobile sales and Mobile Service
Hi All Can anybody help and explain me what are the major defferences between Mobile Sales and Mobile Service,What are the configuration settings required in Mobile Service,Because we have to start support project for Mobile Service. Regards Krishna
-
Hyperlink to server network address NOT http address
Hi, I'm trying to use a hyperlink in my form, but I want to link to a server. The server address is \\dahlingroup.com\plfiles\Jobs and it's an internal server, but everytime I click it, the form tries to link to a File on my computer. Does anyone kno
-
How to make a round color box?
Can anyone walk me through the steps in making a round color box? Thanks in advance. Solved! Go to Solution.
-
hi , Can anyone tell me why do we use the parameters Ref_fieldname (reference field name) and Ref_tabname (reference table/structure field name) in ALV field catelog. IAM confused over parameters fieldname and Ref_fieldname and tabname and Ref_tabnam