[Sawfish] Libtool errors for librep 0.92.2 compilation

[ Thread Index | Date Index | More lists.tuxfamily.org/sawfish Archives ]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I tried to compile librep 0.92.2 from the source code on Debian 6 AMD64
but it fails with the following lines:

gcc -c -DHAVE_CONFIG_H -I. -I../src -I..  -g -O2 -Wall -Wpointer-arith
- -Wmissing-prototypes -o repdoc.o repdoc.c
/bin/sh ../libtool --mode=link --tag=CC gcc  -o repdoc repdoc.o -lgdbm
.../libtool: 1639: preserve_args+= --tag CC: not found
.../libtool: 9841: libtool_args+= -o: not found
.../libtool: 9841: compile_command+= -o: not found
.../libtool: 9841: finalize_command+= -o: not found
.../libtool: 9841: libtool_args+= repdoc: not found
.../libtool: 9841: compile_command+= @OUTPUT@: not found
.../libtool: 9841: finalize_command+= @OUTPUT@: not found
.../libtool: 1: libtool_args+= repdoc.o: not found
.../libtool: 1: objs+= repdoc.o: not found
.../libtool: 1: compile_command+= repdoc.o: not found
.../libtool: 1: finalize_command+= repdoc.o: not found
.../libtool: 1: libtool_args+= -lgdbm: not found
.../libtool: 1: deplibs+= -lgdbm: not found
.../libtool: 1: compile_command+= : not found
.../libtool: 1: finalize_command+= : not found
libtool: link: gcc
gcc: no input files

With the help of "teratorn" and "mmc" on IRC it turns out the libtool
script uses bashism and can't run properly through sh. Removing $(SHELL)
from makefiles can help a bit but it don't solve the whole problem.
Although I'm not an autotools expert I tried removing $(SHELL) from the
configure script and it worked (at least for me). I joined a diff file
with this message in order to patch the source code.

Regards,

POMPEE William
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPhUZCAAoJED2RVhds6ZJlWJcQAIA5wz/uxw2ZsBhZYrnNQswp
egBkVX+jUKOECUkenRUpqu98m7BzM6lhPCH9WXUzKIsmpbdI1m202nq+fiR5HbLW
umdJ7OGB7YuztqDpqa0heATYhN8VynL/m0eQaKV7inrcL3l875QZtJ+viBwLga6e
ltlsBpgdWDumsnpAx/GuSXM1H0SEyZvLUW0CVcGCTHTleqGtETmyQ+Y545NnNZmm
m8QBP2XucymPx7gkjsPVOHjCUrCCl+Qd3dBHl2j8GuRTkjBVt85NR/MKt6v2Sn/U
q/Lj/ah3GlrGukzlyZnffGsk+lyxldxErmTkLDhgprq7bAh7C1HBmazhciBY01i0
6YpUcMxYZr3eR9ufTRpwjxdUaiyyZnfRHJ27m9BfvhR5Edz+SYZKfDcTei30vXfz
5txO/VrZA7wq+eBe/b7uTGYZWoiOykEO0lEdSAbXO03xAJWFKTlr5V0x9DmNiKGg
1663PnX/MRpLA77ITq4wsrmWR4IW1AXedDlb3kyKD+RfSMKSbSeP8aTemDdjBynx
TuMr+4/oU7o3GPjseVDXLjE5UCQsce8seAros1CRW1B9O/wJ0co6J4V19z7g/aoM
4iEnWafd7Shl7A2V99YqWHZX4qf3NOgmt0S3ANiI0Ss3WZMIk3LGktK+Puk0Jz7n
eT/+v7HCgWNA333XSd2b
=iN66
-----END PGP SIGNATURE-----

Attachment: librep-0.92.2a.diff.lzma
Description: application/lzma

Attachment: 0x6CE99265.asc
Description: application/pgp-keys

Attachment: librep-0.92.2a.diff.lzma.sig
Description: PGP signature

Attachment: 0x6CE99265.asc.sig
Description: PGP signature



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/