problem installing on Fedora 13

168 views
Skip to first unread message

matei

unread,
Jul 9, 2010, 4:45:55 PM7/9/10
to amrita-ebook
At the first step of the installation on a new FC13_64bit system ,
when setting the environment variables, we get a strange error:

[matei@zeus AMRITAv3.05]$ perl MANIFEST
*******************
all files appear OK
*******************
[matei@zeus AMRITAv3.05]$ cd tools
[matei@zeus tools]$ eval `./amrshell -setup bash`
Can't do {n,m} with n > m in regex; marked by <-- HERE in m/^\040{1,0}
<-- HERE / at /home/matei/AMRITA/AMRITAv3.05/Amrita/Filter/amrita.pm
line 257.

Not sure what the problem is here. Any ideas?

James Quirk

unread,
Jul 9, 2010, 5:24:10 PM7/9/10
to matei, amrita-ebook
Matei,

Yes. Your version of Perl is newer than mine and it has broken
backwards compatibility. Specifically it traps for an error
that the older Perl let go. It's easy to fix your immediate
problems. Edit the offending file, LINE 257:

$line =~ s/^\040{1,$nstrip}//;

to read:

$line =~ s/^\040{1,$nstrip}// if($nstrip>1);

Now while that might fix your immediate problem there may
well be other problems that surface. So you will need
to keep an eye out for other backwards incompatibilities.
As you find them, log them and I'll fix them when I get the chance.

James
>
>

Jonathan

unread,
Jul 13, 2010, 5:11:21 PM7/13/10
to amrita-ebook


$ amrmake amrita
******************
amrita flightcheck
******************
CRITICAL : missing ``gcc-g77|gcc-fortran'' : you can't compile
plugin::{amrita,amr_sol}
NONCRITICAL: missing ``gcc-c++'' : you can't use
fold::amrcxx
NONCRITICAL: missing ``ghostscript-x11'' : you can't use
amrita::epsf2xxx
NONCRITICAL: missing ``ghostscript-fonts-std'' : you can't use
amrita::epsf2xxx
NONCRITICAL: missing ``gpg2'' : you can't use amrpdf -
signas -verify
keeping record: $AMRITA/logs/target/serial/Linux/x86_32/O/src3p::perl
********************
amrbuild src3p::perl
********************
Sanity Checks
Filter::amrita OK!
Compress::Zlib BROKEN!
********************************
amrbuild failed for src3p::perl!
********************************
keeping record: $AMRITA/logs/target/serial/Linux/x86_32/O/src3p::mpeg
********************
amrbuild src3p::mpeg
********************
building codec
building huffman
building io
building chendct
building lexer
building marker
building me
building mem
building stat
building stream
building transform
amrcc: error: AMRITA::system -- command failed!
error near: end of line
**********************
amrbuild missing: mpeg
**********************
********************************
amrbuild failed for src3p::mpeg!
********************************
keeping record: $AMRITA/logs/target/serial/Linux/x86_32/O/
src3p::origami
***********************
amrbuild src3p::origami
***********************
building origami2.C
amrcc: error: AMRITA::system -- command not found!
error near: end of line
building editor.C
amrcc: error: AMRITA::system -- command not found!
error near: end of line
building edtutil.C
amrcc: error: AMRITA::system -- command not found!
error near: end of line
building fieldedt.C
amrcc: error: AMRITA::system -- command not found!
error near: end of line
building filer.C
amrcc: error: AMRITA::system -- command not found!
error near: end of line
building globals.C
amrcc: error: AMRITA::system -- command not found!
error near: end of line
building keyboard.C
amrcc: error: AMRITA::system -- command not found!
error near: end of line
building keytab.C
amrcc: error: AMRITA::system -- command not found!
error near: end of line
building misc.C
keeping record: $AMRITA/logs/target/serial/Linux/x86_32/O/
plugin::amrita
***********************
amrbuild plugin::amrita
***********************
building /home/Jonathan/AMRITA/AMRITAv3.05/obj/serial/Linux/x86_32/O/
amrita/isl_parser.o
amrcc: error: AMRITA::system -- command not found!
error near: end of line

... and so on.

gcc-g77 and gcc-fortran seem to be unavailable for fc13. However, gcc-
gfortran is available and has been installed, never the less, amrmake
fails.

Thanks ahead for the help.

Jonathan

James Quirk

unread,
Jul 13, 2010, 6:10:02 PM7/13/10
to Jonathan, amrita-ebook
Jonathan,

>
>
> $ amrmake amrita
> ******************
> amrita flightcheck
> ******************
> CRITICAL : missing ``gcc-g77|gcc-fortran'' : you can't compile
> plugin::{amrita,amr_sol}

> ********************
> amrbuild src3p::perl
> ********************

> ***********************
> amrbuild plugin::amrita
> ***********************
> building /home/Jonathan/AMRITA/AMRITAv3.05/obj/serial/Linux/x86_32/O/
> amrita/isl_parser.o
> amrcc: error: AMRITA::system -- command not found!
> error near: end of line
>
> ... and so on.
>
> gcc-g77 and gcc-fortran seem to be unavailable for fc13. However, gcc-
> gfortran is available and has been installed, never the less, amrmake
> fails.
>
> Thanks ahead for the help.
>
> Jonathan

whenever amrmake fails, your first reaction should be to try:

amrmake -verbose amrita

so as to see what commands are being run and the error messages they
throw. In this instance, you would quickly see that amrmake is trying to
run gcc-4.3 and gfortran-4.3 which are probably not installed on fc13.
To fix the problem, allyou need do is tweak the file:

$AMRITA/SYSTEM/Linux/x86_64/which-gcc

to point to the actual compilers installed on your system.

Note the reason for using specific compiler versions,
say gfortran-4.3 over a plain gfortran, has to do with bugs in
the compiler. Therefore I deemed it safer ti use an explicit
version number rather than relying on the default which
might not be up to snuff.

James

Brian

unread,
Jul 14, 2010, 1:45:09 AM7/14/10
to amrita-ebook
Hi Jonathan,

I had the same problem with Amrita and Fedora13 and have had to edit
the file $AMRITA/SYSTEM/Linux/x86_64/which-gcc to read:
----------------------------------------------------------------------------



$g77 = 'g77';
$gcc = 'gcc';
$gxx = 'g++';
$g2c = 'g2c';
if($word eq '32') {
$gcc = 'gcc'; # gcc-4.3 is broken!
}


----------------------------------------------------------------------------


I had to drop the version numbers from the compilers. Unfortunately I
am having trouble using amrmake on src3p::perl and src3p::origami.
everything else works fine. Here is my output:


----------------------------------------------------------------------------




[bmax@localhost SYSTEM]$ amrmake src3p::perl -verbose

You have requested:

/home/bmax/AMRITA/AMRITAv3.05/src3p/perl/amrita.build

Continue? [yes] >>y
keeping record: $AMRITA/logs/target/serial/Linux/x86_32/O/src3p::perl
********************
amrbuild src3p::perl
********************
Only one of PREFIX or INSTALL_BASE can be given. Not both.
Checking if your kit is complete...
Looks good
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
make: *** No rule to make target `realclean'. Stop.
********************************************************
amrbuild missing: /home/bmax/AMRITA/AMRITAv3.05/bin/perl
********************************************************
********************************
amrbuild failed for src3p::perl!
********************************


----------------------------------------------------------------------------



The other command that fails during amrmake:



----------------------------------------------------------------------------


[bmax@localhost SYSTEM]$ amrmake src3p::origami -verbose

You have requested:

/home/bmax/AMRITA/AMRITAv3.05/src3p/origami/amrita.build

Continue? [yes] >>y
keeping record: $AMRITA/logs/target/serial/Linux/x86/O/src3p::origami
***********************
amrbuild src3p::origami
***********************
building origami2.C
...




************************************
amrcc: pass #3 generate object files
************************************
AMRITA::system { verbose mode
gcc -O3 -w -fPIC -I/usr/X11R6/include -I/usr/include \
-I/home/bmax/AMRITA/AMRITAv3.05/include/cc -I/home/bmax/AMRITA/
AMRITAv3.05/src \
-I/include/cc -I. -I.. -I/home/bmax/.amrita/include/cc -I/include/ -
Dserial_code \
-DLinux_x86_32 -D_code -c ccsrc/motif.c
ccsrc/motif.c: In function ‘index_widget’: ccsrc/motif.c:785:
error: \
‘XmINDICATOR_BOX’ undeclared (first use in this function) ccsrc/
motif.c:785: \
error: (Each undeclared identifier is reported only once ccsrc/
motif.c:785: \
error: for each function it appears in.)
}
amrcc: error: AMRITA::system -- command failed!
error near: end of line
building user.C
...


***********************************
amrcc: pass #4 generate binary file
***********************************
AMRITA::system { verbose mode
gcc -O3 -w -fPIC -I/usr/X11R6/include -I/usr/include \
-I/home/bmax/AMRITA/AMRITAv3.05/include/cc -I/home/bmax/AMRITA/
AMRITAv3.05/src \
-I/include/cc -I. -I.. -I/home/bmax/.amrita/include/cc -I/include/ -
Dserial_code \
-DLinux_x86_32 -D_code -o ./amrorigami ccsrc/origami1.o -L. -L/usr/
lib \
-L/usr/lib/termcap -L/usr/lib64/termcap -L/usr/X11R6/lib64 \
-LAMRSO/serial/Linux/x86_32 -L.. -lORIGAMI -ltermcap -lXm -lXt -
lXext -lXp -lX11
ccsrc/origami1.o: In function `main': origami1.c:(.text+0x4d):
undefined \
reference to `init_motif' ./libORIGAMI.a(origami2.o): In function
`.L65': \
origami2.c:(.text+0xf00): undefined reference to `show_index' \
./libORIGAMI.a(editor.o): In function `line_refresh': editor.c:
(.text+0x109e): \
undefined reference to `cfilename' ./libORIGAMI.a(filer.o): In
function \
`get_dsp_file': filer.c:(.text+0xe84): undefined reference to
`the_filename' \
filer.c:(.text+0xea7): undefined reference to `cfilename' filer.c:
(.text+0xf52): \
undefined reference to `the_filename' filer.c:(.text+0xf82):
undefined reference \
to `cfilename' ./libORIGAMI.a(user.o): In function `quit_file': \
user.c:(.text+0x13): undefined reference to `quit_user_choice' \
./libORIGAMI.a(user.o): In function `load_file': user.c:(.text
+0x84): undefined \
reference to `load_user_choice' user.c:(.text+0x8a): undefined
reference to \
`type_of_load' user.c:(.text+0x112): undefined reference to
`type_of_load' \
user.c:(.text+0x11e): undefined reference to `the_filename' \
user.c:(.text+0x168): undefined reference to `load_user_choice' \
user.c:(.text+0x16e): undefined reference to `type_of_load' \
./libORIGAMI.a(user.o): In function `save_file': user.c:(.text
+0x220): undefined \
reference to `type_of_save' user.c:(.text+0x299): undefined
reference to \
`save_user_choice' collect2: ld returned 1 exit status
}
amrcc: error: AMRITA::system -- command failed!
error near: end of line
****************************
amrbuild missing: amrorigami
****************************
***********************************
amrbuild failed for src3p::origami!
***********************************


----------------------------------------------------------------------------



I have the latest perl and perl-devel packages installed for FC13.
Thanks for any help you might have,

Brian

James Quirk

unread,
Jul 14, 2010, 6:19:24 AM7/14/10
to Brian, amrita-ebook
Brian,

> [bmax@localhost SYSTEM]$ amrmake src3p::perl -verbose
>
> You have requested:
>
> /home/bmax/AMRITA/AMRITAv3.05/src3p/perl/amrita.build
>
> Continue? [yes] >>y
> keeping record: $AMRITA/logs/target/serial/Linux/x86_32/O/src3p::perl
> ********************
> amrbuild src3p::perl
> ********************
> Only one of PREFIX or INSTALL_BASE can be given. Not both.
> Checking if your kit is complete...
> Looks good
> make: *** No targets specified and no makefile found. Stop.
> make: *** No rule to make target `install'. Stop.
> make: *** No rule to make target `realclean'. Stop.
> ********************************************************
> amrbuild missing: /home/bmax/AMRITA/AMRITAv3.05/bin/perl
> ********************************************************
> ********************************
> amrbuild failed for src3p::perl!
> ********************************

Again this error looks like it is a backwards incompatibility
with the Perl shipped with fc13. The good news, however, is
that the functionality provided by src3p::perl is
now included with a standard Perl installation and so
build error is benign, unless you want to write scripts
that use fold::pyhton an fold::ruby.

>
> ************************************
> amrcc: pass #3 generate object files
> ************************************
> AMRITA::system { verbose mode
> gcc -O3 -w -fPIC -I/usr/X11R6/include -I/usr/include \
> -I/home/bmax/AMRITA/AMRITAv3.05/include/cc -I/home/bmax/AMRITA/
> AMRITAv3.05/src \
> -I/include/cc -I. -I.. -I/home/bmax/.amrita/include/cc -I/include/ -
> Dserial_code \
> -DLinux_x86_32 -D_code -c ccsrc/motif.c
> ccsrc/motif.c: In function 'index_widget': ccsrc/motif.c:785:
> error: \
> 'XmINDICATOR_BOX' undeclared (first use in this function) ccsrc/
> motif.c:785: \
> error: (Each undeclared identifier is reported only once ccsrc/
> motif.c:785: \
> error: for each function it appears in.)
> }
> amrcc: error: AMRITA::system -- command failed!
> error near: end of line
> building user.C

XmINDICATOR_BOX should be defined in the Motif
header file "Xm/Xm.h" which on my system is located at:

/usr/include/Xm/Xm.h

You should check that you have the header file and that
it contains the line:

XmINDICATOR_BOX = 255, /* Treated as XmINDICATOR_3D_BOX */

If it doesn't then the Motif library has changed and I will need
to effect a workaround. I know origami is not everyone's cup of
tea, but without it you cannot exploit AMRITA's programming model
and so it is important to have it working, and so you really ought
to have piped up earlier.

James

Brian

unread,
Jul 14, 2010, 11:24:25 AM7/14/10
to amrita-ebook
Thanks James,

