Chmouel Boudjnah <[EMAIL PROTECTED]> writes:
>Harald Schreiber <[EMAIL PROTECTED]> writes:
>
>> Hi,
>> When trying to compile the program "suck" with INN history
>> database support, I�ve just noticed that the package inn-devel
>> contains the libraries and manual pages, but it doesn�t contain the
>> necessary header files. In this form it is absolutely useless.
>> I think this should be fixed in the next release.
>
>i don't have this problem, i have compiled inn without problem on a
>vanilla-venus.
You must first READ, then THINK, then WRITE.
I don't have any problem compiling INN, I have a problem
compiling foreign programs which use the libraries libinn.a
and libstorage.a
Look at this:
[harald@blizzard harald]$ rpm -qivl inn-devel
Name : inn-devel Relocations: (not relocateable)
Version : 2.2 Vendor: (none)
Release : 11mdk Build Date: Mon 24 Mai 1999 16:32:49
CEST
Install date: Mit 02 Jun 1999 15:07:08 CEST Build Host: data.mandrakesoft.com
Group : Development/Libraries Source RPM: inn-2.2-11mdk.src.rpm
Size : 226712 License: GPL
Summary : The INN (InterNetNews) library.
Description :
The inn-devel package contains the INN (InterNetNews) library, which
several programs that interface with INN need in order to work (for
example, newsgate and tin).
If you are installing a program which must interface with the INN
news system, you should install inn-devel.
-r-xr-xr-x news news 147236 Mai 24 16:31 /usr/lib/libinn.a
-r-xr-xr-x news news 61362 Mai 24 16:31 /usr/lib/libstorage.a
-r--r--r-- root root 1189 Mai 24 16:31 /usr/man/man3/clientlib.3.bz
2
-r--r--r-- root root 3222 Mai 24 16:31 /usr/man/man3/dbz.3.bz2
-r--r--r-- root root 1656 Mai 24 16:31 /usr/man/man3/inndcomm.3.bz2
-r--r--r-- root root 4473 Mai 24 16:31 /usr/man/man3/libinn.3.bz2
-r--r--r-- root root 3025 Mai 24 16:31 /usr/man/man3/libstorage.3.b
z2
-r--r--r-- root root 1852 Mai 24 16:31 /usr/man/man3/parsedate.3.bz
2
-r--r--r-- root root 1473 Mai 24 16:31 /usr/man/man3/qio.3.bz2
-r--r--r-- root root 1224 Mai 24 16:31 /usr/man/man3/wildmat.3.bz2
You can see: libinn.a and libstorage.a are there, but
the header files:
[harald@blizzard include]$ pwd
/usr/src/RPM/BUILD/inn-2.2/include
[harald@blizzard include]$ ls -al
insgesamt 97
drwxr-xr-x 2 root root 1024 Jul 28 19:44 .
drwxr-xr-x 20 root root 2048 Jul 28 19:41 ..
-rw-r--r-- 1 root root 122 Jul 28 19:44 autoconfig.h
-rw-r--r-- 1 root root 5686 Jul 28 19:40 clibrary.h
-rw-r--r-- 1 root root 5686 Jun 12 1998 clibrary.h.in
-rw-r--r-- 1 root root 423 Aug 20 1998 conffile.h
-rw-r--r-- 1 root root 4904 Jul 28 19:41 config.h
-rw-r--r-- 1 root root 4705 Oct 23 1998 config.h.in
-rw-r--r-- 1 root root 8336 Jul 28 19:41 configdata.h
-rw-r--r-- 1 root root 2920 Oct 14 1998 dbz.h
-rw-r--r-- 1 root root 12001 Nov 7 1998 innconf.h
-rw-r--r-- 1 root root 1694 Jan 18 1998 inndcomm.h
-rw-r--r-- 1 root root 10404 Nov 7 1998 libinn.h
-rw-r--r-- 1 root root 2692 May 21 1998 macros.h
-rw-r--r-- 1 root root 6033 May 8 1998 md5.h
-rw-r--r-- 1 root root 217 May 20 1998 mydir.h
-rw-r--r-- 1 root root 160 Aug 4 1997 mymemory.h
-rw-r--r-- 1 root root 827 Aug 4 1997 myserver.h
-rw-r--r-- 1 root root 454 Aug 4 1997 mystring.h
-rw-r--r-- 1 root root 4921 Sep 22 1997 nntp.h
-rw-r--r-- 1 root root 499 Jan 21 1999 patchlevel.h
-rw-r--r-- 1 root root 3114 Jul 28 19:40 paths.h
-rw-r--r-- 1 root root 3107 Oct 13 1998 paths.h.in
-rw-r--r-- 1 root root 1046 Nov 10 1997 qio.h
-rw-r--r-- 1 root root 2429 May 26 1998 storage.h
-rw-r--r-- 1 root root 143 Aug 4 1997 uio.h
These header files (without the h.in files of course)
are needed if you compile anything with libinn.a
and libstorage.a.
Providing static libraries without header files doesn't make any sense.
Harald
--
-------------------------------------------------------------------
Harald Schreiber, Nizzaalle 26, D-52072 Aachen, Germany
Phone: +49-241-9108015, Email: [EMAIL PROTECTED]
-------------------------------------------------------------------