03-24-2009
Thanks for the comments. Once I realized that Solaris 10 comes with gcc already in /usr/sfw/bin, our server team already installed it on the server I was working on. So, beautiful.
On top of that, I used the gcc compiler itself to re-compine the gcc source, so I can choose to install it to an alternate location now, because my dilema was I did not want to install to /usr/local/bin.
I don't know the options to compiling gcc, all I used was configure --prefix, and make, and make install. My build APPEARS to have been succesful. We'll see.
10 More Discussions You Might Find Interesting
1. Programming
(Installing GCC: Configuration)
In the document of Installing GCC, there is a sentence I don't
understand:
" Second, when configuring a native system, either cc or gcc must be in your path or you must set CC in your environment before running configure. Otherwise the configuration scripts... (2 Replies)
Discussion started by: wwz
2 Replies
2. UNIX for Dummies Questions & Answers
Hi! I have downloaded a precompiled gcc package but I'm having problems installing it. It is supposed to install in /usr/local and there is plenty of space left there but during the installation I get the following error message “No space left on device”. Is it some kind of temp folder that is out... (2 Replies)
Discussion started by: alfabetman
2 Replies
3. Programming
Hi all
I'm trying to install the latest version of gcc but I keep getting this message on make;
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I./../zlib -I./../include -W -Wall -pedantic -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -g -O2 -c jartool.c
jartool.c:234: getopt.h: No... (3 Replies)
Discussion started by: squeakywheel
3 Replies
4. Solaris
Hi friends,
i down loaded the gcc*.gz file and i am getting the following error when i am trying to install it on solaris 8
=======================================================
Processing package instance <SMCgcc342> from </export/gcc-3.4.2-sol8-sparc-local>
gcc
(sparc) 3.4.2
FSF... (1 Reply)
Discussion started by: sveera
1 Replies
5. Solaris
Folks -
This may sound like a newbee question - and it is. But a project that I'm managing is under a time crunch and I need a quick answer.
IS it possible to install gcc 2.8.1 on a Solaris 10 Sun box? We have some old libraries that need that version of the compiler in order to work... (2 Replies)
Discussion started by: peridot
2 Replies
6. Solaris
Hi All,
Can anyone help me in installing gcc-3.4.6 complier on Solaris 10.
1. I have downloaded the gcc-3.4.6.tar.gz from one of the free share
2. While downloading its is seen that it is renamed to gcc-3.4.6.tar.tar
3. On solaris machine I renamed it gcc-3.4.6.tar.gz from gcc-3.4.6.tar.tar... (4 Replies)
Discussion started by: susainaj
4 Replies
7. Solaris
AIM- Install Oracle 11g on Solaris using VMWare
Steps
1.Logged on as root
2.Created subfolders ŕ /usr/local/bin & /usr/local/bin/gcc
3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD
4.Copied files from CD to /usr/local/bin/gcc
5.Terminal (root) ŕ pkgadd -d... (8 Replies)
Discussion started by: Ackers
8 Replies
8. UNIX for Advanced & Expert Users
I have a platform whose base is Linux but not everything is available on that. Only necessary executables are available and any individual executable can run on that. It is 32-bit and uname -a shows Linux 2.6.11.11.
Problem is I am trying to install gcc compiler on that to debug an issue. Even... (1 Reply)
Discussion started by: radiatejava
1 Replies
9. Solaris
dear, please just didn't understand the problem that appears when i try to install ./configure here is the message that appears in unix when installing gcc
root@ccbtest # ./configure
checking build system type... /bin/bash: ./config.guess: No such file or directory
configure: error: cannot... (3 Replies)
Discussion started by: semaan
3 Replies
10. UNIX for Advanced & Expert Users
I am trying to install gcc4.8.2 on fedora but have encountered problems.
This is the error I got when running configure
configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
So I went along to install the three of them
I installed gmp-4.3.2 which went ok
... (14 Replies)
Discussion started by: kristinu
14 Replies
PERLBEOS(1) Perl Programmers Reference Guide PERLBEOS(1)
NAME
perlbeos - Perl version 5.8+ on BeOS
DESCRIPTION
This file contains instructions how to build Perl under BeOS and lists known problems.
BUILD AND INSTALL
Requirements
I have built and tested Perl 5.8.6 and 5.9.1 under BeOS R5 x86 net server. I can't say anything with regard to PPC. Since Perl 5.8.0 had
been released for BeOS BONE, I suspect, there is a good chance, that it still compiles on a BONE system. The only change I've made, that
affects BONE systems is the recognition of whether it is a BONE system or not in hints/beos.sh. Now network socket support should remain
enabled on BONE systems. This might as well break the build, though.
As more recent versions of autoconf require flock() support, I wrote a flock() emulation (flock_server) and released it on BeBits:
http://www.bebits.com/app/4030
If you want to build a Perl with flock() support, you have to install this package first.
Configure
With flock() support:
CFLAGS=-I/path/to/flock/server/headers ./configure.gnu
--prefix=/boot/home/config
Replace "/path/to/flock/server/headers" with the path to the directory containing the "flock.h" header.
Without flock() support:
./configure.gnu --prefix=/boot/home/config
Build
With flock() support:
make LDLOADLIBS="-lnet -lflock"
Without flock() support:
make LDLOADLIBS="-lnet"
"-lnet" is needed on net server systems only and if the compiler doesn't add it automatically (Be's R5 gcc does, Oliver Tappe's gcc 2.95.3
does not).
Install
Install all perl files:
make install
Create a symlink for libperl:
cd ~/config/lib; ln -s perl5/5.8.6/BePC-beos/CORE/libperl.so .
Replace 5.8.6 with your respective version of Perl.
KNOWN PROBLEMS
o Network socket support is disabled for BeOS R5 net server. I didn't dare yet to try enabling it and see what problems occur.
o The LFS (large file support) tests (t/op/lfs and xt/Fcntl/t/syslfs) are disabled as seeking beyond 2 GB is broken according to
jhi@iki.fi who was the last one checking the BeOS port and updating this file before me. Haven't checked this myself.
o The t/io/fflush test fails at #6. As far as I can tell, this is caused by a bug in the BeOS pipes implementation that occurs when
starting other child processes. In the particular test case a "system("perl -e 0")" flushes the stdout pipe of another child process.
o The ext/POSIX/t/waitpid test fails at #1. After all child processes are gone BeOS' waitpid(-1,...) returns 0 instead of -1 (as it
should). No idea how to fix this.
CONTACT
For BeOS specifics problems feel free to mail to: Ingo Weinhold <bonefish@cs.tu-berlin.de>
Last update: 2004-12-16
perl v5.16.2 2012-10-11 PERLBEOS(1)