[q-lang-devel] Status of debian packaging
Brought to you by:
agraef
From: Kari P. <ka...@sa...> - 2004-02-22 03:46:35
|
I've begun building a Debian package of Q. Some things I've changed to make it conform more to Debian's standards: I moved stuff away from share/q/etc and share/q/examples. I moved that stuff to /usr/share/doc/q-lang/ and /usr/share/doc/q-lang/examples/. I installed q-mode.el to where emacs can find it. Directory name "etc" implies system-wide configuration files. None of the stuff in there was that. Single-letter package names aren't allowed. I named the package as q-lang. I changed the info file to have the right section in it. It was originally like this: START-INFO-DIR-ENTRY * Q: (qdoc). The Q programming language and system. END-INFO-DIR-ENTRY In the package: @dircategory Development @direntry * Q: (qdoc). The Q programming language and system. @end direntry Most of the packaging is done, but I'm stuck with the libraries. Things work fine until I run automake again. The .so files seem to lose their suffix, I don't know if that's significant. The contents of /usr/lib/q/ are: clib curl.a gdbm.la libtool octave odbc.a tk.la clib.a curl.la ggi magick octave.a odbc.la clib.la gdbm ggi.a magick.a octave.la tk curl gdbm.a ggi.la magick.la odbc tk.a The files without suffix have their executable bit set too. This doesn't seem to be related to the debian packaging I've done, running automake and autoconf on the pristine source yields the same result. A few diagnostics on this: $ q Error /usr/lib/q/clib, line 1: parse error at or near symbol `_' $ file /usr/lib/q/clib /usr/lib/q/clib: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped $ file /usr/local/lib/q/clib.so /usr/local/lib/q/clib.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped Looks like /usr/lib/q/clib.la has libraries from the build directory listed in it, under my home directory. As an example, the file /usr/lib/q/curl.la: # curl.la - a libtool library file # Generated by ltmain.sh - GNU libtool 1.4.2 (1.922.2.53 2001/09/11 03:18:52) # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='curl' # Names of this library. library_names='curl curl curl' # The name of the static archive. old_library='curl.a' # Libraries that this one depends upon. dependency_libs=' -L/home/kari/dl/debian/q-lang-5.0/libq /usr/lib/libq.la /usr/l ib/libcurl.la -lz -lssl -lcrypto -ldl -lcrypt -lutil -lnsl -lm' # Version information for curl. current=0 age=0 revision=0 # Is this an already installed library? installed=yes # Files to dlopen/dlpreopen dlopen='' dlpreopen='' # Directory that this library needs to be installed in: libdir='/usr/lib/q' I tried automake versions 1.4, 1.6, 1.7 and 1.8 (you used 1.5 but that wasn't packaged in Debian). I need to be able to run automake again to get the needed changes properly done. |