[Quoting repaired] On Tue, Oct 15, 2002 at 12:32:36PM -0400, John Covici wrote: > on Mon, 14 Oct 2002 17:38:05 +0200 Andreas Metzler <[EMAIL PROTECTED]> >wrote: >> Matthias Friedrich wrote: >> [wrong storage.h used] >>> Two real solutions this problem come to my mind: >>> 1. Ship two storage.h files and let configure decide which >>> one to take. >>> 2. Ask the INN-Maintainers to install storage.h on >>> "make install", not just libstorage.
>> I think 2 is the correct solution - if you ship a (static) library you >> should ship the respective header-files, too. >> <advertisement>Debian ships headers and library bundled in the package >> inn2-dev </advertisement> > I can't find any target like libstorage in the main inn makefile -- > can someone tell me what this is? It is created by the default target ------------Makefile---------------- all: all-libraries all-programs ... all-libraries: all-lib all-storage ... all-storage: ; cd storage && $(MAKE) all ------------------------------------ -------------storage/Makefile------- all: autoconfig @$(MAKE) $(FLAGS) DESTDIR=$(DESTDIR) methods @$(MAKE) $(FLAGS) DESTDIR=$(DESTDIR) libstorage.$(EXTLIB) ------------------------------------ and is installed by "make install" to /usr/lib/ make[2]: Leaving directory `/mnt/linuxtest/tmp/inn-2.3.3+20020922.orig/storage' ../support/install-sh -c -o news -g news -m 0555 -B .OLD libstorage.a /usr/lib/news/libstorage.a > I did have to put storage.h in a place where newsx could find it, but > it would be nice to be able to specify where it is. newsx' ./configure looks in standard-include-path and inn/, isn't this good enough? cu andreas ----------------------------------------------------------------------- This message has been sent to you because you are subcribed to the mailing list [EMAIL PROTECTED] To remove yourself from this lists, send an email to [EMAIL PROTECTED] containing "unsubscribe newsx <your_email_address>" in the message body.