[HPADM] problems compiling perl 5.8.3

From: Goerke, Michael (Michael.Goerke_at_IUE.it)
Date: 03/02/04

  • Next message: rajdeep: "[HPADM] boot from cdrom"
    Date: Tue, 2 Mar 2004 09:57:48 +0100
    To: <hpux-admin@DutchWorks.nl>
    
    

    Dear list,

    I would like to get some help on how to overcome a compilation error when trying to compile perl 5.8.3. I downloaded the source from Software Porting And Archive Centre for HP-UX (http://hpux.connect.org.uk/ with several mirrors), where I picked the prerequisites as well: gcc-3.2.2, bison-1.875, flex-2.5.4a, gmake-3.80 - all four were taken in binary format.
    When trying to compile the perl source I get now:
    $ gmake
    `sh cflags "optimize='-O2'" miniperlmain.o` miniperlmain.c
              CCCMD = gcc -DPERL_CORE -c -D_HPUX_SOURCE -mpa-risc-2-0 -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -O2 -Wall
    In file included from perl.h:709,
                     from miniperlmain.c:27:
    /usr/include/sys/socket.h:484: error: parse error before "sendfile"
    /usr/include/sys/socket.h:484: error: parse error before "bsize_t"
    /usr/include/sys/socket.h:486: error: parse error before "sendpath"
    /usr/include/sys/socket.h:486: error: parse error before "bsize_t"
    gmake: *** [miniperlmain.o] Error 1

    Seraching the archive gave me some idea about a missing library/include PATH in the compilation environment. So I set

    export LDOPTS="+s -s -L/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.3.2 -L/usr/local/lib -L/usr/lib"

    but the result is identical to the first one.

    Could you provide any insights how to overcome the problem? (Installing the binary wouldn't help, as I have to install additional modules as well, and sooner or later the gcc thing would re-appear.)

    TIA, I'll summarize,
    Michael

    ---
    Michael Goerke, European University Institute, Computing Service
                    Via Boccaccio 121, 50133 Firenze, Italy
                    phone: +39 055 4685-531 (voice), 4685-205 (fax)
                    email: michael.goerke@iue.it
    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    

  • Next message: rajdeep: "[HPADM] boot from cdrom"

    Relevant Pages

    • Re: compiling ports with more than one job
      ... I am currently setting up a Sun U60 with FreeBSD. ... So, I'm down to installing ... Some ports have a menu for choosing the compile options. ...
      (freebsd-questions)
    • FC4 good new tech, bad legacy support
      ... After installing FC4 I was impressed with all of the new features, ... All hail Fedora Core 4! ... sourcem CPAN modules etc.), it's not very compatible with older "legacy" ... Good luck downloading anything from sourceforge hoping it will compile. ...
      (Fedora)
    • New driver loading scheme for Project Evil, need input
      ... installing NDIS drivers, mainly so that people no longer have to compile ... The wintobsd.sh script is interactive and prompts you to enter ... The end result is that installing a Windows driver should be as simple ...
      (freebsd-current)
    • Re: Debian Question: linux-image-2.6...-k7 vs. linux-image-2.6...-amd64
      ... I were to install and use AMD64 Kernel. ... programs can get more virtual address space, ... not making my OS 100% 64-bit because I heard it is a hassle to compile both 32-bit and 64-bit programs which I do not have time for. ... and installing the 64-bit system in the first place. ...
      (comp.os.linux.hardware)
    • Not able to compile Qt-Apps
      ... My system's state is testing and I took KDE and Qt from download.kde.org. ... When I run configure on any Qt-Application, ... When I try to compile the conftest.cc on my own, ... because I am starting to lose fun installing my very new ...
      (Debian-User)