[squid-users] squid 3 rpm build process breaks at libTrie

From: Alex Braunegg <alex.braunegg@dont-contact.us>
Date: Fri, 16 Nov 2007 11:24:37 +1100

Hi All,

I am attempting to create an Squid 3.0 RPM for Fedora (x86_64) using RC1 or
the daily snapshot. Currently the rpmbuild process fails when configuring
lib/libTrie:

==================================================

=== configuring in lib/libTrie
(/usr/src/redhat/BUILD/squid-3.0.RC1/lib/libTrie)
configure: running /bin/sh ./configure '--prefix=/usr/local/squid'
'--enable-snmp' '--with-pthreads' '--with-large-files' '--with-maxfd=16384'
'--enable-icap-client' 'CFLAGS=-fPIE -Os -g -pipe -fsigned-char'
'LDFLAGS=-pie' --cache-file=/dev/null --srcdir=.
checking for g++... g++
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
configure: error: ./configure failed for lib/libTrie
error: Bad exit status from /var/tmp/rpm-tmp.89076 (%build)

==================================================

If I use the same ./configure options without trying to build an RPM,
./configure works fine, so does 'make all', 'make install'. I suspect that
it has something to do with the build environment & paths being created
during the rpmbuild process, but how to resolve & where to begin I don't
know.

I can provide the config.log files for the general config process and the
libTrie config process if needed.

Best Regards,

Alex
Received on Thu Nov 15 2007 - 17:24:51 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:02 MST