- From: Vic Bancroft <bancroft@zvolve.com>
- Date: Thu, 15 Aug 2002 09:24:30 -0400 (EDT)
- To: Tanmay Patwardhan <tpthesis@hotmail.com>
- cc: www-lib@w3.org
On Wed, 14 Aug 2002, Tanmay Patwardhan wrote:
> Has anyone succeeded in compiling libwww with the following congifuration:
> 1. Solaris 2.8
$ uname -a
SunOS res 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-5_10
> 2. Sun's C compiler
$ cc -V
cc: Sun Workshop 6 2000/04/07 C 5.1
Yes, however there are some oddities with the libtool generated by configure
in the w3c-libwww-5.4.0 distribution. There are several invocations of test
that need to have additional quotes around the macros they use. A quick fix is
to patch libtool as follows, (after running configure),
733c733
< if test $pic_mode = no && test "$deplibs_check_method" != pass_all; then
---
> if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
1968c1968
< { test $linkmode = lib && test $hardcode_into_libs = yes; }; then
---
> { test "$linkmode" = lib && test "$hardcode_into_libs" = yes; }; then
2232c2232
< { test $hardcode_into_libs != yes || test $build_old_libs = yes ||
---
> { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes ||
2685c2685
< if test $hardcode_into_libs != yes || test $build_old_libs = yes; then
---
> if test "$hardcode_into_libs" != yes || test $build_old_libs = yes; then
2728c2728
< if test $build_libtool_need_lc = "yes"; then
---
> if test "$build_libtool_need_lc" = "yes"; then
3020c3020
< if test $hardcode_into_libs = yes; then
---
> if test "$hardcode_into_libs" = yes; then
I had not noticed this before, but then again, I use usually use gcc . . .
> 3. Sun's make file
No, it will not work unless you were to hand edit all the GNU make syntax out of
the generated makefiles. Much better to build a copy of the GNU make[1],
install it as gmake and then run it by setting you MAKE environment variable,
$ MAKE=gmake gmake
more,
l8r,
-------------------------------------------------------------------
Victor Bancroft, Principal Engineer, Zvolve Systems [v]770.551.4505
1050 Crown Pointe Pkwy, Suite 300, Atlanta GA 30338 [f]770.551.4509
Fellow, Artificial Intelligence Center [v]706.542-0358
Athens, Georgia 30602, U.S.A http://ai.uga.edu/~bancroft
[1] Web page, http://www.gnu.org/software/make/make.html and the current
distribution ftp://ftp.gnu.org/pub/gnu/make/make-3.79.1.tar.gz
Received on Thursday, 15 August 2002 09:25:24 UTC