The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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-12-2008 01:32 AM
Problems with Make frustrated1 SUN Solaris 1 07-23-2005 10:16 PM
Problems with gnu make handak9 UNIX for Advanced & Expert Users 2 10-01-2004 05:20 AM
make and make install commands gerwhelan UNIX for Dummies Questions & Answers 4 07-03-2003 06:49 AM
'make' problems (compliation problems?) xyyz UNIX for Advanced & Expert Users 5 11-05-2001 10:47 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-22-2002
kmgrady01 kmgrady01 is offline
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
  #2 (permalink)  
Old 03-22-2002
rwb1959's Avatar
rwb1959 rwb1959 is offline
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 (permalink)  
Old 03-22-2002
kmgrady01 kmgrady01 is offline
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:58 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0