I checkout out Xm.h and it is missing that line. Should it be added
somewhere?

I am using openmotif-2.3.2-5.1

Brian
> > On Jul 13, 6:10�pm, James Quirk <j...@galcit.caltech.edu> wrote:
> > > Jonathan,
>
> > > > $ amrmake amrita
> > > > ******************
> > > > amrita flightcheck
> > > > ******************
> > > > CRITICAL � : missing ``gcc-g77|gcc-fortran'' � : you can't compile

James Quirk

unread,
Jul 14, 2010, 11:59:36 AM7/14/10
to Brian, amrita-ebook
Brian,

On Wed, 14 Jul 2010, Brian wrote:

> Thanks James,
>
> I checkout out Xm.h and it is missing that line. Should it be added
> somewhere?

Hold off from doing anything while I do some digging around
to see why the line has disappeared from your version of openmotif.

>
> I am using openmotif-2.3.2-5.1
I'm using openmotif-devel-2.3.0-23 so it should be a straightforwad
matter to check the changes.

James

> > > On Jul 13, 6:10�pm, James Quirk <j...@galcit.caltech.edu> wrote:
> > > > Jonathan,
> >
> > > > > $ amrmake amrita
> > > > > ******************
> > > > > amrita flightcheck
> > > > > ******************

> > > > > CRITICAL � : missing ``gcc-g77|gcc-fortran'' � : you can't compile

James Quirk

unread,
Jul 14, 2010, 6:10:40 PM7/14/10
to Brian, amrita-ebook
Brian,

>
> >
> > I am using openmotif-2.3.2-5.1
You have me confused. From:

http://www.rpmfind.net/linux/RPM/Fedora_13.html

Fedora 13 is listed as using:

openmotif-devel-2.3.3-1.fc13.i686

but every site I've downloaded from the rpm appears to be corrupted.

I did download a:

openmotif-2.3.2-5.1.svn.fc12.ccrma.src.rpm

from Fedora 12 and when it's unpacked the Xm/Xm.h includes the missing
line. So I'm not really sure what's going on.

The best I can suggest is that you download:

http://www.motifzone.net/files/public_downloads/openmotif/2.3/2.3.2/openmotif-2.3.2.tar.gz

and build the library from scratch.

James

Brian

unread,
Jul 14, 2010, 8:59:48 PM7/14/10
to amrita-ebook
Hi James,

Yeah at first the only rpm i could find for openmotif was
openmotif-2.3.2-5.1.svn.fc12.ccrma.src.rpm.

I unistalled that rpm and then downloaded the latest openmotif and
openmotif-devel (version 2.3.3) from http://www.motifzone.net/filebrowser/openmotif/2.3/2.3.3
for FC12 even though I am running FC13. Anyhow, origami compiles now,
so the only component that doesn;t work is src3p::perl.

Thanks for you help,

Brian


On Jul 14, 6:10 pm, James Quirk <j...@galcit.caltech.edu> wrote:
> Brian,
>
>
>
> > > I am using openmotif-2.3.2-5.1
>
> You have me confused. From:
>
> http://www.rpmfind.net/linux/RPM/Fedora_13.html
>
> Fedora 13 is listed as using:
>
> openmotif-devel-2.3.3-1.fc13.i686      
>
> but every site I've downloaded from the rpm appears to be corrupted.
>
> I did download a:
>
> openmotif-2.3.2-5.1.svn.fc12.ccrma.src.rpm
>
> from Fedora 12 and when it's unpacked the Xm/Xm.h includes the missing
> line. So I'm not really sure what's going on.
>
> The best I can suggest is that you download:
>
> http://www.motifzone.net/files/public_downloads/openmotif/2.3/2.3.2/o...
>
> and build the library from scratch.
>
> James
>
> > I'm using openmotif-devel-2.3.0-23 so it should be a straightforwad
> > matter to check the changes.
>
> > James
>
> > > Brian
>
> > > On Jul 14, 6:19�am, James Quirk <j...@galcit.caltech.edu> wrote:
> > > > Brian,
>
> > > > > [bmax@localhost SYSTEM]$ amrmake src3p::perl -verbose
>
> > > > > You have requested:
>
> > > > > /home/bmax/AMRITA/AMRITAv3.05/src3p/perl/amrita.build
>
> > > > > Continue? [yes] >>y
> > > > > keeping record: $AMRITA/logs/target/serial/Linux/x86_32/O/src3p::perl
> > > > > ********************
> > > > > amrbuild src3p::perl
> > > > > ********************
> > > > > Only one of PREFIX or INSTALL_BASE can be given. �Not both.
> > > > > Checking if your kit is complete...
> > > > > Looks good
> > > > > make: *** No targets specified and no makefile found. �Stop.
> > > > > make: *** No rule to make target `install'. �Stop.
> > > > > make: *** No rule to make target `realclean'. �Stop.
> > > > > ********************************************************
> > > > > amrbuild missing: /home/bmax/AMRITA/AMRITAv3.05/bin/perl
> > > > > ********************************************************
> > > > > ********************************
> > > > > amrbuild failed for src3p::perl!
> > > > > ********************************
>
> > > > Again this error looks like it is a backwards incompatibility
> > > > with the Perl shipped with fc13. The good news, however, is
> > > > that the functionality provided by src3p::perl is
> > > > now included with a standard Perl installation and so
> > > > build error is benign, unless you want to write scripts
> > > > that use fold::pyhton an fold::ruby.
>
> > > > > ************************************
> > > > > amrcc: pass #3 generate object files
> > > > > ************************************
> > > > > AMRITA::system { verbose mode
> > > > > � �gcc -O3 -w -fPIC -I/usr/X11R6/include -I/usr/include \
> > > > > � �-I/home/bmax/AMRITA/AMRITAv3.05/include/cc -I/home/bmax/AMRITA/
> > > > > AMRITAv3.05/src \
> > > > > � �-I/include/cc -I. -I.. -I/home/bmax/.amrita/include/cc -I/include/ -
> > > > > Dserial_code \
> > > > > � �-DLinux_x86_32 -D_code -c ccsrc/motif.c
> > > > > � �ccsrc/motif.c: In function 'index_widget': ccsrc/motif.c:785:
> > > > > error: \
> > > > > � �'XmINDICATOR_BOX' undeclared (first use in this function) ccsrc/
> > > > > motif.c:785: \
> > > > > � �error: (Each undeclared identifier is reported only once ccsrc/
> > > > > motif.c:785: \
> > > > > � �error: for each function it appears in.)
> > > > > }
> > > > > amrcc: error: AMRITA::system -- command failed!
> > > > > error near: end of line
> > > > > building user.C
>
> > > > XmINDICATOR_BOX should be defined in the Motif
> > > > header file "Xm/Xm.h" which on my system is located at:
>
> > > > /usr/include/Xm/Xm.h
>
> > > > You should check that you have the header file and that
> > > > it contains the line:
>
> > > > � XmINDICATOR_BOX � � � = 255, �/* Treated as XmINDICATOR_3D_BOX */
>
> > > > If it doesn't then the Motif library has changed and I will need
> > > > to effect a workaround. I know origami is not everyone's cup of
> > > > tea, but without it you cannot exploit AMRITA's programming model
> > > > and so it is important to have it working, and so you really ought
> > > > to have piped up earlier.
>
> > > > James
>
> > > > > ...
>
> > > > > ***********************************
> > > > > amrcc: pass #4 generate binary file
> > > > > ***********************************
> > > > > AMRITA::system { verbose mode
> > > > > � �gcc -O3 -w -fPIC -I/usr/X11R6/include -I/usr/include \
> > > > > � �-I/home/bmax/AMRITA/AMRITAv3.05/include/cc -I/home/bmax/AMRITA/
> > > > > AMRITAv3.05/src \
> > > > > � �-I/include/cc -I. -I.. -I/home/bmax/.amrita/include/cc -I/include/ -
> > > > > Dserial_code \
> > > > > � �-DLinux_x86_32 -D_code -o ./amrorigami ccsrc/origami1.o -L. -L/usr/
> > > > > lib \
> > > > > � �-L/usr/lib/termcap -L/usr/lib64/termcap -L/usr/X11R6/lib64 \
> > > > > � �-LAMRSO/serial/Linux/x86_32 -L.. -lORIGAMI -ltermcap -lXm -lXt -
> > > > > lXext -lXp -lX11
> > > > > � �ccsrc/origami1.o: In function `main': origami1.c:(.text+0x4d):
> > > > > undefined \
> > > > > � �reference to `init_motif' ./libORIGAMI.a(origami2.o): In function
> > > > > `.L65': \
> > > > > � �origami2.c:(.text+0xf00): undefined reference to `show_index' \
> > > > > � �./libORIGAMI.a(editor.o): In function `line_refresh': editor.c:
> > > > > (.text+0x109e): \
> > > > > � �undefined reference to `cfilename' ./libORIGAMI.a(filer.o): In
> > > > > function \
> > > > > � �`get_dsp_file': filer.c:(.text+0xe84): undefined reference to
> > > > > `the_filename' \
> > > > > � �filer.c:(.text+0xea7): undefined reference to `cfilename' filer.c:
> > > > > (.text+0xf52): \
> > > > > � �undefined reference to `the_filename' filer.c:(.text+0xf82):
> > > > > undefined reference \
> > > > > � �to `cfilename' ./libORIGAMI.a(user.o): In function `quit_file': \
> > > > > � �user.c:(.text+0x13): undefined reference to `quit_user_choice' \
> > > > > � �./libORIGAMI.a(user.o): In function `load_file': user.c:(.text
> > > > > +0x84): undefined \
> > > > > � �reference to `load_user_choice' user.c:(.text+0x8a): undefined
> > > > > reference to \
> > > > > � �`type_of_load' user.c:(.text+0x112): undefined reference to
> > > > > `type_of_load' \
> > > > > � �user.c:(.text+0x11e): undefined reference to `the_filename' \
> > > > > � �user.c:(.text+0x168): undefined reference to `load_user_choice' \
> > > > > � �user.c:(.text+0x16e): undefined reference to `type_of_load' \
> > > > > � �./libORIGAMI.a(user.o): In function `save_file': user.c:(.text
> > > > > +0x220): undefined \
> > > > > � �reference to `type_of_save' user.c:(.text+0x299): undefined
> > > > > reference to \
> > > > > � �`save_user_choice' collect2: ld returned 1 exit status
> > > > > }
> > > > > amrcc: error: AMRITA::system -- command failed!
> > > > > error near: end of line
> > > > > ****************************
> > > > > amrbuild missing: amrorigami
> > > > > ****************************
> > > > > ***********************************
> > > > > amrbuild failed for src3p::origami!
> > > > > ***********************************
>
> > > > > ----------------------------------------------------------------------------
>
> > > > > I have the latest perl and perl-devel packages installed for FC13.
> > > > > Thanks for any help you might have,
>
> > > > > Brian
>
> > > > > On Jul 13, 6:10�pm, James Quirk <j...@galcit.caltech.edu> wrote:
> > > > > > Jonathan,
>
> > > > > > > $ amrmake amrita
> > > > > > > ******************
> > > > > > > amrita flightcheck
> > > > > > > ******************
> > > > > > > CRITICAL � : missing ``gcc-g77|gcc-fortran'' � : you can't compile

James Quirk

unread,
Jul 14, 2010, 9:36:50 PM7/14/10
to Brian, amrita-ebook
Brian,

> for FC12 even though I am running FC13. Anyhow, origami compiles now,
> so the only component that doesn;t work is src3p::perl.

You could try compiling src3p::perl manual. To do this:

cd $AMRITA/src3p/perl

then enter each of the directories:

Filter-1.19
Compress-Zlib-1.08
Inline-0.44
Inline-Ruby-0.02
Inline-Python-0.22

and run:

perl Makefile.PL
make
make test

that should help pinpoint what the problem is. Although I have
a suspicion that if one is broken they'll all be broken.

James


>
> Thanks for you help,
>
> Brian
>
>
> On Jul 14, 6:10�pm, James Quirk <j...@galcit.caltech.edu> wrote:
> > Brian,
> >
> >
> >
> > > > I am using openmotif-2.3.2-5.1
> >
> > You have me confused. From:
> >
> > http://www.rpmfind.net/linux/RPM/Fedora_13.html
> >
> > Fedora 13 is listed as using:
> >
> > openmotif-devel-2.3.3-1.fc13.i686 � � �
> >
> > but every site I've downloaded from the rpm appears to be corrupted.
> >
> > I did download a:
> >
> > openmotif-2.3.2-5.1.svn.fc12.ccrma.src.rpm
> >
> > from Fedora 12 and when it's unpacked the Xm/Xm.h includes the missing
> > line. So I'm not really sure what's going on.
> >
> > The best I can suggest is that you download:
> >
> > http://www.motifzone.net/files/public_downloads/openmotif/2.3/2.3.2/o...
> >
> > and build the library from scratch.
> >
> > James
> >
> > > I'm using openmotif-devel-2.3.0-23 so it should be a straightforwad
> > > matter to check the changes.
> >
> > > James
> >
> > > > Brian
> >

> > > > On Jul 14, 6:19�am, James Quirk <j...@galcit.caltech.edu> wrote:
> > > > > Brian,
> >
> > > > > > [bmax@localhost SYSTEM]$ amrmake src3p::perl -verbose
> >
> > > > > > You have requested:
> >
> > > > > > /home/bmax/AMRITA/AMRITAv3.05/src3p/perl/amrita.build
> >
> > > > > > Continue? [yes] >>y
> > > > > > keeping record: $AMRITA/logs/target/serial/Linux/x86_32/O/src3p::perl
> > > > > > ********************
> > > > > > amrbuild src3p::perl
> > > > > > ********************

> > > > > > Only one of PREFIX or INSTALL_BASE can be given. �Not both.


> > > > > > Checking if your kit is complete...
> > > > > > Looks good

> > > > > > make: *** No targets specified and no makefile found. �Stop.
> > > > > > make: *** No rule to make target `install'. �Stop.
> > > > > > make: *** No rule to make target `realclean'. �Stop.


