Building perl on mandrake linux

Ask a Question related to PERL Miscellaneous, Design and Development.

  1. #1

    Default Building perl on mandrake linux

    Hi,

    This is my first attempt to build perl on linux.
    I ran (as per the 'INSTALL' file instructions):

    rm -f config.sh Policy.sh
    sh Configure -de
    make
    make test
    make install

    Actually, I didn't get to run the second step ('sh Configure -de'). It
    started automatically when the first step had completed. 'perl -V'
    output indicates that Configure was run *with* those args. I see that
    the perl that came with the OS was built with '-des' args.

    Everything seemed to proceed fine but there are 3 things that puzzle me.
    Firstly the perl executable weighs in at around 1 megabyte - which
    strikes me as being rather inflated (especially given that the perl
    executable that came with the OS is around 10 kb).

    Secondly, I can't find a perl shared library anywhere ('.so'), though I
    expected there to be one alongside the perl executable in the
    /usr/local/bin folder. 'perl -V' tells me that 'libperl=libperl.a',
    which suggests to me that I've managed to build a static perl. Is that
    what I want ? (I was expecting a dynamic perl - which is what I've
    always had on Win32.)

    Thirdly, 'perl -V:cc' outputs 'cc', though I expected 'gcc'. Is there
    any reason that I should be using 'gcc' instead of 'cc' - and if so, how
    do I specify which compiler to use ?

    I notice that threads, ithreads and multiplicity are all undef, which is
    another point of difference between the perl I built and the perl that
    came with the OS. I've never made use of threading, so I guess it
    doesn't matter for the present, but it might be handy to know how to
    configure them in for the future.

    Anyway .... advice, any pointers to relevant documentation, etc,
    gratefully accepted.

    I would provide a copy of my 'perl -V' if I could work out how to copy
    from either the console or a text file to this (Mozilla) newsreader -
    but I haven't yet managed to do that - which is bloody frustrating - but
    I'm not about to transcribe it, and attachments are, I believe, frowned
    upon.

    Oh, yeah, in case it's relevant I should also mention that I built my
    perl from the ActiveState source distribution (build 806).

    Cheers,
    Rob





    Sisyphus Guest

  2. Similar Questions and Discussions

    1. Building Perl 5.8.2 for distribution
      Hi all, I am current attempting to build perl for distribution at my site. I want to build perl and all modules that I need in one directory, and...
    2. [PHP-DEV] Building PHP source for Linux / Unix.
      Hi, I am working on porting PHP onto NetWare. I am a beginner to building PHP source code for Linux / Unix. I am looking for a document that...
    3. Starting an RPC server via xinetd on Mandrake Linux 9
      This is an app I ported from Solaris 7 to Linux (from using TIRPC to the Linux vanilla IPC). On trying to call svctcp_create using the fd 0...
    4. building C DLL for calling from Perl using (*.XS)
      Have anyone tried hooking perl to external C libraries? I am trying to port some code in C into a module (ie. DLL) which can then be called from...
    5. Mandrake Linux and WindowsXP ICS and Filesharing
      I have windowsXP pro with an ISDN internet connection setup on one machine. I have recently installed MandrakeLinux 9.1 on another machine and the...
  3. #2

    Default Re: Building perl on mandrake linux

    Sisyphus (kalinabears@iinet.net.au) wrote on MMMDCLXIII September
    MCMXCIII in <URL:news:3f608533$0$23594$5a62ac22@freenews.iinet .net.au>:
    `'
    `' Anyway .... advice, any pointers to relevant documentation, etc,
    `' gratefully accepted.

    Instead of answering your question, I'll point you to the documentation.
    With the source comes a file INSTALL, a file README, and a whole bunch of
    README.xxx files, where xxx is one of many platforms; the latter files
    contain platform specific information.



    Abigail
    --
    #!/opt/perl/bin/perl -w
    $\ = $"; $SIG {TERM} = sub {print and exit};
    kill 15 => fork for qw /Just another Perl Hacker/;
    Abigail Guest

  4. #3

    Default Re: Building perl on mandrake linux

    Abigail wrote:
    > Sisyphus (kalinabears@iinet.net.au) wrote on MMMDCLXIII September
    > MCMXCIII in <URL:news:3f608533$0$23594$5a62ac22@freenews.iinet .net.au>:
    > `'
    > `' Anyway .... advice, any pointers to relevant documentation, etc,
    > `' gratefully accepted.
    >
    > Instead of answering your question, I'll point you to the documentation.
    > With the source comes a file INSTALL, a file README, and a whole bunch of
    > README.xxx files, where xxx is one of many platforms; the latter files
    > contain platform specific information.
    >
    I read 'INSTALL' and 'README', and even had a look in the 'hints'
    folder, but I can't find any Readme.xxx for linux. I'll start opening
    them one by one until I find the appropriate one. (I was expecting it to
    be named 'Readme.linux', but I have no such file.)

    Cheers,
    Rob

    Sisyphus Guest

  5. #4

    Default Re: Building perl on mandrake linux

    Sisyphus wrote:
    >
    > I read 'INSTALL' and 'README', and even had a look in the 'hints'
    > folder, but I can't find any Readme.xxx for linux.
    It's ok - I've just found the answer to one of my questions in
    'INSTALL'. I suspect all questions will be answered there. Should have
    read it properly .... apologies for not having done that prior to posting.

    Cheers,
    Rob

    Sisyphus Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139