🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Pierfrancesco Caci Wed, 08 May 2002 08:00
INN 2.3.3 and HPUX 11.00
#58772
Author: Pierfrancesco Caci
Date: Wed, 08 May 2002 08:00
110 lines
6698 bytes
Hello, who can help me understanding what's wrong with compiling 
INN 2.3.3 on HPUX?

 # ./configure --prefix=/opt/inn --with-perl --with-openssl=/opt/openssl --with-sendmail=/usr/local/exim/bin/exim --with-gpgv=/opt/gnupg

 # make

        ar r libinn.a setenv.o hstrerror.o  argparse.o checkart.o cleanfrom.o clientactive.o clientlib.o  closeonexec.o concat.o conffile.o date.o dbz.o defdist.o findheader.o  genid.o getconfig.o getdtab.o getfqdn.o getmodaddr.o gettime.o  grpalias.o hash.o inndcomm.o localopen.o lockfile.o makedir.o  md5.o nonblocking.o parsedate.o qio.o radix32.o readin.o  remopen.o reservedfd.o resource.o rwlock.o sendarticle.o  sendpass.o tempname.o waitnb.o wildmat.o version.o xfopena.o  xmalloc.o xsignal.o xwrite.o
ar: creating libinn.a
        ranlib libinn.a
        gcc -g -O2 -I../include   -Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -I/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE    -c perl.c
<command line>: missing '(' after predicate
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.


I get exactly the same if I use gmake:

# gmake
cd lib       && gmake all
gmake[1]: Entering directory `/pippo/inn-2.3.3/lib'
gcc -g -O2 -I../include   -Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -I/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE    -c perl.c
<command line>: missing '(' after predicate
gmake[1]: *** [perl.o] Error 1
gmake[1]: Leaving directory `/pippo/inn-2.3.3/lib'
gmake: *** [all-lib] Error 2