> > > > > > ********************************************************
> > > > > > amrbuild missing: /home/bmax/AMRITA/AMRITAv3.05/bin/perl
> > > > > > ********************************************************
> > > > > > ********************************
> > > > > > amrbuild failed for src3p::perl!
> > > > > > ********************************
> >
> > > > > Again this error looks like it is a backwards incompatibility
> > > > > with the Perl shipped with fc13. The good news, however, is
> > > > > that the functionality provided by src3p::perl is
> > > > > now included with a standard Perl installation and so
> > > > > build error is benign, unless you want to write scripts
> > > > > that use fold::pyhton an fold::ruby.
> >
> > > > > > ************************************
> > > > > > amrcc: pass #3 generate object files
> > > > > > ************************************
> > > > > > AMRITA::system { verbose mode

> > > > > > � �gcc -O3 -w -fPIC -I/usr/X11R6/include -I/usr/include \
> > > > > > � �-I/home/bmax/AMRITA/AMRITAv3.05/include/cc -I/home/bmax/AMRITA/
> > > > > > AMRITAv3.05/src \
> > > > > > � �-I/include/cc -I. -I.. -I/home/bmax/.amrita/include/cc -I/include/ -
> > > > > > Dserial_code \
> > > > > > � �-DLinux_x86_32 -D_code -c ccsrc/motif.c
> > > > > > � �ccsrc/motif.c: In function 'index_widget': ccsrc/motif.c:785:
> > > > > > error: \
> > > > > > � �'XmINDICATOR_BOX' undeclared (first use in this function) ccsrc/
> > > > > > motif.c:785: \
> > > > > > � �error: (Each undeclared identifier is reported only once ccsrc/
> > > > > > motif.c:785: \
> > > > > > � �error: for each function it appears in.)


> > > > > > }
> > > > > > amrcc: error: AMRITA::system -- command failed!
> > > > > > error near: end of line
> > > > > > building user.C
> >
> > > > > XmINDICATOR_BOX should be defined in the Motif
> > > > > header file "Xm/Xm.h" which on my system is located at:
> >
> > > > > /usr/include/Xm/Xm.h
> >
> > > > > You should check that you have the header file and that
> > > > > it contains the line:
> >

> > > > > � XmINDICATOR_BOX � � � = 255, �/* Treated as XmINDICATOR_3D_BOX */


> >
> > > > > If it doesn't then the Motif library has changed and I will need
> > > > > to effect a workaround. I know origami is not everyone's cup of
> > > > > tea, but without it you cannot exploit AMRITA's programming model
> > > > > and so it is important to have it working, and so you really ought
> > > > > to have piped up earlier.
> >
> > > > > James
> >
> > > > > > ...
> >
> > > > > > ***********************************
> > > > > > amrcc: pass #4 generate binary file
> > > > > > ***********************************
> > > > > > AMRITA::system { verbose mode

> > > > > > � �gcc -O3 -w -fPIC -I/usr/X11R6/include -I/usr/include \
> > > > > > � �-I/home/bmax/AMRITA/AMRITAv3.05/include/cc -I/home/bmax/AMRITA/
> > > > > > AMRITAv3.05/src \
> > > > > > � �-I/include/cc -I. -I.. -I/home/bmax/.amrita/include/cc -I/include/ -
> > > > > > Dserial_code \
> > > > > > � �-DLinux_x86_32 -D_code -o ./amrorigami ccsrc/origami1.o -L. -L/usr/
> > > > > > lib \
> > > > > > � �-L/usr/lib/termcap -L/usr/lib64/termcap -L/usr/X11R6/lib64 \
> > > > > > � �-LAMRSO/serial/Linux/x86_32 -L.. -lORIGAMI -ltermcap -lXm -lXt -
> > > > > > lXext -lXp -lX11
> > > > > > � �ccsrc/origami1.o: In function `main': origami1.c:(.text+0x4d):
> > > > > > undefined \
> > > > > > � �reference to `init_motif' ./libORIGAMI.a(origami2.o): In function
> > > > > > `.L65': \
> > > > > > � �origami2.c:(.text+0xf00): undefined reference to `show_index' \
> > > > > > � �./libORIGAMI.a(editor.o): In function `line_refresh': editor.c:
> > > > > > (.text+0x109e): \
> > > > > > � �undefined reference to `cfilename' ./libORIGAMI.a(filer.o): In
> > > > > > function \
> > > > > > � �`get_dsp_file': filer.c:(.text+0xe84): undefined reference to
> > > > > > `the_filename' \
> > > > > > � �filer.c:(.text+0xea7): undefined reference to `cfilename' filer.c:
> > > > > > (.text+0xf52): \
> > > > > > � �undefined reference to `the_filename' filer.c:(.text+0xf82):
> > > > > > undefined reference \
> > > > > > � �to `cfilename' ./libORIGAMI.a(user.o): In function `quit_file': \
> > > > > > � �user.c:(.text+0x13): undefined reference to `quit_user_choice' \
> > > > > > � �./libORIGAMI.a(user.o): In function `load_file': user.c:(.text
> > > > > > +0x84): undefined \
> > > > > > � �reference to `load_user_choice' user.c:(.text+0x8a): undefined
> > > > > > reference to \
> > > > > > � �`type_of_load' user.c:(.text+0x112): undefined reference to
> > > > > > `type_of_load' \
> > > > > > � �user.c:(.text+0x11e): undefined reference to `the_filename' \
> > > > > > � �user.c:(.text+0x168): undefined reference to `load_user_choice' \
> > > > > > � �user.c:(.text+0x16e): undefined reference to `type_of_load' \
> > > > > > � �./libORIGAMI.a(user.o): In function `save_file': user.c:(.text
> > > > > > +0x220): undefined \
> > > > > > � �reference to `type_of_save' user.c:(.text+0x299): undefined
> > > > > > reference to \
> > > > > > � �`save_user_choice' collect2: ld returned 1 exit status


> > > > > > }
> > > > > > amrcc: error: AMRITA::system -- command failed!
> > > > > > error near: end of line
> > > > > > ****************************
> > > > > > amrbuild missing: amrorigami
> > > > > > ****************************
> > > > > > ***********************************
> > > > > > amrbuild failed for src3p::origami!
> > > > > > ***********************************
> >
> > > > > > ----------------------------------------------------------------------------
> >
> > > > > > I have the latest perl and perl-devel packages installed for FC13.
> > > > > > Thanks for any help you might have,
> >
> > > > > > Brian
> >

> > > > > > On Jul 13, 6:10�pm, James Quirk <j...@galcit.caltech.edu> wrote:
> > > > > > > Jonathan,
> >
> > > > > > > > $ amrmake amrita
> > > > > > > > ******************
> > > > > > > > amrita flightcheck
> > > > > > > > ******************

> > > > > > > > CRITICAL � : missing ``gcc-g77|gcc-fortran'' � : you can't compile

Brian

unread,
Jul 15, 2010, 10:49:54 AM7/15/10
to amrita-ebook
James,

Yeah they are all broken. Here are my bash outputs to each component.

Brian


[bmax@xo Filter-1.19]$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Filter::Util::Call
Writing Makefile for Filter::Util::Exec
Writing Makefile for Filter::decrypt
Writing Makefile for Filter::tee
Writing Makefile for Filter
[bmax@xo Filter-1.19]$ make
cp perlfilter.pod blib/lib/perlfilter.pod
cp lib/Filter/exec.pm blib/lib/Filter/exec.pm
cp lib/Filter/cpp.pm blib/lib/Filter/cpp.pm
cp Try.pm blib/lib/Try.pm
cp lib/Filter/sh.pm blib/lib/Filter/sh.pm
make[1]: Entering directory `/home/bmax/AMRITA/AMRITAv3.05/src3p/perl/
Filter-1.19/Call'
cp Call.pm ../blib/lib/Filter/Util/Call.pm
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/
perl5/ExtUtils/typemap Call.xs > Call.xsc && mv Call.xsc Call.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fno-strict-
aliasing -pipe -fstack-protector -I/usr/local/include -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -
DVERSION=\"1.04\" -DXS_VERSION=\"1.04\" -fPIC "-I/usr/lib/perl5/
CORE" Call.c
Call.xs: In function ‘filter_call’:
Call.xs:66: warning: suggest parentheses around assignment used as
truth value
Call.xs:89: warning: suggest parentheses around assignment used as
truth value
Running Mkbootstrap for Filter::Util::Call ()
chmod 644 Call.bs
rm -f ../blib/arch/auto/Filter/Util/Call/Call.so
gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -
fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -
mtune=atom -fasynchronous-unwind-tables -L/usr/local/lib Call.o -o ../
blib/arch/auto/Filter/Util/Call/Call.so \
\

chmod 755 ../blib/arch/auto/Filter/Util/Call/Call.so
cp Call.bs ../blib/arch/auto/Filter/Util/Call/Call.bs
chmod 644 ../blib/arch/auto/Filter/Util/Call/Call.bs
Manifying ../blib/man3/Filter::Util::Call.3pm
make[1]: Leaving directory `/home/bmax/AMRITA/AMRITAv3.05/src3p/perl/
Filter-1.19/Call'
make[1]: Entering directory `/home/bmax/AMRITA/AMRITAv3.05/src3p/perl/
Filter-1.19/Exec'
cp Exec.pm ../blib/lib/Filter/Util/Exec.pm
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/
perl5/ExtUtils/typemap Exec.xs > Exec.xsc && mv Exec.xsc Exec.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fno-strict-
aliasing -pipe -fstack-protector -I/usr/local/include -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -
DVERSION=\"1.01\" -DXS_VERSION=\"1.01\" -fPIC "-I/usr/lib/perl5/
CORE" Exec.c
Exec.xs: In function ‘pipe_read’:
Exec.xs:213: warning: format ‘%d’ expects type ‘int’, but argument 2
has type ‘struct SV *’
Exec.xs: In function ‘spawnCommand’:
Exec.xs:408: warning: passing argument 1 of ‘fclose’ from incompatible
pointer type
/usr/include/stdio.h:236: note: expected ‘struct FILE *’ but argument
is of type ‘struct PerlIOl **’
Exec.xs:422: warning: passing argument 1 of ‘fclose’ from incompatible
pointer type
/usr/include/stdio.h:236: note: expected ‘struct FILE *’ but argument
is of type ‘struct PerlIOl **’
Exec.xs:399: warning: unused variable ‘sv’
Exec.xs: In function ‘filter_exec’:
Exec.xs:484: warning: suggest parentheses around assignment used as
truth value
Exec.xs:505: warning: suggest parentheses around assignment used as
truth value
Exec.xs:468: warning: unused variable ‘len’
Exec.xs: In function ‘XS_Filter__Util__Exec_filter_add’:
Exec.xs:589: error: ‘PL_rsfp’ undeclared (first use in this function)
Exec.xs:589: error: (Each undeclared identifier is reported only once
Exec.xs:589: error: for each function it appears in.)
Exec.c:622: warning: unused variable ‘module’
make[1]: *** [Exec.o] Error 1
make[1]: Leaving directory `/home/bmax/AMRITA/AMRITAv3.05/src3p/perl/
Filter-1.19/Exec'
make: *** [subdirs] Error 2


------------------------------------------------------------------------


[bmax@xo Filter-1.19]$ cd ..
[bmax@xo perl]$ cd Compress-Zlib-1.08/
[bmax@xo Compress-Zlib-1.08]$ perl Makefile.PL
Parsing config.in...
Looks Good.
Checking if your kit is complete...
Looks good
Writing Makefile for Compress::Zlib
[bmax@xo Compress-Zlib-1.08]$ make
cp Zlib.pm blib/lib/Compress/Zlib.pm
AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib)
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/
perl5/ExtUtils/typemap -typemap typemap Zlib.xs > Zlib.xsc && mv
Zlib.xsc Zlib.c
gcc -c -I./libraries/1.1.3 -D_REENTRANT -D_GNU_SOURCE -
DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -fstack-protector -I/
usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -
pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-
unwind-tables -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" -fPIC "-I/usr/
lib/perl5/CORE" Zlib.c
Zlib.xs: In function ‘gzreadline’:
Zlib.xs:180: warning: suggest parentheses around assignment used as
truth value
Zlib.xs:183: warning: suggest parentheses around assignment used as
truth value
Zlib.xs: In function ‘deRef’:
Zlib.xs:226: warning: enumeration value ‘SVt_NULL’ not handled in
switch
Zlib.xs:226: warning: enumeration value ‘SVt_BIND’ not handled in
switch
Zlib.xs:226: warning: enumeration value ‘SVt_IV’ not handled in switch
Zlib.xs:226: warning: enumeration value ‘SVt_NV’ not handled in switch
Zlib.xs:226: warning: enumeration value ‘SVt_RV’ not handled in switch
Zlib.xs:226: warning: enumeration value ‘SVt_PV’ not handled in switch
Zlib.xs:226: warning: enumeration value ‘SVt_PVIV’ not handled in
switch
Zlib.xs:226: warning: enumeration value ‘SVt_PVNV’ not handled in
switch
Zlib.xs:226: warning: enumeration value ‘SVt_PVMG’ not handled in
switch
Zlib.xs:226: warning: enumeration value ‘SVt_PVGV’ not handled in
switch
Zlib.xs:226: warning: enumeration value ‘SVt_PVLV’ not handled in
switch
Zlib.xs:226: warning: enumeration value ‘SVt_PVFM’ not handled in
switch
Zlib.xs:226: warning: enumeration value ‘SVt_PVIO’ not handled in
switch
Zlib.xs:226: warning: enumeration value ‘SVt_LAST’ not handled in
switch
Zlib.xs: In function ‘XS_Compress__Zlib__deflateInit’:
Zlib.xs:764: warning: suggest parentheses around assignment used as
truth value
Zlib.xs: In function ‘XS_Compress__Zlib__inflateInit’:
Zlib.xs:802: warning: suggest parentheses around assignment used as
truth value
Zlib.c: In function ‘XS_Compress__Zlib__deflateStream_deflate’:
Zlib.c:1199: warning: unused variable ‘targ’
Zlib.c:1198: warning: unused variable ‘RETVAL’
Zlib.c: In function ‘XS_Compress__Zlib__inflateStream_inflate’:
Zlib.c:1443: warning: unused variable ‘targ’
Zlib.c:1442: warning: unused variable ‘RETVAL’
Zlib.c: In function ‘XS_Compress__Zlib__gzFile_gzread’:
Zlib.c:710: warning: ‘RETVAL’ may be used uninitialized in this
function
Running Mkbootstrap for Compress::Zlib ()
chmod 644 Zlib.bs
rm -f blib/arch/auto/Compress/Zlib/Zlib.so
gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -
fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -
mtune=atom -fasynchronous-unwind-tables -L/usr/local/lib Zlib.o -o
blib/arch/auto/Compress/Zlib/Zlib.so \
-lz \

