Mailing List Archive

problems compiling on redaht AS 3.0
Hi

Apologies if this is a multiple post I had some problems with
subscribing resulting in bounced posts, so I'm not sure if messages got
through(and the archive at
http://lists.backhand.org/pipermail/wackamole-users/ only goes to upto
april so I couldn't check).


As for the actual reason for posting.

I'm trying to compile the latest download of wackamole on Redhat AS 3.0
(the pay for advanced server offering) on an intel box with gcc 3.2.3
(the default), up2date has been run so it is as modern as redhat allow.

Spread has compiled without problems, with whackamole I get the
following errors:

./configure --with-cppflags=-I/usr/local/include \
> --with-ldflags=-L/usr/local/lib --prefix=/usr/local/whacka
.........skip entries for brevity.....
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking sp.h usability... yes
checking sp.h presence... yes
checking for sp.h... yes
checking for bcopy... yes
checking for inet_aton... yes
checking for inet_ntoa... yes
checking for inet_ntop... yes
checking for memmove... yes
checking for setsid... yes
checking for snprintf... yes
checking for strerror... yes
checking for lrand48... yes
checking for gettimeofday... yes
checking for time... yes
checking whether snprintf correctly terminates long strings... no
configure: WARNING: ****** Your snprintf() function is broken, complain
to your vendor checking for char... yes checking size of char...
configure: error: cannot compute sizeof (char), 77

Any ideas on a solution?

thanks in advance for any help

Cal

########################################
Caleb Racey, Webteam, ISS
University of Newcastle upon Tyne

My mail is aggresively spam filterred.
If you receive no reply. Resend after
removing anything that might look like spam
(e.g use plain text, don't write in ALL CAPS)
########################################

_______________________________________________
wackamole-users mailing list
wackamole-users@lists.backhand.org
http://lists.backhand.org/mailman/listinfo/wackamole-users
Re: problems compiling on redaht AS 3.0 [ In reply to ]
On Jun 22, 2004, at 9:24 AM, caleb racey wrote:
> Spread has compiled without problems, with whackamole I get the
> following errors:
>
> ./configure --with-cppflags=-I/usr/local/include \
>> --with-ldflags=-L/usr/local/lib --prefix=/usr/local/whacka
> .........skip entries for brevity.....
> checking syslog.h usability... yes
> checking syslog.h presence... yes
> checking for syslog.h... yes
> checking sp.h usability... yes
> checking sp.h presence... yes
> checking for sp.h... yes
> checking for bcopy... yes
> checking for inet_aton... yes
> checking for inet_ntoa... yes
> checking for inet_ntop... yes
> checking for memmove... yes
> checking for setsid... yes
> checking for snprintf... yes
> checking for strerror... yes
> checking for lrand48... yes
> checking for gettimeofday... yes
> checking for time... yes
> checking whether snprintf correctly terminates long strings... no
> configure: WARNING: ****** Your snprintf() function is broken, complain
> to your vendor checking for char... yes checking size of char...
> configure: error: cannot compute sizeof (char), 77
>
> Any ideas on a solution?

It's a bad error message.

If you've install spread, you need to make those libraries accessible
to the rest of the system (or at least to wackamole) for run-time
linking.

either add "--with-ldflags=-Wl,-rpath=/path/to/spread/lib"
or add them to the system by adding "/path/to/spread/lib" to your
/etc/ld.so.conf and run "ldconfig" as root.

I install my spread trees with --prefix=/opt/spread, so my lib dir
looks like /opt/spread/lib

Enjoy.

// Theo Schlossnagle
// Principal Engineer -- http://www.omniti.com/~jesus/
// OmniTI Computer Consulting, Inc. -- http://www.omniti.com/
// Ecelerity: fastest MTA on Earth


_______________________________________________
wackamole-users mailing list
wackamole-users@lists.backhand.org
http://lists.backhand.org/mailman/listinfo/wackamole-users
RE: problems compiling on redaht AS 3.0 [ In reply to ]
>It's a bad error message.
>
>If you've install spread, you need to make those libraries accessible
>to the rest of the system (or at least to wackamole) for run-time
>linking.
>
>either add "--with-ldflags=-Wl,-rpath=/path/to/spread/lib"
>or add them to the system by adding "/path/to/spread/lib" to your
>/etc/ld.so.conf and run "ldconfig" as root.
>
>I install my spread trees with --prefix=/opt/spread, so my lib dir
>looks like /opt/spread/lib


Thanks Theo

The compile, make, and "make install" now works with a default install
of spread (i.e. spread libs in /usr/local/lib)

./configure --with-cppflags=-I/usr/local/include \
--with-ldflags=-L/usr/local/lib \
--with-ldflags=-Wl,-rpath=/usr/local/lib \
--prefix=/usr/local/whacka

works on redhat AS 3.0
(obviously change the prefix to whatever you like /usr/local/whacka is
just my choice)

_______________________________________________
wackamole-users mailing list
wackamole-users@lists.backhand.org
http://lists.backhand.org/mailman/listinfo/wackamole-users