On Sat, Dec 05, 1998 at 05:33:23PM -0800,
Joey Hess <[EMAIL PROTECTED]> wrote:

> Kikutani Makoto wrote:
> > .....
> > dh_gencontrol -a
> > dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends}
> > dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends}
> > dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends}
> > dh_makeshlibs -a
> > dh_md5sums -a
> > dh_builddeb -a
> > dpkg-deb: parse error, in file `debian/tmp/DEBIAN/control' near line 6 
> > package `jed':
> >  `Depends' field, missing package name, or garbage where package name 
> > expected
> > dh_builddeb: command returned error code
> > make: *** [binary-arch] Error 1
> > --------------------------------------------------------------------
> > 
> > I'm not sure why ${shlibs:Depends} is not substituted.

Sorry, this was a stupid question.

(Thanks Josip, I didn't know jed is static linked to slang)

I looked at the log again, and found:

cd /opt/usr-local-src/Editor/jed.eng/src/linuxobjs; gcc buffer.o cmds.o misc.o 
file.o main.o ins.o sig.o sysdep.o screen.o paste.o ledit.o line.o vterm.o 
search.o text.o keymap.o replace.o window.o undo.o vfile.o intrin.o syntax.o 
abbrev.o indent.o jprocess.o lineattr.o blocal.o mouse.o display.o gpmmouse.o \
           -o jed  -L/usr/lib -l`ls /usr/lib/libslang1*.a | sed 
's,/usr/lib/lib,,; s,.a$,,'` -lgpm  -lm
ls: /usr/lib/libslang1*.a: No such file or directory

Compiling just failed...

But I wonder why the build fails.
configure of jed is patched for Debian like this:

---------------
 mandir='${prefix}/man'
 
+libslanga=`ls /usr/lib/libslang1*.a | sed 's,/usr/lib/,,'`
+
 # Initialize some other variables.
---------------

But the latest slang1-dev(1.2.2-2) doesn't have libslang1.a.
It contains only libslang.a

Should I post a bug report ?

makoto

-- 
Kikutani, Makoto  [EMAIL PROTECTED]

Reply via email to