Steve Kowalik wrote: > > At 2:25 pm, Tuesday, February 11 2003, Michael Lake mumbled: > > How do I make a deb package from an already configured and linked > > binary? I dont need signed packages and I dont want a cleaned out tree > > afterwards so I used dpkg-buildpackage -uc from the man page) > > I made it from within the vim directory created from 'apt-get source > > vim' so it has the deb control files all there. > > > You have the source, so you want to edit the debian/rules files (which > dpkg-buildpackage uses), so it will build a motif front-end. Keep in mind > that you should *not* build Debian packages as root, but use > 'dpkg-buildpackage -rfakeroot -uc -us'.
Ah ! I see in /home/mikel/vim-6.1.018/debian there is a rules file which says at one point..... guiflags = --with-x --enable-gui=gtk --enable-xim --enable-fontset so that I gather, correct me if I am wrong, passes those options to ./configure i.e. you do all your configure things in the rules file? I tried "dpkg-buildpackage -rfakeroot -uc -us" but I didnt have fakeroot installed so I just did "dpkg-buildpackage -uc -us" as a normal user as I only want the deb built in my normal user directory then I intended to do dpkg --install vim.......deb Is that also a 'right' way? Mike -- -------------------------------------------------------------------- Michael Lake Active caver, Linux enthusiast and interested in anything technical. -------------------------------------------------------------------- -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
