[Orca-users] Re: Problem to run ORCALLATOR.

Blair Zajac blair at akamai.com
Mon Feb 28 11:55:34 PST 2000


It looks like you have a problem with the compiliation system.

When you're building the MD5 module, the gcc you're using was
compiled on a Solaris 2.5 box.  Is the box you're compiling
MD5 on running Solaris 2.5?  If not, this could be the problem.

I would get the latest gcc 2.95.2 from ftp.gnu.org and install
this.  Supposedly it works fine with different OS versions.
Compile it on the oldest OS you have around.

Blair

Philippe Benchemoul wrote:
> 
> From: Philippe Benchemoul <pbenchem at wanadoo.com>
> 
> Hi,
> 
> That is what I did, but it's not ok ......
> 
> test/tmp/Digest-MD5-2.09>make
> mkdir blib
> mkdir blib/lib
> mkdir blib/lib/Digest
> mkdir blib/arch
> mkdir blib/arch/auto
> mkdir blib/arch/auto/Digest
> mkdir blib/arch/auto/Digest/MD5
> mkdir blib/lib/auto
> mkdir blib/lib/auto/Digest
> mkdir blib/lib/auto/Digest/MD5
> mkdir blib/man3
> cp MD5.pm blib/lib/Digest/MD5.pm
> cp lib/Digest/HMAC.pm blib/lib/Digest/HMAC.pm
> cp lib/Digest.pm blib/lib/Digest.pm
> cp lib/Digest/HMAC_SHA1.pm blib/lib/Digest/HMAC_SHA1.pm
> cp lib/Digest/HMAC_MD5.pm blib/lib/Digest/HMAC_MD5.pm
> cp lib/MD5.pm blib/lib/MD5.pm
> mkdir ../blib/arch/auto/Digest/MD2
> mkdir ../blib/lib/auto/Digest/MD2
> cp MD2.pm ../blib/lib/Digest/MD2.pm
> /usr/local/bin/perl -I/usr/local/lib/perl5/5.00503/sun4-solaris
> -I/usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/5.
> 00503/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.00503/ExtUtils/typemap
> -typemap typemap MD2.xs >xstmp.c && mv x
> stmp.c MD2.c
> gcc -c  -I/usr/local/include -O     -DVERSION=\"1.00\"  -DXS_VERSION=\"1.00\"
> -fPIC -I/usr/local/lib/perl5/5.00503/sun
> 4-solaris/CORE  MD2.c
> In file included from
> /usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:367,
>                  from MD2.xs:36:
> /usr/contrib/arch/sun4/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/param.h:187:
> warning: `NBBY' redefined
> /usr/include/sys/select.h:45: warning: this is the location of the previous
> definition
> In file included from /usr/include/sys/stream.h:21,
>                  from /usr/include/netinet/in.h:38,
>                  from
> /usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:523,
>                  from MD2.xs:36:
> /usr/include/sys/vnode.h:163: parse error before `u_offset_t'
> /usr/include/sys/vnode.h:163: warning: no semicolon at end of struct or union
> 
> /usr/include/sys/vnode.h:171: parse error before `}'
> /usr/include/sys/vnode.h:171: warning: data definition has no type or storage
> class
> /usr/include/sys/vnode.h:279: parse error before `intptr_t'
> /usr/include/sys/vnode.h:332: parse error before `u_offset_t'
> In file included from
> /usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:523,
>                  from MD2.xs:36:
> ..............................................................................
> 
> ......................................................
> .................................
> 
> Thanks for your help.
> 
> Blair Zajac wrote:
> 
> > From: Blair Zajac <blair at akamai.com>
> >
> > Hi,
> >
> > You need to follow all the steps in the INSTALL file.  It describes
> > how to install this module.
> >
> > Blair
> >
> > Philippe Benchemoul wrote:
> >
> > > From: Philippe Benchemoul <pbenchem at wanadoo.com>
> > >
> > > Hi,
> > >
> > > I installed the package of perl5.005_03 from 'sunfreeware.com' , and
> > > it's the same  think.
> > >
> > > Here you are the error:
> > >
> > > # /usr/local/progs/orcallator/bin/orca -o
> > > /usr/local/progs/orcallator/lib/orcallator.cfg
> > > Can't locate loadable object for module Digest::MD5 in @INC (@INC
> > > contains:
> > > /usr/contrib/arch/sun4/5.6/lib/perl5/5.00503/sun4-solaris
> > > /usr/contrib/arch/sun4/5.6/lib/perl5/5.00503
> > > /usr/contrib/arch/sun4/5.6/lib/perl5/site_perl/5.005/sun4-solaris
> > > /usr/contrib/arch/sun4/5.6/lib/perl5/site_perl/5.005 .) at
> > > /usr/local/progs/orcallator/bin/orca line 28
> > > BEGIN failed--compilation aborted at
> > > /usr/local/progs/orcallator/bin/orca line 28.
> > >
> > > Thanks for your help.
> > >
> > > ------------------------------------------------------------------------
> > > Why wait for a credit decision?  Get one instantly!  Apply for
> > > the Capital One 9.9% Fixed APR Visa Platinum!
> > > http://click.egroups.com/1/1895/5/_/576712/_/951491264/
> > > ------------------------------------------------------------------------
> >
> > ------------------------------------------------------------------------
> > GET A NEXTCARD VISA, in 30 seconds!  Get rates as low as 0.0%
> > Intro or 9.9% Fixed APR and no hidden fees.  Apply NOW!
> > http://click.egroups.com/1/911/5/_/576712/_/951503833/
> > ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------
> Shop the web for great deals. Save on Computers,
> electronics, Home furnishings and more.
> http://click.egroups.com/1/1559/5/_/576712/_/951744667/
> ------------------------------------------------------------------------



More information about the Orca-users mailing list