Fwd: Compiling Problems - Squid 1.1.9

From: TBRIGLIA.US.ORACLE.COM <TBRIGLIA@dont-contact.us>
Date: 22 Apr 97 10:51:08 -0700

Hello,
 
FYI I found the problem.
 
I keep all my GNU compilers and tools in /usr/local/bin. The ar utility lives
in /usr/ccs/bin. When I ran the configure script, it placed the following line
in the lib/Makefile
 
 
AR_R = /usr/bin/false r
 
 
which I replaced with
 
 
AR_R = /usr/ccs/bin -r
 
 
That fixed the problem.
 
Why would the configure script not pickup the fact that "ar" lives in
/usr/ccs/bin? My PATH had /usr/ccs/bin in it, yet it was after /usr/local/bin
where the gcc compiler lives. Is this a bug with configure?
 
 
Hope this helps someone else out!
 
 
Regards,
 
 
-----------------------------------------------------------------------------

Thomas D. Briglia voice:415-506-8212 pager:1-800-6-PAGEME
Internal Systems Engineering Services
Oracle World Wide Customer Support Viva BSD!!!
-----------------------------------------------------------------------------

attached mail follows:


Hi,
 
Tried compiling Squid on a new system running Solaris 2.5.1 and using gcc
2.7.2. Hit the following linker error;
 
gcc -o squid -g acl.o cache_cf.o client_db.o client_side.o comm.o debug.o
disk.o dns.o errorpage.o event.o fdstat.o filemap.o fqdncache.o ftp.o gopher.o
  
hash.o http.o http-anon.o icmp.o icp.o ident.o ipcache.o main.o mime.o
neighbors.o net_db.o objcache.o pass.o proto.o redirect.o refresh.o
send-announce.o ssl.o stack.o stat.o stmem.o store.o store_clean.o
storetoString.o tools.o unlinkd.o url.o useragent.o wais.o -L../lib -lcrypt
-lmiscutil -lm -lresolv -lsocket -lnsl
ld: fatal: library -lmiscutil: not found
ld: fatal: File processing errors. No output written to squid
make[1]: *** [squid] Error 1
make[1]: Leaving directory `/usr/local/squid-1.1.9/src'
make: *** [all] Error 2
 
 
 
I noticed the lib/Makefile references the archive "libmiscutil.a". I have
searched my entire system and it appears that the libmiscutil.a archive is not
part of either the Solaris ditribution nor your Squid distribution.
 
 
Can you shed any light on the subject??
 
 
Thanks in advance!
 
 
Regards,
 
 
 
 
-----------------------------------------------------------------------------

Thomas D. Briglia voice:415-506-8212 pager:1-800-6-PAGEME
Internal Systems Engineering Services
Oracle World Wide Customer Support Viva BSD!!!
-----------------------------------------------------------------------------
Received on Tue Apr 22 1997 - 11:30:00 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:01 MST