You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Joshua Chamas <jo...@chamas.com> on 2001/10/03 07:54:52 UTC
Re: FW: Apache_1.3.19/mod_perl-1.24_01/perl5.6.1 on Solaris 2.6/Sun OS
5.6
Yeo Puay Hoon wrote:
>
> /expat-lite -DNO_DL_NEEDED `../../apaci` os.c
> gcc -c -I../../os/unix -I../../include -DSOLARIS2=260 -DUSE_EXPAT
> -I../../lib
> /expat-lite -DNO_DL_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 `/usr/local/apache_1.3.19/src'
> make[1]: *** [build-std] Error 2
> make[1]: Leaving directory `/usr/local/apache_1.3.19'
> make: *** [build] Error 2
>
I would make sure there is the program ar in your path.
Without this you will not have much luck compiling things
I bet. On my box ( 2.6 x86 ), its at /usr/ccs/bin/
prompt> whereis ar
ar: /usr/ccs/bin/ar /usr/include/ar.h /usr/man/man1/ar.1 /usr/man/man4/ar.4
So make sure its in your PATH like:
PATH=/usr/ccs/bin:$PATH
in your .bashrc or whatever other init script is run.
If you change the .bashrc, you need to login again,
or resource the file like:
prompt> source .bashrc
-- Josh
_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com 1-714-625-4051