[Pkg-electronics-devel] Lintian error in ngspice
Gudjon I. Gudjonsson
gudjon at gudjon.org
Wed Apr 8 06:50:57 UTC 2009
Hi
I'm still working on Ngspice but I am hopefully near the end but
unfortunately it will only qualify for non-free.
However. I have a problem with the
tcl part of it since I get different behavior when I compile the package with
dpkg-buildpackage or pdebuild.
pdebuild installs libspice.so and libspice.la into /usr/share/tcltk
but
dpkg-buildpackage installs it into /usr/lib/tcltk
Now I also get a lintian error that might indicate what the problem really is:
E: tclspice-dev: incorrect-libdir-in-la-file
usr/lib/tcltk/libspice.la /usr/share/tcltk != /usr/lib/tcltk
Do you know what the problem might be?
I have tried it under Debian Lenny and unstable but without difference. The
system has been reinstalled in the meantime so I have not added any strange
tclConfig file.
The only relevant information I have found is the following in configure.in:
if test "x$tcl_config_sh" = "x" ; then
for dir in \
`ls -dr /usr/local/tcltk/tcl[[7-9]].[[0-9]]* 2>/dev/null` \
`ls -dr /usr/local/tcl/tcl[[7-9]].[[0-9]]* 2>/dev/null` \
`ls -dr /usr/local/tcl[[7-9]].[[0-9]]* 2>/dev/null` \
`ls -dr /usr/share/tcltk/tcl[[7-9]].[[0-9]]* 2>/dev/null` \
`ls -dr /usr/share/tcl/tcl[[7-9]].[[0-9]]* 2>/dev/null` \
`ls -dr /usr/share/tcl[[7-9]].[[0-9]]* 2>/dev/null` \
`ls -dr /usr/lib/tcl/tcl[[7-9]].[[0-9]]* 2>/dev/null` \
`ls -dr /usr/lib/tcl[[7-9]].[[0-9]]* 2>/dev/null` \
/usr/local/tcl \
/usr/local \
/usr \
/mingw
do
if test -r "$dir/tclConfig.sh" ; then
echo "Automatic research of tclConfig.sh Found one, accepting it and
stopping research."
tcl_config_sh="$dir/tclConfig.sh"
break
elif test -r "$dir/lib/tclConfig.sh" ; then
echo "Automatic research of tclConfig.sh Found one, accepting it and
stopping research."
tcl_config_sh="$dir/lib/tclConfig.sh"
break
fi
done
fi
The whole package is on my server:
deb-src http://195.198.146.229/debian/ source/
deb http://195.198.146.229/debian/ i386/
if you are interested.
Thanks in advance.
Gudjon
More information about the Pkg-electronics-devel
mailing list