Re: [squid-users] compile error on Squid 3.1.18

From: Jose-Marcio Martins da Cruz <Jose-Marcio.Martins_at_mines-paristech.fr>
Date: Wed, 07 Dec 2011 10:55:40 +0100

Maybe your problem come from the compile options you're using. I compiled it with just a problem
under Solaris, both sparc and x86, but different of the your one.

My problem (a link problem) was solved when I inverted the order of SSLLIB and SSL_LIBS inside
src/Makefile

squid/squid-3.1.18 > diff src/Makefile.org src/Makefile
1893c1893
< $(SSLLIB) $(SSL_LIBS) -lmiscutil $(EPOLL_LIBS) $(MINGW_LIBS) \

---
 >       $(SSL_LIBS) $(SSLLIB) -lmiscutil $(EPOLL_LIBS) $(MINGW_LIBS) \
squid/squid-3.1.18 >
I'm using gcc-3.4.6.
My configure options are :
HELPERS="basic,digest,ntlm"
BASIC_HELPERS="DB,LDAP,PAM,getpwnam,SASL"
DIGEST_HELPERS="ldap,password"
./configure\
  --prefix=/var/squid \
  --disable-icmp \
  --enable-snmp \
  --enable-delay-pools \
  --enable-useragent-log \
  --enable-referer-log \
  --enable-cache-digests \
  --enable-kill-parent-hack \
  --enable-ssl \
  --with-openssl=/usr/local/ssl \
  --enable-auth=$HELPERS \
  --enable-basic-auth-helpers=$BASIC_HELPERS \
  --enable-digest-auth-helpers=$DIGEST_HELPERS \
  --disable-ident-lookups \
  --enable-async-io \
  --enable-carp \
  --enable-xmalloc-statistics \
  --with-large-files \
  --with-build-environment=POSIX_V6_ILP32_OFFBIG
Maybe you're needing more things than me...
kzl wrote:
> Thanks, I got it fixed.
> Now it hit the same issue as this: http://www.mail-archive.com/squid-users@squid-cache.org/msg82234.html
> I saw the issue got fixed. Will the build 19 be release sometime soon?
>
> regards,
> KZ
>
>
> ________________________________
> From: Amos Jeffries<squid3_at_treenet.co.nz>
> To: squid-users_at_squid-cache.org
> Sent: Wednesday, December 7, 2011 4:32 PM
> Subject: Re: [squid-users] compile error on Squid 3.1.18
>
> On 7/12/2011 3:52 p.m., kzl wrote:
>> any hint on how I may check?
>> Many thanks.
>> kz
>
>
> You sure 3.1.17 worked?  There is exactly one line of code difference
> between 3.1.17 and 3.1.18 and nowhere near the files which you mention
> failing.
>
> Might be something like this person had?
> http://saintaardvarkthecarpeted.com/blog/archive/2009/10/Problems_installing_NUT_on_Solaris_10.html
>
> Amos
>
>>
>> ----- Original Message -----
>> From: Amos Jeffries<squid3_at_treenet.co.nz>
>> To: squid-users_at_squid-cache.org
>> Cc:
>> Sent: Tuesday, December 6, 2011 5:45 PM
>> Subject: Re: [squid-users] compile error on Squid 3.1.18
>>
>> On 6/12/2011 7:19 p.m., kzl wrote:
>>> There's error thrown while compiling Squid 3.1.18 in Solaris Sparc which never experience in earlier version like 3.1.17, 3.1.16, 3.0.15
>>> Anyone having any idea what's the problem?
>>> Making all in compat
>>> /bin/bash ../libtool --tag=CXX    --mode=link g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror  -D_REENTRANT -pthreads -g -O2   -g -olibcompat.la  assert.lo compat.lo GnuRegex.lo
>>> libtool: link: false cru .libs/libcompat.a .libs/assert.o .libs/compat.o .libs/GnuRegex.o
>>> *** Error code 1
>>> make: Fatal error: Command failed for target `libcompat.la'
>>> Current working directory /home/squid-3.1.18/compat
>>> *** Error code 1
>> Strange. It seems like a linking problems between the pieces of that library.
>>
>> Are you building from a clean set of sources?
>>
>> Amos
>>
Received on Wed Dec 07 2011 - 10:02:55 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 07 2011 - 12:00:02 MST