I have a newly installed Fedora 14 system that I'd like to install various perls on to test different modules. I've got 5.8.9 already and was trying to get 5.10:
perlbrew install perl-5.10.1
That hums along until it fails with the following error:
Making all in ext/ODBM_File
make all PERL_CORE=1 LIBPERL_A=libperl.a
make[1]: Entering directory `/home/mpeters/perl5/perlbrew/build/perl-5
+.10.1/ext/ODBM_File'
cc -c -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl
+ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.07
+\" -DXS_VERSION=\"1.07\" -fPIC "-I../.." ODBM_File.c
ODBM_File.xs:16:7: error: expected =, ,, ;, asm or __attribut
+e__ before fetch
ODBM_File.xs:17:17: error: expected ) before key
ODBM_File.xs:18:18: error: expected ) before key
ODBM_File.xs:19:7: error: expected =, ,, ;, asm or __attribut
+e__ before firstkey
ODBM_File.xs:20:7: error: expected =, ,, ;, asm or __attribut
+e__ before nextkey
ODBM_File.xs:50:15: error: expected =, ,, ;, asm or __attribu
+te__ before datum_key
ODBM_File.xs:51:15: error: expected =, ,, ;, asm or __attribu
+te__ before datum_key_copy
ODBM_File.xs:52:15: error: expected =, ,, ;, asm or __attribu
+te__ before datum_value
Any thoughts about what I might be missing?
-- More people are killed every year by pigs than by sharks, which shows you how good we are at evaluating risk. -- Bruce Schneier
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.