From: Goerke, Michael (Michael.Goerke@IUE.it)
Date: Sun Mar 07 2004 - 11:13:40 EST
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)
This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:39 EDT