Hello. I am trying to build Perl 5.10 on my machine, Ubuntu 12.04 32bit. I can build other versions, such as 5.8, 5.12, 5.14, and 5.16. Here is the output:
cc -fstack-protector -L/usr/local/lib -o miniperl \ gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reent +r.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys. +o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o +globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o p +p_sort.o \ miniperlmain.o opmini.o perlmini.o pp.o: In function `Perl_pp_pow': pp.c:(.text+0x29f4): undefined reference to `pow' pp.o: In function `Perl_pp_modulo': pp.c:(.text+0x33b0): undefined reference to `floor' pp.c:(.text+0x33d7): undefined reference to `floor' pp.c:(.text+0x36be): undefined reference to `fmod' pp.o: In function `Perl_pp_atan2': pp.c:(.text+0x7e4f): undefined reference to `atan2' pp.o: In function `Perl_pp_sin': pp.c:(.text+0x7fc4): undefined reference to `sin' pp.o: In function `Perl_pp_int': pp.c:(.text+0x8431): undefined reference to `floor' pp.c:(.text+0x8451): undefined reference to `ceil' pp.o:(.rodata+0x164): undefined reference to `cos' pp.o:(.rodata+0x168): undefined reference to `sin' pp.o:(.rodata+0x16c): undefined reference to `sin' pp.o:(.rodata+0x170): undefined reference to `exp' pp.o:(.rodata+0x174): undefined reference to `log' pp.o:(.rodata+0x178): undefined reference to `sqrt' pp_pack.o: In function `S_pack_rec': pp_pack.c:(.text+0x30ea): undefined reference to `floor' pp_pack.c:(.text+0x310c): undefined reference to `floor' pp_pack.c:(.text+0x3128): undefined reference to `floor' collect2: ld returned 1 exit status make: *** [miniperl] Error 1
I always run ./Configure -des . Can anyone tell me if this version has special requirements? Thanks! Jim

In reply to Building Perl 5.10 failure by tqisjim

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.