chmod 755 blib/arch/auto/Compress/Zlib/Zlib.so
cp Zlib.bs blib/arch/auto/Compress/Zlib/Zlib.bs
chmod 644 blib/arch/auto/Compress/Zlib/Zlib.bs
Manifying blib/man3/Compress::Zlib.3pm
[bmax@xo Compress-Zlib-1.08]$ makte test
bash: makte: command not found
[bmax@xo Compress-Zlib-1.08]$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/examples.t .. Failed 1/13 subtests
t/zlib.t ...... Character in 'c' format wrapped in pack at /home/bmax/
AMRITA/AMRITAv3.05/src3p/perl/Compress-Zlib-1.08/blib/lib/Compress/
Zlib.pm line 277.
Character in 'c' format wrapped in pack at /home/bmax/AMRITA/
AMRITAv3.05/src3p/perl/Compress-Zlib-1.08/blib/lib/Compress/Zlib.pm
line 277.
t/zlib.t ...... Failed 12/154 subtests

Test Summary Report
-------------------
t/examples.t (Wstat: 0 Tests: 13 Failed: 1)
Failed test: 4
t/zlib.t (Wstat: 0 Tests: 154 Failed: 12)
Failed tests: 28-30, 36-38, 44-46, 53, 55, 57
Files=2, Tests=167, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.19
cusr 0.04 csys = 0.28 CPU)
Result: FAIL
Failed 2/2 test programs. 13/167 subtests failed.
make: *** [test_dynamic] Error 255


------------------------------------------------------------------------

[bmax@xo Compress-Zlib-1.08]$ cd ..
[bmax@xo perl]$ cd Inline-0.44/
[bmax@xo Inline-0.44]$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Warning: prerequisite Parse::RecDescent 1.8 not found.

Inline::C is packaged with Inline.pm because it is the most commonly
used
Inline Language Support Module (ILSM).

See also: Inline::ASM, ::Awk, ::BC, ::Basic, ::Befunge, ::CPP (C+
+), ::CPR,
::Foo, ::Guile, ::Java, ::Octave, ::PERL, ::Python, ::Ruby, ::TT,
::Tcl and ::WebChat.

Config.pm indicates that your version of Perl was built with this C
compiler:

gcc

I have located this compiler on your system:

Do you want to install Inline::C? [y] y
Writing Makefile for Inline::C
Writing Makefile for Inline
[bmax@xo Inline-0.44]$ make
cp Inline.pod blib/lib/Inline.pod
cp lib/Inline/MakeMaker/Changes blib/lib/Inline/MakeMaker/Changes
cp lib/Inline/denter.pm blib/lib/Inline/denter.pm
AutoSplitting blib/lib/Inline/denter.pm (blib/lib/auto/Inline/denter)
cp Inline.pm blib/lib/Inline.pm
AutoSplitting blib/lib/Inline.pm (blib/lib/auto/Inline)
cp lib/Inline/Foo.pm blib/lib/Inline/Foo.pm
cp Inline-API.pod blib/lib/Inline-API.pod
cp lib/Inline/MakeMaker.pm blib/lib/Inline/MakeMaker.pm
cp Inline-FAQ.pod blib/lib/Inline-FAQ.pod
cp Inline-Support.pod blib/lib/Inline-Support.pod
make[1]: Entering directory `/home/bmax/AMRITA/AMRITAv3.05/src3p/perl/
Inline-0.44/C'
cp lib/Inline/C/ParseRegExp.pm ../blib/lib/Inline/C/ParseRegExp.pm
cp C-Cookbook.pod ../blib/lib/Inline/C-Cookbook.pod
cp C.pm ../blib/lib/Inline/C.pm
cp C.pod ../blib/lib/Inline/C.pod
cp lib/Inline/C/ParseRecDescent.pm ../blib/lib/Inline/C/
ParseRecDescent.pm
Manifying ../blib/man3/Inline::C::ParseRegExp.3pm
Manifying ../blib/man3/Inline::C-Cookbook.3pm
Manifying ../blib/man3/Inline::C::ParseRecDescent.3pm
Manifying ../blib/man3/Inline::C.3pm
make[1]: Leaving directory `/home/bmax/AMRITA/AMRITAv3.05/src3p/perl/
Inline-0.44/C'
Manifying blib/man3/Inline.3pm
Manifying blib/man3/Inline-API.3pm
Manifying blib/man3/Inline-FAQ.3pm
Manifying blib/man3/Inline-Support.3pm
[bmax@xo Inline-0.44]$ make test
make[1]: Entering directory `/home/bmax/AMRITA/AMRITAv3.05/src3p/perl/
Inline-0.44/C'
make[1]: Leaving directory `/home/bmax/AMRITA/AMRITAv3.05/src3p/perl/
Inline-0.44/C'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00init.t .... ok
t/01usages.t .. ok
t/02config.t .. ok
t/03errors.t .. ok
t/04create.t .. ok
t/05files.t ... skipped: (no reason given)
All tests successful.
Files=6, Tests=14, 11 wallclock secs ( 0.03 usr 0.01 sys + 0.59
cusr 0.06 csys = 0.69 CPU)
Result: PASS
make[1]: Entering directory `/home/bmax/AMRITA/AMRITAv3.05/src3p/perl/
Inline-0.44/C'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, '../blib/lib', '../blib/arch')" t/*.t
t/00init.t ..... ok
t/01syntax.t ... Uncaught exception from user code:
This innvocation of Inline requires the Parse::RecDescent module.
Can't locate Parse/RecDescent.pm in @INC (@INC contains: /home/bmax/
AMRITA/AMRITAv3.05/src3p/perl/Inline-0.44/C/_Inline_test/lib ../blib/
lib blib/lib /home/bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-0.44/C/../
blib/lib /home/bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-0.44/C/../
blib/arch /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5 /
usr/share/perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-
thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/
vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/
5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl .) at ../
blib/lib/Inline/C/ParseRecDescent.pm line 14.

at ../blib/lib/Inline/C.pm line 322
BEGIN failed--compilation aborted at t/01syntax.t line 37.
at t/01syntax.t line 37
One or more DATA sections were not processed by Inline.

t/01syntax.t ... Dubious, test returned 2 (wstat 512, 0x200)
Failed 5/5 subtests
t/02config.t ... 1/3 Uncaught exception from user code:
This innvocation of Inline requires the Parse::RecDescent module.
Can't locate Parse/RecDescent.pm in @INC (@INC contains: /home/bmax/
AMRITA/AMRITAv3.05/src3p/perl/Inline-0.44/C/_Inline_test/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-0.44/C/_Inline_test/lib /
home/bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-0.44/C/_Inline_test/
lib ../blib/lib blib/lib /home/bmax/AMRITA/AMRITAv3.05/src3p/perl/
Inline-0.44/C/../blib/lib /home/bmax/AMRITA/AMRITAv3.05/src3p/perl/
Inline-0.44/C/../blib/arch /usr/local/lib/perl5 /usr/local/share/
perl5 /usr/lib/perl5 /usr/share/perl5 /usr/local/lib/perl5/site_perl/
5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /
usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/
perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/
site_perl .) at ../blib/lib/Inline/C/ParseRecDescent.pm line 14.

at ../blib/lib/Inline/C.pm line 322
BEGIN failed--compilation aborted at t/02config.t line 40.
at t/02config.t line 40
t/02config.t ... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/3 subtests
t/03typemap.t .. Uncaught exception from user code:
This innvocation of Inline requires the Parse::RecDescent module.
Can't locate Parse/RecDescent.pm in @INC (@INC contains: /home/bmax/
AMRITA/AMRITAv3.05/src3p/perl/Inline-0.44/C/_Inline_test/lib ../blib/
lib blib/lib /home/bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-0.44/C/../
blib/lib /home/bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-0.44/C/../
blib/arch /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5 /
usr/share/perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-
thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/
vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/
5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl .) at ../
blib/lib/Inline/C/ParseRecDescent.pm line 14.

at ../blib/lib/Inline/C.pm line 322
INIT failed--call queue aborted.
at t/03typemap.t line 0
t/03typemap.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/04perlapi.t .. Uncaught exception from user code:
This innvocation of Inline requires the Parse::RecDescent module.
Can't locate Parse/RecDescent.pm in @INC (@INC contains: /home/bmax/
AMRITA/AMRITAv3.05/src3p/perl/Inline-0.44/C/_Inline_test/lib ../blib/
lib blib/lib /home/bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-0.44/C/../
blib/lib /home/bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-0.44/C/../
blib/arch /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5 /
usr/share/perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-
thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/
vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/
5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl .) at ../
blib/lib/Inline/C/ParseRecDescent.pm line 14.

at ../blib/lib/Inline/C.pm line 322
INIT failed--call queue aborted.
at t/04perlapi.t line 0
t/04perlapi.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests
t/05xsmode.t ... ok

Test Summary Report
-------------------
t/01syntax.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 5 tests but ran 0.
t/02config.t (Wstat: 512 Tests: 2 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 3 tests but ran 2.
t/03typemap.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/04perlapi.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 1 tests but ran 0.
Files=6, Tests=4, 2 wallclock secs ( 0.03 usr 0.01 sys + 1.17 cusr
0.15 csys = 1.36 CPU)
Result: FAIL
Failed 4/6 test programs. 0/4 subtests failed.
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory `/home/bmax/AMRITA/AMRITAv3.05/src3p/perl/
Inline-0.44/C'
make: *** [subdirs-test] Error 2


------------------------------------------------------------------------


[bmax@xo Inline-Ruby-0.02]$ perl Makefile.PL
Found 1 ruby executables on your PATH.
1. /usr/bin/ruby
Use which? [1] 1
Using /usr/bin/ruby
Using these settings:
Extra Libs: -lpthread -lrt -ldl -lcrypt -lm
Ruby Lib: -L/usr/lib -lruby
Includes: -I/usr/lib/ruby/1.8/i386-linux
Extra Flags: none (perl Makefile.PL --help for details)
Warning: prerequisite Inline 0.42 not found.
Writing Makefile for Inline::Ruby
[bmax@xo Inline-Ruby-0.02]$ make
cp lib/Inline/Ruby.pod blib/lib/Inline/Ruby.pod
cp ruby.pl blib/lib/Inline/ruby.pl
cp Ruby.pm blib/lib/Inline/Ruby.pm
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/
perl5/ExtUtils/typemap Ruby.xs > Ruby.xsc && mv Ruby.xsc Ruby.c
gcc -c -I/usr/lib/ruby/1.8/i386-linux -D_REENTRANT -D_GNU_SOURCE -
DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -fstack-protector -I/
usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -
pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-
unwind-tables -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC "-I/usr/
lib/perl5/CORE" -UEXPOSE_PERL -DCREATE_RUBY -UCREATE_PERL Ruby.c
Ruby.xs: In function ‘do_rbinit’:
Ruby.xs:96: warning: implicit declaration of function ‘Init_ext’
Ruby.xs: In function ‘my_iter_it’:
Ruby.xs:114: warning: unused variable ‘method_id’
Ruby.xs: In function ‘my_iter_bl’:
Ruby.xs:187: warning: value computed is not used
Ruby.xs:190: warning: implicit declaration of function ‘do_chomp’
Ruby.xs: In function ‘my_error_wrapper’:
Ruby.xs:292: warning: zero-length gnu_printf format string
Ruby.xs: In function ‘call_ruby_method’:
Ruby.xs:321: warning: unused variable ‘pl_retval’
Ruby.xs: In function ‘XS_Inline__Ruby__Object_DESTROY’:
Ruby.xs:539: warning: unused variable ‘rb_object’
gcc -c -I/usr/lib/ruby/1.8/i386-linux -D_REENTRANT -D_GNU_SOURCE -
DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -fstack-protector -I/
usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -
pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-
unwind-tables -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC "-I/usr/
lib/perl5/CORE" -UEXPOSE_PERL -DCREATE_RUBY -UCREATE_PERL rb2pl.c
rb2pl.c: In function ‘call_PerlProc’:
rb2pl.c:175: warning: value computed is not used
rb2pl.c: In function ‘rb2pl’:
rb2pl.c:304: warning: value computed is not used
rb2pl.c: In function ‘free_InlineRubyWrapper’:
rb2pl.c:36: warning: control reaches end of non-void function
Running Mkbootstrap for Inline::Ruby ()
chmod 644 Ruby.bs
rm -f blib/arch/auto/Inline/Ruby/Ruby.so
gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -
fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -
mtune=atom -fasynchronous-unwind-tables -L/usr/local/lib Ruby.o
rb2pl.o -o blib/arch/auto/Inline/Ruby/Ruby.so \
-L/usr/lib -lruby -lpthread -lrt -ldl -lcrypt -lm \

