Re: -DLINUX=22 and -lperl

From: Colin Watson (cjwatson_at_debian.org)
Date: 02/03/04

  • Next message: Sebastiaan: "Re: Anyone compile/use transcode in stable/testing"
    Date: Tue, 3 Feb 2004 21:15:18 +0000
    To: debian-user@lists.debian.org
    
    

    On Tue, Feb 03, 2004 at 09:01:56PM +0100, Robert Cates wrote:
    > I'm having a problem compiling mod_perl-1.29 as a DSO for Apache
    > 1.3.29... It all starts ok, but then bombs out with the following
    > error:
    >
    > perl/5.6.1/CORE -lperl -ldl -lm -lc -lcrypt
    > /usr/bin/ld: cannot find -lperl
    > collect2: ld returned 1 exit status
    > make[1]: *** [libperl.so] Error 1
    >
    > What exactly is -lperl , and what do I need to do to get it? Or
    > should I ask - what do I need to do to correct list problem?

    You need to install the libperl-dev package.

    > Also, I'm running Debian 3.0r1 with kernel 2.4.18-bf24, and I'm
    > wondering why during the 'make' I see -DLINUX=22.? Shouldn't that be
    > -DLINUX=24?? Where would I change that, if it should be changed?

    Leave it alone; the build process generally knows what it's doing. In
    this case, Apache only cares about whether you're Linux 2.2 or above.

        *-linux22)
            # This handles linux 2.2 and above (2.4, ...)
            DEF_WANTHSREGEX=yes
            OS='Linux'
            CFLAGS="$CFLAGS -DLINUX=22"
            LIBS="$LIBS -lm"
            ;;

    In general it doesn't do much harm to configure for an earlier version,
    anyway.

    Cheers,

    -- 
    Colin Watson                                  [cjwatson@flatline.org.uk]
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Sebastiaan: "Re: Anyone compile/use transcode in stable/testing"

    Relevant Pages

    • Re: [ML ISSUE] reply-to field ?
      ... Breaking this standard would do more harm to people who are able to follow ... Just ask google to implement the list-reply button, it would no harm to you ... Linux - It's now safe to turn on your computer. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Can I use Linux for building bombs ? ? ? ? ? ? ?
      ... > Can I use Linux to power my bombs or are Windows-bombs the better ... "The license must not restrict anyone ... the Linux license allows it to be used for bombs. ...
      (comp.os.linux.hardware)
    • Re: NIP arrived.
      ... Following up to Brimstone ... >Bombs are not designed to explode randomly. ... even with no one about it would have caused harm. ... it doesn't only apply to animate objects. ...
      (uk.rec.driving)