The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Error in issuing a make and make install ahjiefreak Linux 1 03-11-2008 10:32 PM
Problems with Make frustrated1 SUN Solaris 1 07-23-2005 06:16 PM
Problems with gnu make handak9 UNIX for Advanced & Expert Users 2 10-01-2004 01:20 AM
make and make install commands gerwhelan UNIX for Dummies Questions & Answers 4 07-03-2003 02:49 AM
'make' problems (compliation problems?) xyyz UNIX for Advanced & Expert Users 5 11-05-2001 07:47 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-22-2002
Registered User
 

Join Date: Nov 2001
Posts: 8
Angry problems with make

I have installed gcc 295.3 and make 3.79.1 and I am attempting to compile the apache installation. I can run ./configure and no errors occur. However, when I try to run make it complains that it is unable to find the ar command. Here is the output after entering make. Any help is appreciated.

# make
===> src
make[1]: Entering directory `/home/kgrady/apache/apache_1.3.24'
make[2]: Entering directory `/home/kgrady/apache/apache_1.3.24/src'
===> src/os/unix
gcc -c -I../../os/unix -I../../include -DSOLARIS2=280 -DUSE_EXPAT -I../../lib/expat-lite
NEEDED `../../apaci` os.c
gcc -c -I../../os/unix -I../../include -DSOLARIS2=280 -DUSE_EXPAT -I../../lib/expat-lite
NEEDED `../../apaci` os-inline.c
rm -f libos.a
ar cr libos.a os.o os-inline.o
make[3]: ar: Command not found
make[3]: *** [libos.a] Error 127
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/kgrady/apache/apache_1.3.24/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/kgrady/apache/apache_1.3.24'
make: *** [build] Error 2
Forum Sponsor
  #2  
Old 03-22-2002
rwb1959's Avatar
Registered User
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
The problem is not with make.
The problem is that make cannot find the "ar" command
to create the library archive "libos.a"

You need to verify that you do infact have this command
executable installed and next, where it is installed and make
sure you can get to it from your PATH.
  #3  
Old 03-22-2002
Registered User
 

Join Date: Nov 2001
Posts: 8
That did

I needed to add /usr/ccs/bin to my path. Worked like a charm. Thanks

By the way, this site has been a great resource for me. Every question I have had regarding unix has been answered here.

Great site.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:08 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0