[HPADM] [Summary] problems compiling perl 5.8.3

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

  • Next message: Kurt Freydl: "[HPADM] http inquiries to windows 2003 are very slow"
    Date: Sun, 7 Mar 2004 17:13:40 +0100
    To: <hpux-admin@DutchWorks.nl>
    
    

    Hi,

    the easiest solution was to use HP's binaries
    http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL,
    instead of anything from Software Porting And
    Archive Centre for HP-UX (http://hpux.connect.org.uk/).

    Depot's stuff works under /usr/local and relies on
    the gcc environment, which I didn't manage to get
    properly running, and they didn't offer any feed-back
    on this. (Gerado Oliva pointed me to the fact that
    the GNU config tools always tried to compile in PA2.0
    code, and I didn't persuade them to do it differently.)

    In consequence I picked HP's binary, which installs
    under /opt and is using HP's cc compiler. Installing
    additional modules via CPAN worked fine as well.

    My thanks for help go to:
    Oliva, Gerardo [Gerardo.Oliva@acs-inc.com]
    Avgoustakis, Dimitri [dimitri.avgoustakis@hp.com]
    Ben Le [ble@pcc.edu]

    and wishes for a nice upcoming week to the whole list,

    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
    > -----Original Message-----
    > From: Goerke, Michael 
    > Sent: 02 March 2004 09:58
    > To: hpux-admin@DutchWorks.nl
    > Subject: [HPADM] problems compiling perl 5.8.3
    > 
    > 
    > 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)
    > 
    > 
    --
                 ---> 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: Kurt Freydl: "[HPADM] http inquiries to windows 2003 are very slow"

    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)
    • Re: PPS, (PowerPoint slide) viewer on hpux
      ... on HP-UX that did compile without tweaking on all other platforms. ... Linux was invented by a hobbyist, ... consider only Linux as viable platform. ...
      (comp.sys.hp.hpux)
    • 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)
    • 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)
    • 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)