chmod 755 blib/arch/auto/Inline/Ruby/Ruby.so
cp Ruby.bs blib/arch/auto/Inline/Ruby/Ruby.bs
chmod 644 blib/arch/auto/Inline/Ruby/Ruby.bs
Manifying blib/man3/Inline::Ruby.3pm
[bmax@xo Inline-Ruby-0.02]$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01basic.t ..... 1/15 Can't locate Inline.pm in @INC (@INC contains: /
home/bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/lib /
home/bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/arch /
usr/local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/
lib/perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at t/01basic.t line 13.
BEGIN failed--compilation aborted at t/01basic.t line 13.
t/01basic.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 15/15 subtests
t/02iter.t ...... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at t/02iter.t line 6.
BEGIN failed--compilation aborted at t/02iter.t line 6.
t/02iter.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 11/11 subtests
t/03bindfunc.t .. Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at /home/bmax/AMRITA/
AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/lib/Inline/Ruby.pm line
4.
Compilation failed in require at t/03bindfunc.t line 4.
BEGIN failed--compilation aborted at t/03bindfunc.t line 4.
t/03bindfunc.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 6/6 subtests
t/04iterator.t .. Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at /home/bmax/AMRITA/
AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/lib/Inline/Ruby.pm line
4.
Compilation failed in require at t/04iterator.t line 11.
BEGIN failed--compilation aborted at t/04iterator.t line 11.
t/04iterator.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 6/6 subtests
t/05rb_exc.t .... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at /home/bmax/AMRITA/
AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/lib/Inline/Ruby.pm line
4.
Compilation failed in require at t/05rb_exc.t line 8.
BEGIN failed--compilation aborted at t/05rb_exc.t line 8.
t/05rb_exc.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 8/8 subtests
t/06pl_exc.t .... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at t/06pl_exc.t line 6.
BEGIN failed--compilation aborted at t/06pl_exc.t line 6.
t/06pl_exc.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 8/8 subtests
t/07proc.t ...... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at t/07proc.t line 6.
BEGIN failed--compilation aborted at t/07proc.t line 6.
t/07proc.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 3/3 subtests
t/08bind1.t ..... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at t/08bind1.t line 8.
BEGIN failed--compilation aborted at t/08bind1.t line 8.
t/08bind1.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 3/3 subtests
t/08bind2.t ..... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at t/08bind2.t line 8.
BEGIN failed--compilation aborted at t/08bind2.t line 8.
t/08bind2.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 3/3 subtests
t/09regex.t ..... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Ruby-0.02/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at t/09regex.t line 7.
BEGIN failed--compilation aborted at t/09regex.t line 7.
t/09regex.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 3/3 subtests

Test Summary Report
-------------------
t/01basic.t (Wstat: 512 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 2
Parse errors: Bad plan. You planned 15 tests but ran 1.
t/02iter.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 11 tests but ran 0.
t/03bindfunc.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 6 tests but ran 0.
t/04iterator.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 6 tests but ran 0.
t/05rb_exc.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 8 tests but ran 0.
t/06pl_exc.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 8 tests but ran 0.
t/07proc.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 3 tests but ran 0.
t/08bind1.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 3 tests but ran 0.
t/08bind2.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 3 tests but ran 0.
t/09regex.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 3 tests but ran 0.
Files=10, Tests=1, 1 wallclock secs ( 0.03 usr 0.02 sys + 0.11
cusr 0.04 csys = 0.20 CPU)
Result: FAIL
Failed 10/10 test programs. 1/1 subtests failed.
make: *** [test_dynamic] Error 2



------------------------------------------------------------------------




[bmax@xo perl]$ cd Inline-Python-0.22/
[bmax@xo Inline-Python-0.22]$ perl Makefile.PL
Found these python executables on your PATH:
1. /usr/bin/python
Use which? [1] 1
Using /usr/bin/python

This python's configuration files are messed up. You'll have have to
answer the questions yourself. Here is what Python said:

Extra Libs: -lpthread -ldl -lutil
Python Library: /usr/lib/python2.6/config/libpython2.6.a
Include Path: /usr/include/python2.6

1. LIBS option. I need to know what extra libraries, if any,
are required by this build of python. I recommend this:
-lpthread -ldl -lutil

Enter extra libraries (e.g. -lfoo -lbar) [-lpthread -ldl -lutil]

2. LIBRARY option. The location of the python library.
Inline::Python needs to link against it to use Python.

Here are the libraries I know about:
1) /usr/lib/libpython2.6.so
2) /usr/lib/python2.6/config/libpython2.6.so

Which? Or enter another. [1] 1

3. INCLUDE option. The location of the python include files.
Inline::Python needs these to compile.

Here are the locations I know about:
1) /usr/include/python2.6

Which? Or enter another. [1] 1
Using These Settings:
Extra Libs: -lpthread -ldl -lutil
Python Lib: -L/usr/lib -lpython2.6
Includes: -I/usr/include/python2.6
Extra Flags: none (perl Makefile.PL --help for details)
Warning: prerequisite Inline 0.42 not found.
Writing Makefile for Inline::Python
[bmax@xo Inline-Python-0.22]$ make
Skip blib/lib/Inline/Python.pm (unchanged)
Skip blib/lib/Inline/Python.pod (unchanged)
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/
perl5/ExtUtils/typemap Python.xs > Python.xsc && mv Python.xsc
Python.c
gcc -c -I/usr/include/python2.6 -D_REENTRANT -D_GNU_SOURCE -
DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -fstack-protector -I/
usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -
pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-
unwind-tables -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" -fPIC "-I/usr/
lib/perl5/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL Python.c
In file included from /usr/include/python2.6/pyconfig.h:4,
from /usr/include/python2.6/Python.h:8,
from Python.xs:6:
/usr/include/python2.6/pyconfig-32.h:1070:1: warning:
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:26,
from /usr/lib/perl5/CORE/perl.h:605,
from Python.xs:3:
/usr/include/features.h:162:1: warning: this is the location of the
previous definition
In file included from /usr/include/python2.6/pyconfig.h:4,
from /usr/include/python2.6/Python.h:8,
from Python.xs:6:
/usr/include/python2.6/pyconfig-32.h:1082:1: warning: "_XOPEN_SOURCE"
redefined
In file included from /usr/include/sys/types.h:26,
from /usr/lib/perl5/CORE/perl.h:605,
from Python.xs:3:
/usr/include/features.h:164:1: warning: this is the location of the
previous definition
Python.xs: In function ‘do_pyinit’:
Python.xs:43: warning: implicit declaration of function ‘initperl’
Python.xs: In function ‘XS_Inline__Python_py_study_package’:
Python.xs:126: warning: value computed is not used
Python.xs:108: warning: unused variable ‘bases’
Python.c: In function ‘XS_Inline__Python_py_call_method’:
Python.xs:270: warning: unused variable ‘inherited_method’
gcc -c -I/usr/include/python2.6 -D_REENTRANT -D_GNU_SOURCE -
DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -fstack-protector -I/
usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -
pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-
unwind-tables -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" -fPIC "-I/usr/
lib/perl5/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL py2pl.c
In file included from /usr/include/python2.6/pyconfig.h:4,
from /usr/include/python2.6/Python.h:8,
from py2pl.c:5:
/usr/include/python2.6/pyconfig-32.h:1070:1: warning:
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:26,
from /usr/lib/perl5/CORE/perl.h:605,
from py2pl.c:2:
/usr/include/features.h:162:1: warning: this is the location of the
previous definition
In file included from /usr/include/python2.6/pyconfig.h:4,
from /usr/include/python2.6/Python.h:8,
from py2pl.c:5:
/usr/include/python2.6/pyconfig-32.h:1082:1: warning: "_XOPEN_SOURCE"
redefined
In file included from /usr/include/sys/types.h:26,
from /usr/lib/perl5/CORE/perl.h:605,
from py2pl.c:2:
/usr/include/features.h:164:1: warning: this is the location of the
previous definition
py2pl.c: In function ‘Py2Pl’:
py2pl.c:174: warning: value computed is not used
py2pl.c:26: warning: unused variable ‘type_str’
py2pl.c: In function ‘Pl2Py’:
py2pl.c:221: warning: format ‘%s’ expects type ‘char *’, but argument
3 has type ‘int’
py2pl.c:200: warning: ‘o’ may be used uninitialized in this function
gcc -c -I/usr/include/python2.6 -D_REENTRANT -D_GNU_SOURCE -
DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -fstack-protector -I/
usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -
pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-
unwind-tables -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" -fPIC "-I/usr/
lib/perl5/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL
perlmodule.c
In file included from /usr/include/python2.6/pyconfig.h:4,
from /usr/include/python2.6/Python.h:8,
from perlmodule.c:8:
/usr/include/python2.6/pyconfig-32.h:1070:1: warning:
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:26,
from /usr/lib/perl5/CORE/perl.h:605,
from perlmodule.c:5:
/usr/include/features.h:162:1: warning: this is the location of the
previous definition
In file included from /usr/include/python2.6/pyconfig.h:4,
from /usr/include/python2.6/Python.h:8,
from perlmodule.c:8:
/usr/include/python2.6/pyconfig-32.h:1082:1: warning: "_XOPEN_SOURCE"
redefined
In file included from /usr/include/sys/types.h:26,
from /usr/lib/perl5/CORE/perl.h:605,
from perlmodule.c:5:
/usr/include/features.h:164:1: warning: this is the location of the
previous definition
perlmodule.c: In function ‘PerlSub_setattr’:
perlmodule.c:496: warning: too many arguments for format
perlmodule.c: At top level:
perlmodule.c:149: warning: ‘PerlPkg_methods’ defined but not used
perlmodule.c:244: warning: ‘PerlObj_methods’ defined but not used
perlmodule.c:507: warning: ‘PerlSub_methods’ defined but not used
gcc -c -I/usr/include/python2.6 -D_REENTRANT -D_GNU_SOURCE -
DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -fstack-protector -I/
usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -
pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-
unwind-tables -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" -fPIC "-I/usr/
lib/perl5/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL util.c
In file included from /usr/include/python2.6/pyconfig.h:4,
from /usr/include/python2.6/Python.h:8,
from util.c:8:
/usr/include/python2.6/pyconfig-32.h:1070:1: warning:
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:26,
from /usr/lib/perl5/CORE/perl.h:605,
from util.c:5:
/usr/include/features.h:162:1: warning: this is the location of the
previous definition
In file included from /usr/include/python2.6/pyconfig.h:4,
from /usr/include/python2.6/Python.h:8,
from util.c:8:
/usr/include/python2.6/pyconfig-32.h:1082:1: warning: "_XOPEN_SOURCE"
redefined
In file included from /usr/include/sys/types.h:26,
from /usr/lib/perl5/CORE/perl.h:605,
from util.c:5:
/usr/include/features.h:164:1: warning: this is the location of the
previous definition
util.c: In function ‘free_inline_py_obj’:
util.c:26: warning: control reaches end of non-void function
Running Mkbootstrap for Inline::Python ()
chmod 644 Python.bs
rm -f blib/arch/auto/Inline/Python/Python.so
gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -
fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -
mtune=atom -fasynchronous-unwind-tables -L/usr/local/lib Python.o
py2pl.o perlmodule.o util.o -o blib/arch/auto/Inline/Python/Python.so
\
-L/usr/lib -lpython2.6 -lpthread -ldl -lutil \

chmod 755 blib/arch/auto/Inline/Python/Python.so
cp Python.bs blib/arch/auto/Inline/Python/Python.bs
chmod 644 blib/arch/auto/Inline/Python/Python.bs
Manifying blib/man3/Inline::Python.3pm
[bmax@xo Inline-Python-0.22]$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00init.t ...... ok
t/01testpl.t .... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at t/01testpl.t line 5.
BEGIN failed--compilation aborted at t/01testpl.t line 5.
t/01testpl.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 8/8 subtests
t/02testpl.t .... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at t/02testpl.t line 22.
BEGIN failed--compilation aborted at t/02testpl.t line 22.
t/02testpl.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 9/9 subtests
t/03parse.t ..... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at /home/bmax/AMRITA/
AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib/Inline/Python.pm
line 4.
Compilation failed in require at t/03parse.t line 5.
BEGIN failed--compilation aborted at t/03parse.t line 5.
t/03parse.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 5/5 subtests
t/04func.t ...... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at t/04func.t line 3.
BEGIN failed--compilation aborted at t/04func.t line 3.
t/04func.t ...... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/05JAxH.t ...... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at t/05JAxH.t line 1.
BEGIN failed--compilation aborted at t/05JAxH.t line 1.
t/05JAxH.t ...... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/06dict.t ...... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at t/06dict.t line 3.
BEGIN failed--compilation aborted at t/06dict.t line 3.
t/06dict.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/07nherit.t .... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at t/07nherit.t line 3.
BEGIN failed--compilation aborted at t/07nherit.t line 3.
t/07nherit.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 5/5 subtests
t/08ipyobj.t .... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at /home/bmax/AMRITA/
AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib/Inline/Python.pm
line 4.
Compilation failed in require at t/08ipyobj.t line 9.
BEGIN failed--compilation aborted at t/08ipyobj.t line 9.
t/08ipyobj.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 9/9 subtests
t/09bind.t ...... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at /home/bmax/AMRITA/
AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib/Inline/Python.pm
line 4.
Compilation failed in require at t/09bind.t line 9.
BEGIN failed--compilation aborted at t/09bind.t line 9.
t/09bind.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 6/6 subtests
t/10pyeval.t .... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at /home/bmax/AMRITA/
AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib/Inline/Python.pm
line 4.
Compilation failed in require at t/10pyeval.t line 4.
BEGIN failed--compilation aborted at t/10pyeval.t line 4.
t/10pyeval.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/4 subtests
t/11factor.t .... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at t/11factor.t line 4.
BEGIN failed--compilation aborted at t/11factor.t line 4.
t/11factor.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 133/133 subtests
t/12evnodd.t .... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at t/12evnodd.t line 3.
BEGIN failed--compilation aborted at t/12evnodd.t line 3.
t/12evnodd.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 150/150 subtests
t/13fibbon.t .... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at /home/bmax/AMRITA/
AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib/Inline/Python.pm
line 4.
Compilation failed in require at t/13fibbon.t line 3.
BEGIN failed--compilation aborted at t/13fibbon.t line 3.
t/13fibbon.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 277/277 subtests
t/14study.t ..... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at /home/bmax/AMRITA/
AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib/Inline/Python.pm
line 4.
Compilation failed in require at t/14study.t line 3.
BEGIN failed--compilation aborted at t/14study.t line 3.
t/14study.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 14/14 subtests
t/15anon.t ...... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at t/15anon.t line 3.
BEGIN failed--compilation aborted at t/15anon.t line 3.
t/15anon.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/16evalpy.t .... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at /home/bmax/AMRITA/
AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib/Inline/Python.pm
line 4.
Compilation failed in require at t/16evalpy.t line 4.
BEGIN failed--compilation aborted at t/16evalpy.t line 4.
t/16evalpy.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 11/11 subtests
t/17once.t ...... Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at t/17once.t line 12.
BEGIN failed--compilation aborted at t/17once.t line 12.
t/17once.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests
t/18newclass.t .. Can't locate Inline.pm in @INC (@INC contains: /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/lib /home/
bmax/AMRITA/AMRITAv3.05/src3p/perl/Inline-Python-0.22/blib/arch /usr/
local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/
perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/
perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /
usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/
perl5/vendor_perl /usr/lib/perl5/site_perl .) at t/18newclass.t line
3.
BEGIN failed--compilation aborted at t/18newclass.t line 3.
t/18newclass.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 5/5 subtests

