Find the answer to your Linux question:
Results 1 to 1 of 1

Thread: Compiling dpkg

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Minnesota, USA

    Compiling dpkg

    I had no clue where to post this question, but I figured this was my best bet. My sincere apologies if this was the wrong place.

    I'm currently running Slackware 12.0, and I'm trying to compile dpkg so I can try to convert Slackware to deb packages, but trying to compile dpkg gives these errors:
    processarc.o: In function `process_archive':
    processarc.c:(.text+0x3b0): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
    archives.o: In function `tarobject':
    archives.c:(.text+0x2357): undefined reference to `matchpathcon'
    archives.c:(.text+0x237c): undefined reference to `setfscreatecon'
    archives.c:(.text+0x27cb): undefined reference to `setfscreatecon'
    archives.c:(.text+0x27e0): undefined reference to `freecon'
    archives.c:(.text+0x2821): undefined reference to `setfscreatecon'
    archives.c:(.text+0x2bd8): undefined reference to `is_selinux_enabled'
    collect2: ld returned 1 exit status
    make[2]: *** [dpkg] Error 1
    make[2]: Leaving directory `/home/i80and/marine-build/dpkg/dpkg-1.13.25/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/i80and/marine-build/dpkg/dpkg-1.13.25'
    make: *** [all] Error 2
    The configure script ran with no problems, being initialized with
    ./configure --with-bz2 --with-zlib --with-selinux --prefix=/usr
    My CFLAGS env variable was
    export CFLAGS='-O2 -mcpu=i486 -mtune=i686'
    Any help would be most appreciated.

    Edit: Never mind. It would have been nice to know, but I've switched to Debian anyway.
    Last edited by i80and; 08-10-2007 at 06:10 PM. Reason: Void question

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts