Re: What is 'ar' in 'MAKE INSTALL'

2002-10-18 Thread Chris Parker
At 11:31 AM 10/18/2002 -0500, Tim D. McCracken wrote:


When running 'make install', it appears that right after the 'libtool
mode=link' command
runs, it tries to run something called 'ar' with arguments of 'cru' and a
bunch of the object modules - except that libtool thinks it is an argument
to libtool.

I am sure that this is just ignorance on my part, but what is 'ar'.  I have
done lots of development on non-unix platforms, but am kinda new in this
area.


'ar' is an 'archiver'.  It takes multiple .o files and creates a single .a
file suitable for latter linking as a static library.

You will need it to compile nearly anything.  Check your paths to ensure
the path to 'ar' is included properly.

-Chris
--
   \\\|||///  \  StarNet Inc.  \ Chris Parker
   \ ~   ~ /   \   WX *is* Wireless!\   Director, Engineering
   | @   @ |\   http://www.starnetwx.net \  (847) 963-0116
oOo---(_)---oOo--\--
  \ Wholesale Internet Services - http://www.megapop.net



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: What is 'ar' in 'MAKE INSTALL'

2002-10-18 Thread Mieczyslaw Maciejewski (EPO)
Probably your 'ar' is not in the PATH environment variable
'ar' could be (at least in Solaris) in /usr/ccs/bin directory
You can check it by command: 'find / -name ar'
Check what is in PATH: 'echo $PATH'
If you don't find the ar_directory then:
PATH=$PATH:/ar_directory
export PATH

MM

-Original Message-
From: Artur Hecker [mailto:hecker@;enst.fr]
Sent: Friday, October 18, 2002 6:40 PM
To: [EMAIL PROTECTED]
Subject: Re: What is 'ar' in 'MAKE INSTALL'


hi

ar produces an archive file out of some other files. it is usally used 
today to make static libraries, so a usual libsomething.a is nothing but 
a collection of object files, something1.o, something2.o in an ar-archive.

cru: c - create, r - insert with replacement, u - only newer.

"man ar" would help.


ciao
artur


> I am sure that this is just ignorance on my part, but what is 'ar'.  I have
> done lots of development on non-unix platforms, but am kinda new in this
> area.



-- 
Artur Hecker Groupe Accès et Mobilité
hecker[at]enst[dot]fr Département Informatique et Réseaux
+33 1 45 81 750746, rue Barrault 75634 Paris cedex 13
http://www.infres.enst.fr  ENST Paris


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: What is 'ar' in 'MAKE INSTALL'

2002-10-18 Thread Artur Hecker
hi

ar produces an archive file out of some other files. it is usally used 
today to make static libraries, so a usual libsomething.a is nothing but 
a collection of object files, something1.o, something2.o in an ar-archive.

cru: c - create, r - insert with replacement, u - only newer.

"man ar" would help.


ciao
artur


I am sure that this is just ignorance on my part, but what is 'ar'.  I have
done lots of development on non-unix platforms, but am kinda new in this
area.




--
Artur Hecker Groupe Accès et Mobilité
hecker[at]enst[dot]fr		  Département Informatique et Réseaux
+33 1 45 81 7507		46, rue Barrault 75634 Paris cedex 13
http://www.infres.enst.fr   ENST Paris


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


What is 'ar' in 'MAKE INSTALL'

2002-10-18 Thread Tim D. McCracken

When running 'make install', it appears that right after the 'libtool
mode=link' command
runs, it tries to run something called 'ar' with arguments of 'cru' and a
bunch of the object modules - except that libtool thinks it is an argument
to libtool.

I am sure that this is just ignorance on my part, but what is 'ar'.  I have
done lots of development on non-unix platforms, but am kinda new in this
area.

THANKS!  Tim

ERROR TEXT:

Making install in lib...
make[4]: Entering directory
`/export/home/dev/radius/freeradius-0.7.1/src/lib'
/export/home/dev/radius/freeradius-0.7.1/libtool --mode=link ld \
-module -static  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU
_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-ex
terns -D_LIBRADIUS -I../include dict.o print.o radius.o valuepair.o token.o
misc.o log.o filters.o missing.o md4.o md5.o sha1.o hmac.o snprintf.o -o
libradius.a
ar cru libradius.a dict.o print.o radius.o valuepair.o token.o misc.o log.o
filters.o missing.o md4.o md5.o sha1.o hmac.o snprintf.o
/export/home/dev/radius/freeradius-0.7.1/libtool: ar: not found
make[4]: *** [libradius.a] Error 1
make[4]: Leaving directory
`/export/home/dev/radius/freeradius-0.7.1/src/lib'
make[3]: *** [common] Error 1
make[3]: Leaving directory `/export/home/dev/radius/freeradius-0.7.1/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/export/home/dev/radius/freeradius-0.7.1/src'
make[1]: *** [common] Error 1
make[1]: Leaving directory `/export/home/dev/radius/freeradius-0.7.1'
make: *** [install] Error 2
#


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html