[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg build on solaris...



There I recognize myself a few month ago.

It was version dpkg-1.4.1 from cvs with a patch from Ben Collins.
I gave up really building dpkg but only build dpkg-deb.
If it help here is the operations I made:

-> removed po and intl from SUBDIRS in Makefile.am, added curses
    changed -lncuses to -lcurses
-> removed AM_GNU_GETTEXT from configure.in
-> added '#include <libintl.h>' in 'include/dpkg.h.in'
-> in main/Makefile.am, dpkg-deb, add:
    DEFS: -I/usr/include
    dpkg_LDADD: /usr/lib/libc.a /usr/lib/libintl
   in lib/Makefile.am, add:
    DEFS: -I/usr/include
    libdpkg_la_LDFLAGS  = /usr/lib/libc.a /usr/lib/libintl
-> replace '@INTLLIBS@' '/usr/lib/libintl.a' `find . -name
'Makefile.am'`
-> aclocal -I ./automake
-> autoheader
-> autoconf
-> ln -s /tmp_loic/inst/share/automake/config.sub .
-> automake --add-missing (twice)
-> install -d debian/build
-> cd debian/build
-> ../../configure --enable-static --with-included-gettext
--prefix=/tmp_loic/in
st/usr --datadir=/tmp_loic/inst/usr/share
--sysconfdir=/tmp_loic/inst/etc --shar
edstatedir=/tmp_loic/inst/var/lib --localstatedir=/tmp_loic/inst/var/lib
--with-
arch=sparc
-> modif in libtool
-> gmake

The modif in the generated libtool were mainly paths as far as I
remember.

PS:
(I'm not used to m4 and all those things so I finally isolated
dpkg-deb and wrote a standard Makefile)

Nils Lohner wrote:
> 
> This is from a new cvs co...  shouldn't all of tha m4 files automatically
> include whatever's necessary when you run autogen?  I have the latest
> gettext, so that at least should be installed completely cleanly and
> correctly
> 
> Nils.


Reply to: