Re: squid compiling

From: Duane Wessels <wessels@dont-contact.us>
Date: Fri, 30 Jun 2000 12:58:48 -0600

On Fri, 30 Jun 2000, Ojars Lagzdins wrote:

> HI!!!
>
> I compiling squid for slackware 7.1 and get this message :
> make[1]: Entering directory `/usr/src/squid-2.1.PATCH2/src'
> gcc -o squid -g access_log.o acl.o asn.o authenticate.o cache_cf.o
> CacheDigest.o cache_manager.o carp.o cbdata.o client_db.o client_side.o
> comm.o comm_select.o debug.o disk.o dns.o errorpage.o ETag.o event.o fd.o
> filemap.o forward.o fqdncache.o ftp.o globals.o gopher.o helper.o http.o
> http-anon.o HttpStatusLine.o HttpHdrCc.o HttpHdrRange.o HttpHdrContRange.o
> HttpHeader.o HttpHeaderTools.o HttpBody.o HttpMsg.o HttpReply.o
> HttpRequest.o icmp.o icp_v2.o icp_v3.o ident.o internal.o ipc.o ipcache.o
> main.o mem.o MemPool.o MemBuf.o mime.o multicast.o neighbors.o net_db.o
> Packer.o pconn.o peer_digest.o peer_select.o pump.o redirect.o refresh.o
> send-announce.o ssl.o stat.o StatHist.o String.o stmem.o store.o
> store_clean.o store_client.o store_digest.o store_dir.o store_key_md5.o
> store_log.o store_rebuild.o store_swapin.o store_swapmeta.o store_swapout.o
> string_arrays.o tools.o unlinkd.o url.o urn.o useragent.o wais.o
> hois.o -L../lib -lmiscutil -lm -lbsd
> /usr/i386-slackware-linux/bin/ld: cannot open -lbsd: No such file or
> directory
> collect2: ld returned 1 exit status
> make[1]: *** [squid] Error 1
> make[1]: Leaving directory `/usr/src/squid-2.1.PATCH2/src'
> make: *** [all] Error 1

Looks like the 'configure' script was run on a different
system than the one you are compiling on. If you are lazy you
can try this:

        % cd /usr/src/squid-2.1.PATCH2
        % make distclean
        % ./configure
        % make

If you're not lazy, I recommend downloading a more recent version
from http://www.squid-cache.org/Versions/v2/2.3/. Then
follow the instructions at
http://www.squid-cache.org/Doc/FAQ/FAQ-2.html#ss2.2
Received on Fri Jun 30 2000 - 13:01:51 MDT

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