[augeas-devel] Build fails on opensolaris 2008.11
Rob Chanter
rchanter at gmail.com
Tue Feb 10 03:30:02 UTC 2009
On Tue, Feb 10, 2009 at 12:55 PM, David Lutterkort <lutter at redhat.com> wrote:
> On Mon, 2009-02-09 at 14:38 +1100, Rob Chanter wrote:
>> I've got the 0.4.0 source, which appears to have all the patches
>> referred to over the last few weeks related to Solaris already
>> applied. The build is failing in pathx.c as follows:
>
> That is very strange - I did compile the 0.4.0 tarball on my Solaris VM
> before release.
>
> What gcc version are you using ?
>
The standard Sun-shipped one with opensolaris (Indiana). I've relied
on the "ss-dev" meta-package to provide all the compiler stuff.
robc at ssskxws09:~/Desktop/src/augeas-0.4.0$ pkg search `which gcc`
INDEX ACTION VALUE PACKAGE
path hardlink usr/sfw/bin/gcc pkg:/SUNWgcc at 3.4.3-0.101
robc at ssskxws09:~/Desktop/src/augeas-0.4.0$ gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs
Configured with:
/builds2/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld
--enable-languages=c,c++,f77,objc --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-20050802)
libreadline comes from SunFreeware:
robc at ssskxws09:~/Desktop/src/augeas-0.4.0$ pkg search
/opt/sfw/lib/libreadline.so.4
INDEX ACTION VALUE PACKAGE
path file opt/sfw/lib/libreadline.so.4 pkg:/IPSFWrline at 0.5.11-5.7
and the SFW directory was passed into configure via LDFLAGS:
LDFLAGS="-L/opt/sfw/lib -R/opt/sfw/lib" ./configure
Compiling pathx.c by hand without any warnings enabled succeeds:
gcc -DHAVE_CONFIG_H -I. -I.. -std=gnu99 -D_FORTIFY_SOURCE=2
-fexceptions -fasynchronous-unwind-tables -I ../gnulib/lib -g -O2 -MT
pathx.lo -MD -MP -MF .deps/pathx.Tpo -c pathx.c -fPIC -DPIC -o
.libs/pathx.o
I suspect it's because I'm missing something in my build environment.
cheers
rob
More information about the augeas-devel
mailing list