Test Summary Report
-------------------
t/01testpl.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 8 tests but ran 0.
t/02testpl.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 9 tests but ran 0.
t/03parse.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 5 tests but ran 0.
t/04func.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/05JAxH.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/06dict.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 0.
t/07nherit.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 5 tests but ran 0.
t/08ipyobj.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 9 tests but ran 0.
t/09bind.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 6 tests but ran 0.
t/10pyeval.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 4 tests but ran 0.
t/11factor.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 133 tests but ran 0.
t/12evnodd.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 150 tests but ran 0.
t/13fibbon.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 277 tests but ran 0.
t/14study.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 14 tests but ran 0.
t/15anon.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 0.
t/16evalpy.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 11 tests but ran 0.
t/17once.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 1 tests but ran 0.
t/18newclass.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 5 tests but ran 0.
Files=19, Tests=1, 1 wallclock secs ( 0.05 usr 0.03 sys + 0.20
cusr 0.07 csys = 0.35 CPU)
Result: FAIL
Failed 18/19 test programs. 0/1 subtests failed.
make: *** [test_dynamic] Error 2










On Jul 14, 9:36 pm, James Quirk <j...@galcit.caltech.edu> wrote:
> Brian,
>
> > for FC12 even though I am running FC13.  Anyhow, origami compiles now,
> > so the only component that doesn;t work is src3p::perl.
>
> You could try compiling src3p::perl manual. To do this:
>
> cd $AMRITA/src3p/perl
>
> then enter each of the directories:
>
> Filter-1.19
> Compress-Zlib-1.08
> Inline-0.44
> Inline-Ruby-0.02
> Inline-Python-0.22
>
> and run:
>
> perl Makefile.PL
> make
> make test
>
> that should help pinpoint what the problem is. Although I have
> a suspicion that if one is broken they'll all be broken.
>
> James
>
>
>
> > Thanks for you help,
>
> > Brian
>
> > On Jul 14, 6:10�pm, James Quirk <j...@galcit.caltech.edu> wrote:
> > > Brian,
>
> > > > > I am using openmotif-2.3.2-5.1
>
> > > You have me confused. From:
>
> > >http://www.rpmfind.net/linux/RPM/Fedora_13.html
>
> > > Fedora 13 is listed as using:
>
> > > openmotif-devel-2.3.3-1.fc13.i686 � � �
>
> > > but every site I've downloaded from the rpm appears to be corrupted.
>
> > > I did download a:
>
> > > openmotif-2.3.2-5.1.svn.fc12.ccrma.src.rpm
>
> > > from Fedora 12 and when it's unpacked the Xm/Xm.h includes the missing
> > > line. So I'm not really sure what's going on.
>
> > > The best I can suggest is that you download:
>
> > >http://www.motifzone.net/files/public_downloads/openmotif/2.3/2.3.2/o...
>
> > > and build the library from scratch.
>
> > > James
>
> > > > I'm using openmotif-devel-2.3.0-23 so it should be a straightforwad
> > > > matter to check the changes.
>
> > > > James
>
> > > > > Brian
>
> > > > > On Jul 14, 6:19�am, James Quirk <j...@galcit.caltech.edu> wrote:
> > > > > > Brian,
>
> > > > > > > [bmax@localhost SYSTEM]$ amrmake src3p::perl -verbose
>
> > > > > > > You have requested:
>
> > > > > > > /home/bmax/AMRITA/AMRITAv3.05/src3p/perl/amrita.build
>
> > > > > > > Continue? [yes] >>y
> > > > > > > keeping record: $AMRITA/logs/target/serial/Linux/x86_32/O/src3p::perl
> > > > > > > ********************
> > > > > > > amrbuild src3p::perl
> > > > > > > ********************
> > > > > > > Only one of PREFIX or INSTALL_BASE can be given. �Not both.
> > > > > > > Checking if your kit is complete...
> > > > > > > Looks good
> > > > > > > make: *** No targets specified and no makefile found. �Stop.
> > > > > > > make: *** No rule to make target `install'. �Stop.
> > > > > > > make: *** No rule to make target `realclean'. �Stop.
> > > > > > > ********************************************************
> > > > > > > amrbuild missing: /home/bmax/AMRITA/AMRITAv3.05/bin/perl
> > > > > > > ********************************************************
> > > > > > > ********************************
> > > > > > > amrbuild failed for src3p::perl!
> > > > > > > ********************************
>
> > > > > > Again this error looks like it is a backwards incompatibility
> > > > > > with the Perl shipped with fc13. The good news, however, is
> > > > > > that the functionality provided by src3p::perl is
> > > > > > now included with a standard Perl installation and so
> > > > > > build error is benign, unless you want to write scripts
> > > > > > that use fold::pyhton an fold::ruby.
>
> > > > > > > ************************************
> > > > > > > amrcc: pass #3 generate object files
> > > > > > > ************************************
> > > > > > > AMRITA::system { verbose mode
> > > > > > > � �gcc -O3 -w -fPIC -I/usr/X11R6/include -I/usr/include \
> > > > > > > � �-I/home/bmax/AMRITA/AMRITAv3.05/include/cc -I/home/bmax/AMRITA/
> > > > > > > AMRITAv3.05/src \
> > > > > > > � �-I/include/cc -I. -I.. -I/home/bmax/.amrita/include/cc -I/include/ -
> > > > > > > Dserial_code \
> > > > > > > � �-DLinux_x86_32 -D_code -c ccsrc/motif.c
> > > > > > > � �ccsrc/motif.c: In function 'index_widget': ccsrc/motif.c:785:
> > > > > > > error: \
> > > > > > > � �'XmINDICATOR_BOX' undeclared (first use in this function) ccsrc/
> > > > > > > motif.c:785: \
> > > > > > > � �error: (Each undeclared identifier is reported only once ccsrc/
> > > > > > > motif.c:785: \
> > > > > > > � �error: for each function it appears in.)
> > > > > > > }
> > > > > > > amrcc: error: AMRITA::system -- command failed!
> > > > > > > error near: end of line
> > > > > > > building user.C
>
> > > > > > XmINDICATOR_BOX should be defined in the Motif
> > > > > > header file "Xm/Xm.h" which on my system is located at:
>
> > > > > > /usr/include/Xm/Xm.h
>
> > > > > > You should check that you have the header file and that
> > > > > > it contains the line:
>
> > > > > > � XmINDICATOR_BOX � � � = 255, �/* Treated as XmINDICATOR_3D_BOX */
>
> > > > > > If it doesn't then the Motif library has changed and I will need
> > > > > > to effect a workaround. I know origami is not everyone's cup of
> > > > > > tea, but without it you cannot exploit AMRITA's programming model
> > > > > > and so it is important to have it working, and so you really ought
> > > > > > to have piped up earlier.
>
> > > > > > James
>
> > > > > > > ...
>
> > > > > > > ***********************************
> > > > > > > amrcc: pass #4 generate binary file
> > > > > > > ***********************************
> > > > > > > AMRITA::system { verbose mode
> > > > > > > � �gcc -O3 -w -fPIC -I/usr/X11R6/include -I/usr/include \
> > > > > > > � �-I/home/bmax/AMRITA/AMRITAv3.05/include/cc -I/home/bmax/AMRITA/
> > > > > > > AMRITAv3.05/src \
> > > > > > > � �-I/include/cc -I. -I.. -I/home/bmax/.amrita/include/cc -I/include/ -
> > > > > > > Dserial_code \
> > > > > > > � �-DLinux_x86_32 -D_code -o ./amrorigami ccsrc/origami1.o -L. -L/usr/
> > > > > > > lib \
> > > > > > > � �-L/usr/lib/termcap -L/usr/lib64/termcap -L/usr/X11R6/lib64 \
> > > > > > > � �-LAMRSO/serial/Linux/x86_32 -L.. -lORIGAMI -ltermcap -lXm -lXt -
> > > > > > > lXext -lXp -lX11
> > > > > > > � �ccsrc/origami1.o: In function `main': origami1.c:(.text+0x4d):
> > > > > > > undefined \
> > > > > > > � �reference to `init_motif' ./libORIGAMI.a(origami2.o): In function
> > > > > > > `.L65': \
> > > > > > > � �origami2.c:(.text+0xf00): undefined reference to `show_index' \
> > > > > > > � �./libORIGAMI.a(editor.o): In function `line_refresh': editor.c:
> > > > > > > (.text+0x109e): \
> > > > > > > � �undefined reference to `cfilename' ./libORIGAMI.a(filer.o): In
> > > > > > > function \
> > > > > > > � �`get_dsp_file': filer.c:(.text+0xe84): undefined reference to
> > > > > > > `the_filename' \
> > > > > > > � �filer.c:(.text+0xea7): undefined reference to `cfilename' filer.c:
> > > > > > > (.text+0xf52): \
> > > > > > > � �undefined reference to `the_filename' filer.c:(.text+0xf82):
> > > > > > > undefined reference \
> > > > > > > � �to `cfilename' ./libORIGAMI.a(user.o): In function `quit_file': \
> > > > > > > � �user.c:(.text+0x13): undefined reference to `quit_user_choice' \
> > > > > > > � �./libORIGAMI.a(user.o): In function `load_file': user.c:(.text
> > > > > > > +0x84): undefined \
> > > > > > > � �reference to `load_user_choice' user.c:(.text+0x8a): undefined
> > > > > > > reference to \
> > > > > > > � �`type_of_load' user.c:(.text+0x112): undefined reference to
> > > > > > > `type_of_load' \
> > > > > > > � �user.c:(.text+0x11e): undefined reference to `the_filename' \
> > > > > > > � �user.c:(.text+0x168): undefined reference to `load_user_choice' \
> > > > > > > � �user.c:(.text+0x16e): undefined reference to `type_of_load' \
> > > > > > > � �./libORIGAMI.a(user.o): In function `save_file': user.c:(.text
> > > > > > > +0x220): undefined \
> > > > > > > � �reference to `type_of_save' user.c:(.text+0x299): undefined
> > > > > > > reference to \
> > > > > > > � �`save_user_choice' collect2: ld returned 1 exit status
> > > > > > > }
> > > > > > > amrcc: error: AMRITA::system -- command failed!
> > > > > > > error near: end of line
> > > > > > > ****************************
> > > > > > > amrbuild missing: amrorigami
> > > > > > > ****************************
> > > > > > > ***********************************
> > > > > > > amrbuild failed for src3p::origami!
> > > > > > > ***********************************
>
> > > > > > > ----------------------------------------------------------------------------
>
> > > > > > > I have the latest perl and perl-devel packages installed for FC13.
> > > > > > > Thanks for any help you might have,
>
> > > > > > > Brian
>
> > > > > > > On Jul 13, 6:10�pm, James Quirk <j...@galcit.caltech.edu> wrote:
> > > > > > > > Jonathan,
>
> > > > > > > > > $ amrmake amrita
> > > > > > > > > ******************
> > > > > > > > > amrita flightcheck
> > > > > > > > > ******************
> > > > > > > > > CRITICAL � : missing ``gcc-g77|gcc-fortran'' � : you can't compile
> > > > > > > > > plugin::{amrita,amr_sol}
> > > > > > > > > ********************
> > > > > > > > > amrbuild src3p::perl
> > > > > > > > > ********************
> > > > > > > > > ***********************
> > > > > > > > > amrbuild plugin::amrita
> > > > > > > > > ***********************
> > > > > > > > > building /home/Jonathan/AMRITA/AMRITAv3.05/obj/serial/Linux/x86_32/O/
> > > > > > > > > amrita/isl_parser.o
> > > > > > > > > amrcc: error: AMRITA::system -- command not found!
> > > > > > > > > error near: end of line
>
> > > > > > > > > ... and so on.
>
> > > > > > > > > gcc-g77 and gcc-fortran seem to be unavailable for fc13. However, gcc-
> > > > > > > > > gfortran is available and has been installed, never the less, amrmake
> > > > > > > > > fails.
>
> > > > > > > > > Thanks ahead for the help.
>
> > > > > > > > > Jonathan
>
> > > > > > > > whenever amrmake fails, your first reaction should be to try:
>
> > > > > > > > amrmake -verbose amrita
>
> > > > > > > > so as to see what commands are being run and the error messages they
> > > > > > > > throw. In this instance, you would quickly see that amrmake is trying to
> > > > > > > > run gcc-4.3 and gfortran-4.3 which are probably not installed on fc13.
> > > > > > > > To fix the problem, allyou need
>
> ...
>
> read more »

James Quirk

unread,
Jul 15, 2010, 11:07:36 AM7/15/10
to Brian, amrita-ebook
Brian,

On Thu, 15 Jul 2010, Brian wrote:

> James,
>
> Yeah they are all broken. Here are my bash outputs to each component.
>
> Brian

The Filter module is now included in the base perl installation,
so you can ignore that build. There's also a chance that Compress::Zlib
is included. To check if that's the case, run:

perl -MCompress::Zlib -e "exit"

and if that fails, try installing IO-Compress-2.027 from:

http://search.cpan.org/~pmqs/IO-Compress-2.027

Compress::Zlib is needed by amrpdf and so it's important to get it
working.

James

Brian

unread,
Jul 24, 2010, 6:53:33 PM7/24/10
to amrita-ebook
Going back to the perl problem, I found that amrmake src3p::perl gets
a little further by editing line 29 in the file $AMRITA/src3p/perl/
amrita.build

