[Openais] make install part 2
Steven Dake
sdake at redhat.com
Fri Apr 21 14:08:24 PDT 2006
On Fri, 2006-04-21 at 14:24 +0200, Hans Feldt wrote:
> (At least) one bug:
>
> lcr/lcr_ifact.c#204: free on getenv pointer
>
> Apart from that I get segv in the same file no matter what I do, dynamic
> or not dynamic services.
>
Your segfault is in which file? stack backtrace? Even after the
posted bugfix for the free on getenv pointer (should have been my_ld*).
Thanks
-steve
> Latest stable version that I can use is 995.
>
> Regards,
> Hans
>
>
> Steven Dake wrote:
> > This adds a few more features to make install to install all of the
> > proper files so that pluggable service handlers should be able to use
> > the headers on an installed system. It also installs the man pages.
> >
> > Regards
> > -steve
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > Index: trunk/lcr/Makefile
> > ===================================================================
> > --- trunk/lcr/Makefile (revision 996)
> > +++ trunk/lcr/Makefile (working copy)
> > @@ -33,7 +33,7 @@
> > LDFLAGS += -ldl
> > endif
> >
> > -all:liblcr.a test test2 test_static uic libtest_a.lcrso libtest_b.lcrso
> > +all:liblcr.a test test_static uic libtest_a.lcrso libtest_b.lcrso
> >
> > liblcr.a: lcr_ifact.o
> > $(AR) -rc liblcr.a lcr_ifact.o
> > @@ -59,9 +59,6 @@
> > test: test.o uis.o lcr_ifact.o
> > $(CC) $(LDFLAGS) test.o lcr_ifact.o uis.o -lpthread -o test
> >
> > -test2: test2.o uis.o lcr_ifact.o
> > - $(CC) $(LDFLAGS) test2.o lcr_ifact.o uis.o -lpthread -o test2
> > -
> > test_static: test.o libtest_a.o libtest_b.o uis.o lcr_ifact.o
> > $(CC) $(LDFLAGS) test.o libtest_a.o libtest_b.o lcr_ifact.o -o test_static
> >
> > Index: trunk/Makefile
> > ===================================================================
> > --- trunk/Makefile (revision 996)
> > +++ trunk/Makefile (working copy)
> > @@ -1,4 +1,5 @@
> > # Copyright (c) 2002-2006 MontaVista Software, Inc.
> > +# Copyright (c) 2006 Red Hat, Inc.
> > #
> > # All rights reserved.
> > #
> > @@ -33,11 +34,13 @@
> > SBINDIR=${DESTDIR}/usr/sbin
> > INCLUDEDIR=${DESTDIR}/usr/include/openais
> > INCLUDEDIR_TOTEM=${DESTDIR}/usr/include/openais/totem
> > +INCLUDEDIR_LCR=${DESTDIR}/usr/include/openais/lcr
> > MANDIR=/usr/share/man
> > else
> > SBINDIR=${DESTDIR}/sbin
> > INCLUDEDIR=${DESTDIR}/include/openais
> > INCLUDEDIR_TOTEM=${DESTDIR}/include/openais/totem
> > +INCLUDEDIR_LCR=${DESTDIR}/include/openais/lcr
> > MANDIR=$(DESTDIR)/man
> > endif
> > ETCDIR=/etc
> > @@ -77,9 +80,12 @@
> > mkdir -p $(SBINDIR)
> > mkdir -p $(INCLUDEDIR)
> > mkdir -p $(INCLUDEDIR_TOTEM)
> > + mkdir -p $(INCLUDEDIR_LCR)
> > mkdir -p $(LIBDIR)
> > mkdir -p $(LCRSODIR)
> > mkdir -p $(ETCDIR)
> > + mkdir -p $(MANDIR)/man3
> > + mkdir -p $(MANDIR)/man8
> > mkdir -p /etc/ld.so.conf.d
> >
> > install -m 755 lib/libais.a $(LIBDIR)
> > @@ -111,6 +117,12 @@
> > install -m 644 include/saMsg.h $(INCLUDEDIR)
> > install -m 644 include/cpg.h $(INCLUDEDIR)
> > install -m 644 include/evs.h $(INCLUDEDIR)
> > + install -m 644 exec/aispoll.h $(INCLUDEDIR_TOTEM)
> > install -m 644 exec/totem.h $(INCLUDEDIR_TOTEM)
> > install -m 644 exec/totemip.h $(INCLUDEDIR_TOTEM)
> > + install -m 644 lcr/lcr_ckpt.h $(INCLUDEDIR_LCR)
> > + install -m 644 lcr/lcr_comp.h $(INCLUDEDIR_LCR)
> > + install -m 644 lcr/lcr_ifact.h $(INCLUDEDIR_LCR)
> > + install -m 644 man/*.3 $(MANDIR)/man3
> > + install -m 644 man/*.8 $(MANDIR)/man8
> > /sbin/ldconfig
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Openais mailing list
> > Openais at lists.osdl.org
> > https://lists.osdl.org/mailman/listinfo/openais
>
More information about the Openais
mailing list