![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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
|
|||
|
|||
|
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 |