edit line 29: system("perl Makefile.PL PREFIX=$AMRITA/bin/perl $out");
to read: system("perl Makefile.PL INSTALL_BASE=$AMRITA/bin/perl
$out");


It seems the new perl prefers INSTALL_BASE instead of PREFIX. The
compile process now has an error compiling Exec.xs. Here is my
output:



[bmax@bmaxone AMRITAv3.05]$ amrmake src3p::perl -verbose

You have requested:

/home/bmax/AMRITA/AMRITAv3.05/src3p/perl/amrita.build

Continue? [yes] >>y
keeping record: $AMRITA/logs/target/serial/Linux/x86_64/O/src3p::perl
********************
amrbuild src3p::perl
********************
Checking if your kit is complete...
Looks good
Writing Makefile for Filter::Util::Call
Writing Makefile for Filter::Util::Exec
Writing Makefile for Filter::decrypt
Writing Makefile for Filter::tee
Writing Makefile for Filter
cp perlfilter.pod blib/lib/perlfilter.pod
cp lib/Filter/exec.pm blib/lib/Filter/exec.pm
cp lib/Filter/cpp.pm blib/lib/Filter/cpp.pm
cp Try.pm blib/lib/Try.pm
cp lib/Filter/sh.pm blib/lib/Filter/sh.pm
make[1]: Entering directory `/home/bmax/AMRITA/AMRITAv3.05/src3p/perl/
Filter-1.19/Call'
cp Call.pm ../blib/lib/Filter/Util/Call.pm
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/
perl5/ExtUtils/typemap Call.xs > Call.xsc && mv Call.xsc Call.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fno-strict-
aliasing -pipe -fstack-protector -I/usr/local/include -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m64 -mtune=generic -DVERSION=\"1.04\" -DXS_VERSION=\"1.04\" -
fPIC "-I/usr/lib64/perl5/CORE" Call.c
Call.xs: In function ‘filter_call’:
Call.xs:61: warning: format ‘%d’ expects type ‘int’, but argument 3
has type ‘STRLEN’
Call.xs:61: warning: format ‘%d’ expects type ‘int’, but argument 5
has type ‘STRLEN’
Call.xs:66: warning: suggest parentheses around assignment used as
truth value
Call.xs:89: warning: suggest parentheses around assignment used as
truth value
Call.xs:98: warning: format ‘%d’ expects type ‘int’, but argument 4
has type ‘STRLEN’
Call.xs:154: warning: format ‘%d’ expects type ‘int’, but argument 3
has type ‘STRLEN’
Call.xs:171: warning: format ‘%d’ expects type ‘int’, but argument 4
has type ‘STRLEN’
Running Mkbootstrap for Filter::Util::Call ()
chmod 644 Call.bs
rm -f ../blib/arch/auto/Filter/Util/Call/Call.so
gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -
fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic Call.o
-o ../blib/arch/auto/Filter/Util/Call/Call.so \
\

chmod 755 ../blib/arch/auto/Filter/Util/Call/Call.so
cp Call.bs ../blib/arch/auto/Filter/Util/Call/Call.bs
chmod 644 ../blib/arch/auto/Filter/Util/Call/Call.bs
Manifying ../blib/man3/Filter::Util::Call.3pm
make[1]: Leaving directory `/home/bmax/AMRITA/AMRITAv3.05/src3p/perl/
Filter-1.19/Call'
make[1]: Entering directory `/home/bmax/AMRITA/AMRITAv3.05/src3p/perl/
Filter-1.19/Exec'
cp Exec.pm ../blib/lib/Filter/Util/Exec.pm
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -thangsypemap /usr/
share/perl5/ExtUtils/typemap Exec.xs > Exec.xsc && mv Exec.xsc Exec.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fno-strict-
aliasing -pipe -fstack-protector -I/usr/local/include -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m64 -mtune=generic -DVERSION=\"1.01\" -DXS_VERSION=\"1.01\" -
fPIC "-I/usr/lib64/perl5/CORE" Exec.c
Exec.xs: In function ‘pipe_read’:
Exec.xs:213: warning: format ‘%d’ expects type ‘int’, but argument 2
has type ‘struct SV *’
Exec.xs:213: warning: format ‘%d’ expects type ‘int’, but argument 3
has type ‘STRLEN’
Exec.xs:263: warning: format ‘%d’ expects type ‘int’, but argument 4
has type ‘STRLEN’
Exec.xs:263: warning: field width should have type ‘int’, but argument
5 has type ‘STRLEN’
Exec.xs: In function ‘spawnCommand’:
Exec.xs:408: warning: passing argument 1 of ‘fclose’ from incompatible
pointer type
/usr/include/stdio.h:236: note: expected ‘struct FILE *’ but argument
is of type ‘struct PerlIOl **’
Exec.xs:422: warning: passing argument 1 of ‘fclose’ from incompatible
pointer type
/usr/include/stdio.h:236: note: expected ‘struct FILE *’ but argument
is of type ‘struct PerlIOl **’
Exec.xs:399: warning: unused variable ‘sv’
Exec.xs: In function ‘filter_exec’:
Exec.xs:477: warning: format ‘%d’ expects type ‘int’, but argument 3
has type ‘STRLEN’
Exec.xs:484: warning: suggest parentheses around assignment used as
truth value
Exec.xs:505: warning: suggest parentheses around assignment used as
truth value
Exec.xs:514: warning: format ‘%d’ expects type ‘int’, but argument 5
has type ‘long int’
Exec.xs:514: warning: format ‘%d’ expects type ‘int’, but argument 6
has type ‘STRLEN’
Exec.xs:534: warning: format ‘%d’ expects type ‘int’, but argument 4
has type ‘STRLEN’
Exec.xs:550: warning: format ‘%d’ expects type ‘int’, but argument 4
has type ‘STRLEN’
Exec.xs:468: warning: unused variable ‘len’
Exec.xs: In function ‘XS_Filter__Util__Exec_filter_add’:
Exec.xs:589: error: ‘PL_rsfp’ undeclared (first use in this function)
Exec.xs:589: error: (Each undeclared identifier is reported only once
Exec.xs:589: error: for each function it appears in.)
...


Brian

James Quirk

unread,
Jul 24, 2010, 6:59:55 PM7/24/10
to Brian, amrita-ebook
Brian,

On Sat, 24 Jul 2010, Brian wrote:

> Going back to the perl problem, I found that amrmake src3p::perl gets
> a little further by editing line 29 in the file $AMRITA/src3p/perl/
> amrita.build
>
> edit line 29: system("perl Makefile.PL PREFIX=$AMRITA/bin/perl $out");
> to read: system("perl Makefile.PL INSTALL_BASE=$AMRITA/bin/perl
> $out");
>
>
> It seems the new perl prefers INSTALL_BASE instead of PREFIX. The
> compile process now has an error compiling Exec.xs. Here is my
> output:
>

Thanks for the feedback. I think, however, the Perl modules
will need to be updated to the latest versions so that the
.xs files are compatible with your Perl's innards. If you
send me the out put of perl -V (note that's a capital V)
I will try to replicate your Perl setup at my end so that
I can determine what changes I should make to AMRITA's base
set-up.

James

Brian

unread,
Jul 26, 2010, 11:52:17 AM7/26/10
to amrita-ebook
Here is my output.

Brian


[bmax@bmaxone ~]$ perl -V
Summary of my perl5 (revision 5 version 10 subversion 1)
configuration:

Platform:
osname=linux, osvers=2.6.32-44.el6.x86_64, archname=x86_64-linux-
thread-multi
uname='linux x86-19.phx2.fedoraproject.org 2.6.32-44.el6.x86_64 #1
smp wed jul 7 15:47:50 edt 2010 x86_64 x86_64 x86_64 gnulinux '
config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m64 -mtune=generic -DDEBUGGING=-g -Accflags=-
DPERL_USE_SAFE_PUTENV -Dversion=5.10.1 -Dmyhostname=localhost -
Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dprefix=/usr
-Dvendorprefix=/usr -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/
perl5 -Dsitearch=/usr/local/lib64/perl5 -Dprivlib=/usr/share/perl5 -
Dvendorlib=/usr/share/perl5 -Darchlib=/usr/lib64/perl5 -Dvendorarch=/
usr/lib64/perl5 -Dinc_version_list=5.10.0 -Darchname=x86_64-linux-
thread-multi -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Duseshrplib -
Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -
Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -
Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -
Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -
Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -
Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto -
Dscriptdir=/usr/bin -Dotherlibdirs=/usr/local/lib64/perl5/site_perl/
5.10.0/x86_64-linux-thread-multi:/usr/local/lib/perl5/site_perl/
5.10.0:/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi:/
usr/lib/perl5/vendor_perl:/usr/lib/perl5/site_perl'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define,
usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -
DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -fstack-protector -I/
usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -
fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fno-
strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.4.4 20100630 (Red Hat 4.4.4-10)',
gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -fstack-protector'
libpth=/usr/local/lib64 /lib64 /usr/lib64
libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -
lc
perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.12'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -
Wl,-rpath,/usr/lib64/perl5/CORE'
cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m64 -mtune=generic'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_USE_SAFE_PUTENV USE_64_BIT_ALL
USE_64_BIT_INT
USE_ITHREADS USE_LARGE_FILES USE_PERLIO
USE_REENTRANT_API
Built under linux
Compiled at Jul 9 2010 09:17:28
%ENV:
PERL5LIB="/home/bmax/perl5/lib/perl5:/home/bmax/perl5/lib/perl5/
x86_64-linux-thread-multi:/home/bmax/perl5/lib/perl5:/home/bmax/perl5/
lib/perl5/x86_64-linux-thread-multi"
PERL_MM_OPT="INSTALL_BASE=/home/bmax/perl5"
@INC:
/home/bmax/perl5/lib/perl5
/home/bmax/perl5/lib/perl5/x86_64-linux-thread-multi
/home/bmax/perl5/lib/perl5
/home/bmax/perl5/lib/perl5/x86_64-linux-thread-multi
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/local/share/perl5
/usr/lib64/perl5
/usr/share/perl5
/usr/share/perl5
/usr/lib64/perl5
/usr/share/perl5
/usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/site_perl

James Quirk

unread,
Jul 26, 2010, 4:31:53 PM7/26/10
to Brian, amrita-ebook
On Mon, 26 Jul 2010, Brian wrote:

> Here is my output.
>
> Brian
>
>
> [bmax@bmaxone ~]$ perl -V
> Summary of my perl5 (revision 5 version 10 subversion 1)
> configuration:
>

Thanks. I'll get back to you once I've had a chance to
evaluate what changes need to be made.

James

James Quirk

unread,
Jul 27, 2010, 11:21:43 AM7/27/10
to Brian, amrita-ebook
Brian,

I've installed Perl 5.10 and I've found three small backwards
incompatibilities that affect AMRITA. I've implemented workarounds, but I
will need to do some testing to make sure that nothing was broken in the
process. I will also need to check that there are no other
incompatibilities lurking. To do so, however, will take me quite some
time, of the order of weeks. Therefore I recommend you install Perl5.8.9
as a stop gap: http://www.cpan.org/src/perl-5.8.9.tar.gz

By default Perl5.8.9 will install in /usr/local/bin so it won't affect
your existing installation. Afterwards, you will need to
hand-edit the first line of $AMRITA/tools/amrperl to reflect
the new location i.e. change:

#! /usr/bin/perl

to:

#! /usr/local/bin/perl

To get an idea of the changes between Perl5.8 and 5.10
you can check out the manual pages:

perl5100delta
perl595delta
perl594delta
perl593delta
perl592delta
perl591delta
perl590delta

Now while AMRITA aims to insulate its users from such changes,
it'simpossible for me, a single individual, to catch all problems
on all platforms. Hence the request for you to install 5.8.9 .

James

Brian

unread,
Aug 24, 2010, 1:44:00 PM8/24/10
to amrita-ebook
Unfortunately it seems it will take a bit of work to install the old
perl on my FC 13 machine as there are some errors compiling.. i can
resolve them at somepoint, but currently my amrita cfd is functional
without perl. Until the perl functionality is resolved I have decided
to post everything I have done to my machine to get it working to this
point (for other peoples reference). Note 64 bit MPI support is also
not working (see below)

Brian


---------------------------------------------------------------------------------------------------
Current install process for 32 bit fedora 13 (for 64 bit see below):

First type the following commands:
# su
# rpm -Uvh http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.3.3/enu/AdbeRdr9.3.3-1_i486linux_enu.rpm
# yum install compat*
# yum install g2c*
# yum install python
# yum install ruby
# yum install ruby-devel
# yum install perl
# yum install libXp
# yum install libXp-devel
# yum install numpy
# yum install graphviz
# yum install gnuplot
# yum install gv
# yum install gimp
# yum install texlive
# yum install texlive*
# yum install ghostscript*
# yum install tcsh
# yum install openmpi
# yum install openmpi-devel
# yum install mpich2
# yum install mpich2-devel
# yum install readline-devel
# yum install xterm
# rpm -Uvh http://www.motifzone.net/files/public_downloads/openmotif/2.3/2.3.3/openmotif-2.3.3-1.fc12.i686.rpm
# rpm -Uvh http://www.motifzone.net/files/public_downloads/openmotif/2.3/2.3.3/openmotif-devel-2.3.3-1.fc12.i686.rpm
# exit

At this point you no longer need to be root (hence the exit
command). Next download AMRITAv3.05_R06-02-2010 to the ~/AMRITA
folder then issue
# cd ~/AMRITA
# perl AMRITAv3.05_R06-02-2010 -unpack
# vi ~/AMRITA/AMRITAv3.05/Amrita/Filter/amrita.pm

edit LINE 257: $line =~ s/^\040{1,$nstrip}//;
to read: $line =~ s/^\040{1,$nstrip}// if($nstrip>1);
Next type

# eval `~/AMRITA/AMRITAv3.05/tools/amrshell -setup bash`
# vi ~/.bash_profile

add this line to the ".bashrc" file: eval `~/AMRITA/AMRITAv3.05/
tools/amrshell -setup bash`
Then issue
# vi $AMRITA/SYSTEM/amrita.machines

Make sure the file has the contents "default Linux/x86_32"
Next issue:

# vi $AMRITA/SYSTEM/Linux/x86_32/which-gcc

make sure "which-gcc" looks like this:

$g77 = 'g77';
$gcc = 'gcc';
$gxx = 'g++';
$g2c = 'g2c';
if($word eq '32') {
$gcc = 'gcc';
}

Next

# vi $AMRITA/src3p/perl/amrita.build

edit line 29: system("perl Makefile.PL PREFIX=$AMRITA/bin/perl
$out");
to read: system("perl Makefile.PL INSTALL_BASE=$AMRITA/bin/
perl $out");

Next for 32 bit MPI support:
# vi $AMRITA/SYSTEM/Linux/x86_32/use/MPI
ensure you have:
ldir = /usr/lib/openmpi/lib
inc = /usr/include/openmpi-i386


Finally issue:
# cd $AMRITA/SYSTEM
# ./AMRITASystem
# ./AMRITAsystem -check all
Note: This may report that amrpp is broken
# amrmake amrita
Alternatively you can type (for parallel or single core mode
respectively)
# amrmake -serial amrita
# amrmake -mpi amrita



---------------------------------------------------------------------------------------------------
Current install process for 64 bit fedora:

# su
# rpm -Uvh http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.3.3/enu/AdbeRdr9.3.3-1_i486linux_enu.rpm
# yum install compat*
# yum install g2c*
# yum install python
# yum install ruby
# yum install ruby-devel
# yum install perl
# yum install libXp
# yum install libXp-devel
# yum install numpy
# yum install graphviz
# yum install gnuplot
# yum install gv
# yum install gimp
# yum install texlive
# yum install texlive*
# yum install ghostscript*
# yum install tcsh
# yum install openmpi
# yum install openmpi-devel
# yum install mpich2
# yum install mpich2-devel
# yum install readline-devel
# yum install xterm
# yum install glibc-devel.i686
# yum install libXaw.i686
# yum install libXaw-devel.i686
# yum install libXt-devel.i686
# yum install libXext-devel.i686
# yum install libX11-devel.i686
# rpm -Uvh http://www.motifzone.net/files/public_downloads/openmotif/2.3/2.3.3/openmotif-2.3.3-1.fc12.x86_64.rpm
# rpm -Uvh http://www.motifzone.net/files/public_downloads/openmotif/2.3/2.3.3/openmotif-devel-2.3.3-1.fc12.x86_64.rpm
# exit


At this point you no longer need to be root (hence the exit
command). Next download AMRITAv3.05_R06-02-2010 to the ~/AMRITA
folder then issue
# cd ~/AMRITA
# perl AMRITAv3.05_R06-02-2010 -unpack
# vi ~/AMRITA/AMRITAv3.05/Amrita/Filter/amrita.pm

edit LINE 257: $line =~ s/^\040{1,$nstrip}//;
to read: $line =~ s/^\040{1,$nstrip}// if($nstrip>1);
Next type

# eval `~/AMRITA/AMRITAv3.05/tools/amrshell -setup bash`
# vi ~/.bash_profile

add this line to the ".bashrc" file: eval `~/AMRITA/AMRITAv3.05/
tools/amrshell -setup bash`
Then issue
# vi $AMRITA/SYSTEM/amrita.machines

Make sure the file has the contents "default Linux/x86_64"

# vi $AMRITA/SYSTEM/Linux/x86_64/which-gcc

make sure "which-gcc" looks like this:

$g77 = 'g77';
$gcc = 'gcc';
$gxx = 'g++';
$g2c = 'g2c';
if($word eq '32') {
$gcc = 'gcc';
}

Next

# vi $AMRITA/src3p/perl/amrita.build

edit line 29: system("perl Makefile.PL PREFIX=$AMRITA/bin/perl
$out");
to read: system("perl Makefile.PL INSTALL_BASE=$AMRITA/bin/
perl $out");

Next for 64 bit MPI support*** (NOTE SEE BELOW):
# vi $AMRITA/SYSTEM/Linux/x86_64/use/MPI
ensure you have:
ldir = /usr/lib64/openmpi/lib
inc = /usr/include/openmpi-x86_64


Finally issue:
# cd $AMRITA/SYSTEM
# ./AMRITASystem
# ./AMRITAsystem -check all
Note: This may report that amrpp is broken
# amrmake amrita
Alternatively you can type (for parallel or single core mode
respectively)
# amrmake -serial amrita
# amrmake -mpi amrita




---------------------------------------------------------------------------------------------------

***NOTE There is actually a problem here. When you go to compile
amrita with 64bit MPI support it drops the "64" from usr/lib64 and
wont compile properly. The linking option during compile will read -L/
usr/lib/openmpi/lib and not -L/usr/lib64/openmpi/lib. Perhaps this is
related to the perl problem??***

For Example typing
# amrmake -mpi -verbose src3p::mpeg

yields the following error

***********************************
amrcc: pass #4 generate binary file
***********************************
AMRITA::system { verbose mode
gcc -O3 -w -m32 -fPIC -I/usr/X11R6/include -I/usr/include/openmpi-
x86_64 \
-I/usr/include -I/home/bmax/AMRITA/AMRITAv3.05/include/cc \
-I/home/bmax/AMRITA/AMRITAv3.05/src -I/include/cc -I. -I.. -I/
include/ \
-Dmpi_code -DLinux_x86_64 -D_code -o ./mpeg ./mpeg.o -L. -L/usr/
X11R6/lib \
-L/usr/lib/openmpi/lib -LAMRSO/mpi/Linux/x86_64 -L.. -lAMRMPEG -lm -
lXaw -lXt \
-lXext -lX11 -lpthread -lmpi_f77 -lmpi -lopen-rte -lopen-pal -lnsl -
lutil
/usr/bin/ld: cannot find -lmpi_f77 collect2: ld returned 1 exit
status
}
amrcc: error: AMRITA::system -- command failed!
error near: end of line
**********************
amrbuild missing: mpeg
**********************


---------------------------------------------------------------------------------------------------

James Quirk

unread,
Aug 24, 2010, 3:38:08 PM8/24/10
to Brian, amrita-ebook
Brian,

On Tue, 24 Aug 2010, Brian wrote:

> Unfortunately it seems it will take a bit of work to install the old
> perl on my FC 13 machine as there are some errors compiling.. i can
> resolve them at somepoint, but currently my amrita cfd is functional
> without perl. Until the perl functionality is resolved I have decided
> to post everything I have done to my machine to get it working to this
> point (for other peoples reference). Note 64 bit MPI support is also
> not working (see below)

Thanks for taking the time to write-up what you've done. You do, however,
need to be careful as you've only fixed the nstrip business in one place.
It actually occurs in a few more obscure places, so your assertion that
amrita is functional is not strictly true, but it's probably good enough
for your immediate purposes. As regards MPI:

>
> ***NOTE There is actually a problem here. When you go to compile
> amrita with 64bit MPI support it drops the "64" from usr/lib64 and
> wont compile properly. The linking option during compile will read -L/
> usr/lib/openmpi/lib and not -L/usr/lib64/openmpi/lib. Perhaps this is
> related to the perl problem??***

I'll look into it, but I can't promise a speedy solution
as my right arm is in a bad way at the moment, and I'm
trying to limit my typing. (and Roger that's why I gave
you my phone number, as the answer to your question is
too tortuous for me to type at present.)

James

Roger Mason

unread,
Aug 25, 2010, 7:14:07 AM8/25/10
to amrita...@googlegroups.com
Hello Brian & James,

James Quirk <j...@galcit.caltech.edu> writes:

> I'll look into it, but I can't promise a speedy solution
> as my right arm is in a bad way at the moment, and I'm
> trying to limit my typing. (and Roger that's why I gave
> you my phone number, as the answer to your question is
> too tortuous for me to type at present.)

I'll follow along as information is posted. I'll soon[1] be trying to
install amrita on a T2 system with perl 5.12.x and will share what I
turn up.

James, I won't proceed further with adding amrita to the T2 package
database, my install will be independent and consistent with the amrita
license (of course). I hope your arm recovers soon.

Best wishes,
Roger

[1] before the next millenium

James Quirk

unread,
Aug 25, 2010, 10:08:56 AM8/25/10
to Roger Mason, amrita...@googlegroups.com
Roger,

>
> James, I won't proceed further with adding amrita to the T2 package
> database, my install will be independent and consistent with the amrita
> license (of course). I hope your arm recovers soon.

Thanks, but I'm afraid 30+ years of typing is catching up with me.
I'm only writing here, as I do not want you, or others, to get
the wrong impression, on something which is quite important.

The fact of the matter is that you, and all AMRITA's users, are
in violation of the software licence agreement. The relevant clause
from $AMRITA/USER_LICENCE reads:
****************************************************************
THIS LICENCE WILL AUTOMATICALLY EXPIRE NINETY DAYS
FROM THE AGREEMENT DATE LOGGED WITH THE AUTHOR.

AT WHICH STAGE, TO GAIN A ROLL-OVER LICENCE YOU MUST
PROVIDE THE AMRITA SCRIPT REPOSITORY WITH A SET OF
WORKING, DOCUMENTED SCRIPTS.

THEREAFTER, TO KEEP THE ROLL-OVER LICENCE INTACT
YOUR SOLE RESPONSIBILITY IS TO INSTALL EACH NEW VERSION
OF AMRITA AS AND WHEN IT APPEARS.

A GRACE PERIOD OF 30 DAYS IS ALLOWED FOR EACH UPGRADE.

QUESTIONS REGARDING THIS LICENCE AGREEMENT SHOULD BE
DIRECTED TO he...@amrita-cfd.org
****************************************************************

I do not enforce this licence, and might not even be able
to legally. But it was not constructed from a legal perspective.
It construction hinges on the notion of computational scholarship.

A student might read the above and think: "that Quirk he's a right #$%@!"
But if he/she analysed the text and made the association with "reproduible
research" the text would take on a different meaning. Specifically, if a
student cannot produce a working/documented script then he/she cannot
fulfill the scientific obligation of making his/her work checkable by
third-parties. Let me be clear, computations are not like physical
experiments, and so computational repeatability on its own does not
guarantee correctness. It is, however, a pre-requisite for party A
checking party B's work, and vice versa. Therefore it must not be ignored.

Regarding the time clauses, a student who pondered them would quickly
realise that at some point they will need to rely on me for specialist
support. So the 90 day clause is essentially a means of filtering out time
wasters, while the 30 day clause has to do with ensuring all users have
the same base system, which helps with the idea of computational
repeatability.

What alarms me is that over the years, not one student has
contributed an example that leaves a public legacy for the others
to benefit from.

Here it's important to understand that I don't expect a worked example to
appear by magic. The idea is the student has a stab at producing something
and then we all iterate so as to improve the quality of the product. The
purpose of such an exercise is to get the student and other interested
parties to the point where they are self-sufficient.

Another point I find alarming is that this group was explicitly set up so
that AMRITA's users could form a self-help group and be less reliant on my
continued good will, which owing to physical frailities cannot continue
indefinitely. The group was not set up to promote either myself or my
software. Unfortunatey, it is painfully clear that a self-help community
has not formed, and if I don't answer a question, said question goes
unanswerd.

Anyhow, the above has only just scratched the surface, in terms of the
issues that drove the licence and AMRITA's construction in general. But I
hope that people can see what I'm driving at. If not, they might care to
revisit the ICDERS papers. And in the case of someone like Brian, he can
ponder how much easier his life would be now, if the students back in 1999
had embraced AMRITA-the-computational-philosophy.

Said philosophy ultimately rests on the concept of reciprocation,
which is in short supply. But instead of dwelling on the mistakes
of the past, does anyone have any thoughts on how to shape the future?


James

Hans Hornung

unread,
Aug 30, 2010, 8:06:17 AM8/30/10
to amrita-ebook
All this will be very useful to me, as I have just installed Fedora 13
on my new laptop (VAIO Z-series). With my usual Suse, almost all the
hardware on this new laptop could not be made to work. As it is, I
still have to get some help to get a couple of things working, before
I will try to install AMRITAv3.05. Where do I find this version, by
the way? On the AMRITA web page 3.00 is the latest version. James, I
am in Goettingen till tthe end of October, working with Klaus
Hannemann.

Hans.
> - Hide quoted text -
>
> - Show quoted text -

Matei Radulescu

unread,
Sep 22, 2010, 3:57:19 PM9/22/10
to amrita...@googlegroups.com
All,

I am starting a new thread following James' last post (August-25-10
10:09 AM).

To echo James' comments, I think the time is ripe for pulling together
as a community and addressing the issues raised by James.

The first thing I would like to propose is to set up a long-intended
workshop, where the AMRITA users could attend to especially address
these issues raised by James. This would take the form of a hands-on
seminar, using James as chief architect and us as his apprentices.

At this point, most of us have scripts meant to use amr_sol for various
inert and reactive gasdynamics problems. Perhaps by the seminar, some
of these scripts can be cleaned up and made such that they reproduce the
results of one of our published papers in a self-contained manner, in
the same spirit as Short&Quirk JFM example posted by James
(January-29-10).

At this point, I would like to see who among the users of AMRITA would
be interested in such a workshop and up to the challenge to clean up our
scripts and become more fluent in exchanging the ideas generated in our
published papers to the others, so we can build upon what some of us
have done.

Matei

Roger,


James

--
You received this message because you are subscribed to the Google
Groups "amrita-ebook" group.
To post to this group, send email to amrita...@googlegroups.com.
To unsubscribe from this group, send email to
amrita-ebook...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/amrita-ebook?hl=en.

Jimmy

unread,
Sep 23, 2010, 11:43:18 AM9/23/10
to amrita-ebook
I am certainly onboard to participate to such a workshop. In fact, I
am posting 2 documents to present the problem I have been working on
for the past few months: the formation of and oblique detonation wave
from a wedge. The pdf document presents a comparison between the
numerical simulations and theoretical results using the method of
characteristics. One can use the mailit document to reproduce one of
the cases. Any comments and inputs on these results are welcome.

In case of an upcoming workshop, I will come back to this problem, and
also to the problem of the cellular structure of oblique detonation
waves, which I am investigating at the moment.

Jimmy
>     DIRECTED TO  h...@amrita-cfd.org
Reply all
Reply to author
Forward
0 new messages