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

dpkg build problem



I have been using slackware 2.3 and wanted to try out a few debian
packages to see if I would want to change. 

 I downloaded dpkg-1.0.5, but have been unable to compile it. 

Here are the problems:

1. In pkglist.cc I got the following error:
   /dpkg-1.0.5/dselect/pkglist.cc:336: undefined reference to `wcursyncup'
  make[1]: *** [dselect] Error 1
  make[1]: Leaving directory
  `/home/peakie/sen/tmp/Linux/dpkg-1.0.5/dselect'
  make: *** [all] Error 127

I then commented out line 336 in pkglist.cc as follows:

   335c335
  <     if (whatinfo_height) wcursyncup(whatinfowin);
  ---
  > /*    if (whatinfo_height) wcursyncup(whatinfowin); */

I got further than before.

I had a few simple include problems in which dpkg was looking for 
   <ncurses.h> 
 and I had to substitute 
   <ncurses/ncurses.h>

2. Then I got a problem that stopped the process:

    main.o: In function `urq_menu(void)':
    /dpkg-1.0.5/dselect/main.cc:177: undefined
   reference to `redrawln'
   make[1]: *** [dselect] Error 1
   make[1]: Leaving directory
   `/home/peakie/sen/tmp/Linux/dpkg-1.0.5/dselect'
   make: *** [all] Error 127

I cannot find any reference to `redrawln' in the source.  

Any suggestions are welcome? 

-------------------------------------------------------------------
--Sheldon Newhouse


Reply to: