Perl Modules For Cricket

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Perl Modules For Cricket

Kevin Fenn
Hi i'm wondering if anyone can help me i'm running perl 5.004 with
solaris 2.6 and i seem to have trouble installing the perl modules
required by cricket.  I have downloaded the perl modules and gziped them
and so on but when i get to the make stage i get the following fatal
error which occurs.

whars05q(kfenn)43: make
gcc -c -I./2.7.5  -O     -DVERSION=\"1.67\"  -DXS_VERSION=\"1.67\" -fpic
-I/vol/perl5/sun4_5.5.1/lib/perl5/sun4-solaris/5.00404/CORE
-DmDB_Prefix_t=size_t -DmDB_Hash_t=u_int32_t DB_File.c
In file included from
/vol/perl5/sun4_5.5.1/lib/perl5/sun4-solaris/5.00404/CORE/perl.h:223,
                 from DB_File.xs:78:
/vol/gcc/sun4_5.5/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.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:26,
                 from /usr/include/netinet/in.h:38,
                 from
/vol/perl5/sun4_5.5.1/lib/perl5/sun4-solaris/5.00404/CORE/perl.h:361,
                 from DB_File.xs:78:
/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
DB_File.xs:112: db.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `DB_File.o'

I tried everthing i could think of and have not found a solutiion so i
was wondering if anyone has had the same problem and if so do they know
how to cure it.  The same message appears when i try to make any
module.  I have tried doing it as root and it akes no difference.

Would be grateful for any insight into this problem.  Thanks.


--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Perl Modules For Cricket

Tobias Oetiker
Today you sent me mail regarding [rrd-users] Perl Modules For Cricket:

*> Hi i'm wondering if anyone can help me i'm running perl 5.004 with
*> solaris 2.6 and i seem to have trouble installing the perl modules
*> required by cricket.  I have downloaded the perl modules and gziped them
*> and so on but when i get to the make stage i get the following fatal
*> error which occurs.
*>
*> whars05q(kfenn)43: make
*> gcc -c -I./2.7.5  -O     -DVERSION=\"1.67\"  -DXS_VERSION=\"1.67\" -fpic
*> -I/vol/perl5/sun4_5.5.1/lib/perl5/sun4-solaris/5.00404/CORE
*> -DmDB_Prefix_t=size_t -DmDB_Hash_t=u_int32_t DB_File.c
*> In file included from
*> /vol/perl5/sun4_5.5.1/lib/perl5/sun4-solaris/5.00404/CORE/perl.h:223,
*>                  from DB_File.xs:78:
*> /vol/gcc/sun4_5.5/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.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:26,
*>                  from /usr/include/netinet/in.h:38,
*>                  from
*> /vol/perl5/sun4_5.5.1/lib/perl5/sun4-solaris/5.00404/CORE/perl.h:361,
*>                  from DB_File.xs:78:
*> /usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
*> DB_File.xs:112: db.h: No such file or directory
*> *** Error code 1
*> make: Fatal error: Command failed for target `DB_File.o'
*>
*> I tried everthing i could think of and have not found a solutiion so i
*> was wondering if anyone has had the same problem and if so do they know
*> how to cure it.  The same message appears when i try to make any
*> module.  I have tried doing it as root and it akes no difference.

your perl installation is screwed ... I suggest you install perl properly
then things will work ...

cheers
tobi
*>
*> Would be grateful for any insight into this problem.  Thanks.
*>
*>
*> --
*> * To unsubscribe from the rrd-users mailing list, send a message with the
*>   subject: unsubscribe to [hidden email]
*>
*>

--
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518
/_/ \.__/_.__/_/ [hidden email] http://ee-staff.ethz.ch/~oetiker

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to [hidden email]