Re: Build problems under Solaris 2.6

Dave Carrigan (dave@rudedog.org)
29 May 1998 11:14:14 -0600

>>>>> "Petter" == Petter Adsen <petter@nil.net> writes:

Petter> When attempting to build sane 0.73 under Solaris 2.6, I get
Petter> this when trying to build the frontends:

Petter> creating xcam Segmentation Fault - core dumped

libtool uses printf(1) to generate some of its output files. It appears
that under Solaris 2.6 that printf run with a too-long argument will
dump core. I don't know anything about libtool, and being an impatient
guy, I just patched the libtool command to split the printf up into two
sections after running configure but before doing a make:

./configure
patch < libtool.patch
make
...

That got me to my destination....

-- 
Dave Carrigan (dave@rudedog.org)         | Yow! PUNK ROCK!!  DISCO DUCK!!
Edmonton, Alberta, Canada                | BIRTH CONTROL!!

--- libtool.orig Tue May 26 20:17:55 1998 +++ libtool Tue May 26 20:19:55 1998 @@ -1614,6 +1614,9 @@ # metacharacters that are still active within double-quoted strings. Xsed='sed -e s/^X//' sed_quote_subst='$sed_quote_subst' +" + $echo >> $output \ +" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set.

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com