• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 276
  • Last Modified:

make, makefile

I'm trying to install gzip and have found my install of Solaris 2.6 is devoid of 'make' anywhere on the system. As I'm required to 'make' to finish the install of gzip I sought a download of 'make' and installed it. As the download was source code I was required to compile it to finish installing 'make'. My problem is that there are no clear instructions on how to compile the files and there's no clear file no compile. I've tried executing under different shells but to no avail.

Would I not be right to think that 'make' should come as part of a standard install?

1 Solution
Make is part of the Solaris development environment (C compiler, etc.). If you don't have it installed (I think you need a seperate license, but I could be wrong), and don't own it, think about downloading and installing binaries of the GNU tool set, gcc, gmake etc.
Look in /usr/ccs/bin for make.
You should install compiler to compile source code. Look out for GNU project and gcc (www.gnu.org).
You can also get gmake if you don't find make on your host.
As anyone said, you must download the binary from GNU (for example)
try http://www.sunfreeware.com or http://sunsite.unc.edu/pub/solaris/sparc
This site was distributed binary of GNU tool in package add format. It too easy to install.
Solaris has make, as, ar, m4, etc as bundled tools that ar installed it you choose the "Developer" option when installing the OS. These unbundled tools (and libraries and headers needed for compiling) can be added via swmtool after installation.

Note that /usr/ccs/bin will need to be added to your PATH to make the tools accessible.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now