(Yes I've tried a make clean also :-)

If I remove the --with-perl option, I get a clean compile. But I
wouldn't like to miss that option.

maybe I've missed some important tools... here's what I've installed
from precompiled depots:

  Xaw3d                         1.5            Xaw3d          
  apache2                       2.0.35         apache2        
  bash                          2.05           bash           
  bc                            1.05a          bc             
  binutils                      2.11.2         binutils       
  bison                         1.35           bison          
  bzip2                         1.0.2          bzip2          
  diffutils                     2.7            diffutils      
  emacs                         21.1           emacs          
  fileutils                     4.1.5          fileutils      
  findutils                     4.1.5          findutils      
  flex                          2.5.4a         flex           
  freetype                      2.0.8          freetype       
  gawk                          3.1.0          gawk           
  gcc                           3.0.4          gcc            
  gd                            1.8.4          gd             
  gettext                       0.10.35        gettext        
  gettext                       0.10.38        gettext        
  glib                          1.2.10         glib           
  gtk+                          1.2.10         gtk+           
  gzip                          1.3.3          gzip           
  jpeg                          6b             jpeg           
  less                          358            less           
  libiconv                      1.7            libiconv       
  libpcap                       0.6.2          libpcap        
  libpng                        1.2.0          libpng         
  libstdc++                     2.8.1.1        libstdc++      
  libtool                       1.3.5          libtool        
  logrotate                     2.5            logrotate      
  lsof                          4.55           lsof           
  lynx                          2.8.3          lynx           
  make                          3.79.1         make           
  md5                           1.00           md5            
  mrtg                          2.9.15         mrtg           
  nmap                          2.53           nmap           
  openssh                       3.0.2p1        openssh        
  openssl                       0.9.6c         openssl        
  patch                         2.5.4          patch          
  perl                          5.6.1          perl           
  psgml                         1.2.1          psgml          
  readline                      4.2            readline       
  rsync                         2.5.5rc1       rsync          
  sh_utils                      2.0            sh_utils       
  sharutils                     4.2.1          sharutils      
  snort                         1.8.6          snort          
  sudo                          1.6.2b1        sudo           
  tar                           1.13.25        tar            
  textutils                     2.0.20         textutils      
  tiff                          3.5.4          tiff           
  wget                          1.8            wget           
  xpm                           3.4k           xpm            
  xterm                         1.6.2          xterm          
  zlib                          1.1.4          zlib           

Also, I've added gnupg 1.0.7, and exim 4.04 by compiling from sources.

Thanks in advance

Pf



-- 

-------------------------------------------------------------------------------
 Pierfrancesco Caci |            System Administrator @ seabone.net
 p.caci@seabone.net |     Telecom Italia S.p.A. - International Wholesale Svcs
     Linux paperino 2.4.18-rc1 #1 Thu Feb 14 15:55:54 CET 2002 i686 unknown

Re: INN 2.3.3 and HPUX 11.00
#58782
Author: Russ Allbery
Date: Thu, 09 May 2002 03:42
24 lines
2064 bytes
Pierfrancesco Caci <pieffe@paperino.noc.seabone.net> writes:

> Hello, who can help me understanding what's wrong with compiling 
> INN 2.3.3 on HPUX?

>  # ./configure --prefix=/opt/inn --with-perl --with-openssl=/opt/openssl --with-sendmail=/usr/local/exim/bin/exim --with-gpgv=/opt/gnupg

>         gcc -g -O2 -I../include   -Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -I/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE    -c perl.c
> <command line>: missing '(' after predicate

> If I remove the --with-perl option, I get a clean compile. But I
> wouldn't like to miss that option.

You're not building INN with the same compiler that you built Perl with.
In particular, you're building INN with gcc and you built Perl with HP-UX
cc.  You need to use the same compiler for both, or you'll have to edit
the compile flags.  (In this case, remove -Ae.)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN 2.3.3 and HPUX 11.00
#58786
Author: Pierfrancesco Caci
Date: Thu, 09 May 2002 07:33
28 lines
2346 bytes
:-> "Russ" == Russ Allbery <rra@stanford.edu> writes:

    > Pierfrancesco Caci <pieffe@paperino.noc.seabone.net> writes:
    >> gcc -g -O2 -I../include   -Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -I/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE    -c perl.c
    >> <command line>: missing '(' after predicate


    > You're not building INN with the same compiler that you built Perl with.
    > In particular, you're building INN with gcc and you built Perl with HP-UX
    > cc.  You need to use the same compiler for both, or you'll have to edit
    > the compile flags.  (In this case, remove -Ae.)

Russ, thank you for your help, I'll try removing -Ae or recompiling
with HP's cc. Are there any problems in using anything different from
gcc to compile INN ?

Pf



-- 

-------------------------------------------------------------------------------
 Pierfrancesco Caci |            System Administrator @ seabone.net
 p.caci@seabone.net |     Telecom Italia S.p.A. - International Wholesale Svcs
     Linux paperino 2.4.18-rc1 #1 Thu Feb 14 15:55:54 CET 2002 i686 unknown

Re: INN 2.3.3 and HPUX 11.00
#58790
Author: Russ Allbery
Date: Thu, 09 May 2002 19:26
21 lines
1998 bytes
Pierfrancesco Caci <pieffe@paperino.noc.seabone.net> writes:
>> -> "Russ" == Russ Allbery <rra@stanford.edu> writes:

>> You're not building INN with the same compiler that you built Perl with.
>> In particular, you're building INN with gcc and you built Perl with HP-UX
>> cc.  You need to use the same compiler for both, or you'll have to edit
>> the compile flags.  (In this case, remove -Ae.)

> Russ, thank you for your help, I'll try removing -Ae or recompiling
> with HP's cc. Are there any problems in using anything different from
> gcc to compile INN ?

It's not particularly heavily tested, so it's possible there will be
problems, but the last time someone tried it built fine with HP-UX cc.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads