Solved

sh: make: not found (openssl)

Posted on 2002-06-19
5
1,064 Views
Last Modified: 2013-12-27
I get the following error when I do the ./config command.

I put all of the 'make' paths that I found with the 'find' command in my .dtprofile(as seen below).

PATH=$PATH:/usr/local/bin:/usr/ccs/bin:/usr/share/lib/make

I still get the same error. Does anyone know why?

# ./config
Operating system: sun4u-whatever-solaris2
Configuring for debug-solaris-sparcv9-cc
Configuring for debug-solaris-sparcv9-cc
IsWindows=0
CC            =cc
CFLAG         =-KPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DBN_DEBU
G -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG_ALL -xtarget=ultra -xa
rch=v8plus -g -O -xstrconst -Xa -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM
EX_LIBS       =-lsocket -lnsl -ldl
BN_ASM        =asm/sparcv8plus.o
DES_ENC       =des_enc.o fcrypt_b.o
BF_ENC        =bf_enc.o
CAST_ENC      =c_enc.o
RC4_ENC       =rc4_enc.o
RC5_ENC       =rc5_enc.o
MD5_OBJ_ASM   =asm/md5-sparcv8plus.o
SHA1_OBJ_ASM  =
RMD160_OBJ_ASM=
PROCESSOR     =
RANLIB        =true
PERL          =/usr/bin/perl
THIRTY_TWO_BIT mode
DES_PTR used
DES_RISC1 used
DES_UNROLL used
BN_LLONG mode
RC4 uses uchar
RC4_CHUNK is unsigned long long
BF_PTR used
sh: make: not found
0
Comment
Question by:kennybud416
5 Comments
 
LVL 38

Expert Comment

by:yuzh
ID: 7094846
if you are using sh/ksh/bash,

put the following in your .profile

export PATH=$PATH:/usr/ccs/bin:/usr/local/bin

  note: assume you have GUN make installed at /usr/local,
        if you want to use the GUN make
  use:
   export PATH=$PATH:/usr/local/bin/usr/ccs/bin

if you are using csh/tcsh, put the following in your .cshrc file:
  set path=($path /usr/ccs/bin /usr/local/bin )


  PS: you should define your PATH in .profile (sh/ksh/bash), or .cshrc (csh/tcsh), NOT .dtprofft.

  after you make the change, open an new terminal/xterm and try it again.

   
0
 

Author Comment

by:kennybud416
ID: 7095338
I'm working on a solaris box.  There is no .profile (like in linux).  
This is what is in my .dtprofile

PATH=$PATH:/usr/local/bin:/usr/ccs/bin:/usr/share/lib/make:/usr/ccs/bin/make:/usr/xpg4/bin/make
MANPATH=$MANPATH:/usr/man:/usr/local/man
DTSOURCEPROFILE=true
0
 
LVL 38

Expert Comment

by:yuzh
ID: 7095643
Solaris use .profile for sh/ksh/bash, and .cshrc for csh/tcsh. Your system adm guy should create one for you. If you don't have one, it will just use the system wide one when you login, you can create one for yourself.

type in:
echo $SHELL <enter>
to find out which shell you are using.

If you don't want to create you login file. and you can type in the following command before compliling your openssl:

For sh/ksh/bash:

export PATH=$PATH:/usr/ccs/bin:/usr/local/bin

 For csh/tcsh:
 set path=($path /usr/ccs/bin /usr/local/bin )


 

0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 50 total points
ID: 7098179
Solaris no longer have bundled development toos like cc, make, ld.
If there are none in /usr/ccs/bin, you need to install them. Either purchase from Sun, or get free ones from http://www.sunfreeware.com/
0
 
LVL 5

Expert Comment

by:ecw
ID: 7100150
True solaris does not have cc, but it always has make.  How would you build your NIS db's if you didn't have make.  It's in /usr/ccs/bin.

The syntax,
  export PATH=$PATH:/usr/ccs/bin:/usr/local/bin
will not work for Solaris's sh, it does for ksh.  sh on Solaris is still a real bourne shell, not a disguised ksh (ie. POSIX).
If profile must work for sh and ksh, use,
  PATH=$PATH:/usr/ccs/bin:/usr/local/bin
  export PATH

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now