newbie apache_1.3.26 install problem

newbie apache_1.3.26 install problem

Post by mike » Sat, 13 Jul 2002 15:02:17



hi all,

  this is my first attempt at an apache install and i get the following
after i run make.

unix> make
===> src
make[1]: Entering directory `/home/local/apache_1.3.26'
make[2]: Entering directory `/home/local/apache_1.3.26/src'
===> src/os/unix
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/local/apache_1.3.26/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/local/apache_1.3.26'
make: *** [build] Error 2

i am using gcc version

unix> gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)

on a solaris 5.8 machine with all the latest patches.

i have no idea what "ar" is, am i missing something?

thx in advance, -simon-

 
 
 

newbie apache_1.3.26 install problem

Post by Ole Michaelse » Sat, 13 Jul 2002 16:02:28



>  make[3]: ar: Command not found

[...]

Quote:

>  i have no idea what "ar" is, am i missing something?

[...]

Yes. You are missing 'ar'.

$ pkgchk -l -p `which ar`
Pathname: /usr/ccs/bin/ar
Type: regular file
Expected mode: 0555
Expected owner: bin
Expected group: bin
Expected file size (bytes): 27488
Expected sum(1) of contents: 8718
Expected last modification: Apr 25 10:20:07 AM 2000
Referenced by the following packages:
SUNWbtool      
Current status: installed

$

Hope it helps,

--
Ole Michaelsen, Darmstadt, Germany
http://www.fys.ku.dk/~omic

 
 
 

newbie apache_1.3.26 install problem

Post by ger.. » Sun, 14 Jul 2002 00:36:01




Quote:> hi all,

>   this is my first attempt at an apache install and i get the following
> after i run make.

> ar cr libos.a os.o os-inline.o
> make[3]: ar: Command not found

> i have no idea what "ar" is, am i missing something?

A bookmark to a Solaris FAQ.. ftp://ftp.wins.uva.nl/pub/solaris
Try "man ar". "man" is your friend.
Go to Google and type: "ar: Command not found". Google is chummy too.
Use pkgchk -l -p /usr/ccs/bin/ar - checks if "ar" is installed
or partially installed.
Check your PATH statement (echo $PATH). /usr/xpg4/bin has a POSIX make
so put it up front.
Example - PATH=/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/usr/local/bin
export PATH
If using GNU make from a package I would rename it to gmake.
 
 
 

newbie apache_1.3.26 install problem

Post by mike » Sun, 14 Jul 2002 02:16:32


that was it. i also had to rename make to gmake as you said and use that as
part of the install as /usr/ccs/bin had a different version of make in it
and the install script needed to use the gnu version. great! i feel like i'm
starting to get a handle on this installation stuff.

thx




> > hi all,

> >   this is my first attempt at an apache install and i get the following
> > after i run make.

> > ar cr libos.a os.o os-inline.o
> > make[3]: ar: Command not found

> > i have no idea what "ar" is, am i missing something?

> A bookmark to a Solaris FAQ.. ftp://ftp.wins.uva.nl/pub/solaris
> Try "man ar". "man" is your friend.
> Go to Google and type: "ar: Command not found". Google is chummy too.
> Use pkgchk -l -p /usr/ccs/bin/ar - checks if "ar" is installed
> or partially installed.
> Check your PATH statement (echo $PATH). /usr/xpg4/bin has a POSIX make
> so put it up front.
> Example -

PATH=/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/usr/local/bin

- Show quoted text -

Quote:> export PATH
> If using GNU make from a package I would rename it to gmake.

 
 
 

newbie apache_1.3.26 install problem

Post by ger.. » Mon, 15 Jul 2002 04:26:38




Quote:

> that was it. i also had to rename make to gmake as you said and use that as
> part of the install as /usr/ccs/bin had a different version of make in it
> and the install script needed to use the gnu version. great! i feel like i'm
> starting to get a handle on this installation stuff.

Fine. One last 'tip' - "gmake MAKE=gmake" might come in handy sometimes...
Gnu is Not Unix : >
~      ~   ~
 
 
 

newbie apache_1.3.26 install problem

Post by mike » Tue, 16 Jul 2002 02:16:08


Quote:

> Fine. One last 'tip' - "gmake MAKE=gmake" might come in handy sometimes...
> Gnu is Not Unix : >

hmm, is that a shell you are suggesting i set in my .cshrc or a var in the
install script (or something else??)

rgds

 
 
 

1. apache_1.3.26

Does anyone know if apache1.3.26  works with solaris2.6. I had no
problems with solaris8.
in solaris2.6 i can't do the ./configure. It bombs out with an erorr1
/usr/ucb/cc: software package not installed. This i know is not true and
the package is installed.

many thanks in advance

malc

2. Packet Throttle

3. BASH Frequently-Asked Questions (FAQ version 3.26)

4. string-replacement by list with spezial characters

5. How to get return codes from a system call

6. XF86 and Cirrus5465 ans S3MX

7. HELP__Compile kernel-1.3.26 with GCC-2.7.2

8. BASH Frequently-Asked Questions (FAQ version 3.26)