Solved

sh: make: not found (openssl)

Posted on 2002-06-19
5
1,032 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

708 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

20 Experts available now in Live!

Get 1:1 Help Now