1) I got error when run
gmake hello
ld.so.1: gmake: fatal: libintl.so.8: open failed: No such file or directory
Killed
2) # uname -a
SunOS 5.9 Generic_122300-47 sun4u sparc SUNW,Netra-T12
3) I downloaded an unzip the files to /tmp/mm
then
from /tmp/mm
I run
1) pkgadd -d libiconv-1.13.1-sol9-sparc-local
2) pkgadd -d gcc-3.4.6-sol9-sparc-local
3) pkgadd -d make-3.82-sol9-sparc-local
The installation is successful from the output of pkgadd.
and I can find the gcc, make under /usr/local/bin.
I use the helloworld to test the GCC , it is OK. but make still got the same error.
I echo $PATH and can find the /usr/local/bin in the PATH
All the packages are downloaded from sunfreeware .com
You also need libintl package
Hi Citaylor,
Thank you very much for your help.
after installing the libintl package, can use GNU Make now.
but when I try to run pkgchk , I got the following errors, so if the installation is OK now or still have some issues need to be fixed. Thanks
1) :/tmp # /usr/sbin/pkgchk -d gcc* GNUgcc
pkgchk: ERROR: unable to complete package transfer
- no packages were selected from </var/tmp/baaiBaG_1>
2) :/tmp/perlmodule # /usr/sbin/pkgchk -d make* GNUmake
pkgchk: ERROR: unable to complete package transfer
- no packages were selected from </var/tmp/baa_xaWc2>
:/tmp # ls
libintl-3.4.0-sol9-sparc-local
make-3.82-sol9-sparc-local
gcc-3.4.6-sol9-sparc-local
libgcc-3.4.6-sol9-sparc-local
libiconv-1.13.1-sol9-sparc-local
You command is incorrect. "-d" option expects a device but "gcc*", i.e. "gcc-3.4.6-sol9-sparc-local", is a package datastream. Assuming the package was installed without errors, there should be no need to check its installation. Should you want to do it anyway, just run:
pkgchk package_name
get the following error msg.
pkgchk gcc-3.4.6-sol9-sparc-local
WARNING: no pathnames were associated with <gcc-3.4.6-sol9-sparc-local>
You are confusing the package name and the file name. The package might be named GNUgcc, or SMCgcc or whatever.
Hi Jlliagre,
Thanks for help.
I can find SMCgcc using pkginfo
application SMCgcc gcc
but nothing output from pkgchk SMCgcc,
Which is good news. You package installation isn't corrupted.
1 Like
o, great! thank you very much for your help.