[LON-CAPA-admin] Fedora7 install: make build failed

Stefan Bisitz st.bisitz at fh-wolfenbuettel.de
Wed Nov 28 07:36:50 EST 2007


Hi Guy, hi Stuart,

Guy Albertelli II wrote:
> > I tried to execute "make build" manually and got the following 
> > messages. Sorry, it's a German installation -> German messages.
> 
> Can you try this
> 
> cd loncapa-2.5.3/loncom/build
> rm Makefile.build
> make build
> 
> And send me the output?

-------- Start --------
# cd /root/loncapa-2.5.3/loncom/build/
# make build
cat ../../doc/loncapafiles/loncapafiles.lpml | \
        perl lpml_parse.pl build "development" `perl ./distprobe`
"../.." """" \
        > Makefile.build
Can't locate HTML/TokeParser.pm in @INC (@INC contains:
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .)
at lpml_parse.pl line 76.
BEGIN failed--compilation aborted at lpml_parse.pl line 76.
make: *** [Makefile.build] Fehler 2
#
-------- End --------


Stuart Peter Raeburn wrote:
> Stefan,
> 
> That error indicates that there is no "all" target in the generated 
> Makefile.build file.
> 
> This file is created by:
> make Makefile.build pod2html.sh pod2man.sh
> 
> which is included in the shipped Makefile ( /loncom/build/Makefile),
and is
> run when you do "make build".
> 
> Some things to check:
> 1. Within loncom/build, see what output you get from:
> perl ./distprobe

Nothing!


> 2. Check that ../../doc/loncapafiles/loncapafiles.lpml exists
ok

> [...]
> 5. Some expected file sizes (paths relative to loncom/build):
> 
> 210937 ../../doc/loncapafiles/loncapafiles.lpml
ok

> 56922  lpml_parse.pl
ok

> 39325  Makefile
ok

> 110451 Makefile.build
0!


Looks like an error concerning 32/64 bit.
# ll -a /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/
insgesamt 24
drwxr-xr-x 3 root root 4096 12. Nov 20:48 .
drwxr-xr-x 3 root root 4096 12. Nov 20:48 ..
drwxr-xr-x 2 root root 4096 12. Nov 20:48 auto

The same directory on our production server (also Fedora7, also 64 bit)
is different:
# ll -a /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/
insgesamt 52
drwxr-xr-x 10 root root 4096 12. Jun 15:46 .
drwxr-xr-x  3 root root 4096  5. Jun 2006  ..
drwxr-xr-x  3 root root 4096 31. Jan 2007  Authen
drwxr-xr-x  9 root root 4096 12. Jun 15:46 auto
drwxr-xr-x  2 root root 4096 31. Jan 2007  BSD
drwxr-xr-x  2 root root 4096 31. Jan 2007  Crypt
drwxr-xr-x  2 root root 4096 31. Jan 2007  HTML
drwxr-xr-x  3 root root 4096 31. Jan 2007  Math
drwxr-xr-x  2 root root 4096 31. Jan 2007  Safe
drwxr-xr-x  2 root root 4096 31. Jan 2007  String


Any idea?

Thanks,
Stefan




More information about the LON-CAPA-admin mailing list