Now when I execute the configure command I don't see any errors, that I can
tell, but when I tried the make this is what I get:
#make
cc -c -DHAVE_UNISTD_H=1 -DVOID_CLOSEDIR=1 _DRETSIGTYPE=int gzip.c
/usr/ucb/cc: language optional software package not installed
*** Error code 1
make: Fatal error: Command failed for target 'gzip.o'
Can any one help??? Do I need to install the GNUzip first? How?
I'm new to Solaris so I need all the help that I can get.
Thanks for the help.
Ray
Ray
file
command on the .gz files and see if they are gunzipped already but without
the .gz taken off. If they are not compressed then remove the .gz
extension with something like
mv file.gz file
and then do the pkgadd -d file as indicated in the Downloading/Installation
and FAQ links on sunfreeware.com.
If the above does not solve your problem, email me.
Steve Christensen
sunfreeware.com
Like Steve Christensen said use pkgadd -d as per his instuctions. The
reason for the errors when trying to build from source is there is no
compiler installed by default. I recommend you install the bulk of his
ports from SunFreeware.com especially gcc-2.8.1, libstdc++, and
Gnumake-3.77. You will then be able to build most ports expecially those
geared towards the Linux community with the addition of automake,
autoconf, libtool, and gettext. These are a requirement for most
standard sources today.
--
Ted Sikora
tsi...@tiac.net
http://tsikora.tiac.net
It sounds as though you downloaded a version of gzip for the wrong
architecture. If I am correct, it isn't gzip that is complaining about
the file that it is operating on, but rather Solaris that is
complaining that the gzip executable doesn't have a valid header.
The sunfreeware site has binaries for both sparc and intel
architectures. Check that you got the right version by typing:
% cd /wherever/you/put/gzip
% file gzip
Depending on which version you downloaded, this should respond with
one of the following two lines:
gzip: ELF 32-bit MSB executable SPARC Version 1, dynamically linked,...
gzip: ELF 32-bit LSB executable 80386 Version 1, dynamically linked,...
In your original post you said that you were using a P133, so you
should see the second of the above lines if you downloaded the correct
version of gzip for your machine.
Martin Shepherd (m...@astro.caltech.edu)
Make sure you add /usr/local/bin to path and /usr/local/lib with
LD_LIBRARY_PATH for the SunFreeware ports.
You can add the following to the end
of /etc/profile:
PATH=/usr/local/bin:$PATH
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
A week ago I accidently put an x86 Solaris 7 CDROM in a Sun in order
to install the YP packages. Unfortunately pkgadd completed without any
complaints, so it wasn't until I tried to run the installed programs
that anything went wrong. At that point I saw precisely the error
message that the original poster of this thread reported, which is why
I suggested that he check whether he downloaded for the correct
architecture.
Martin Shepherd (m...@astro.caltech.edu)