I tried to build SAGE over telnet with my new freeshells.ch account
running NetBSD. I got SAGE download using wget and untarred it. The
build did not work. I want to work on SAGE remotely and show what I've
done.
sage-2.3/spkg/standard/singular-3-0-2-20070105.spkg
sage-2.3/spkg/standard/sqlite-3.3.11.spkg
sage-2.3/spkg/standard/sympow-1.018.1.p1.spkg
sage-2.3/spkg/standard/tachyon-0.97.p1.spkg
sage-2.3/spkg/standard/termcap-1.3.1.spkg
sage-2.3/spkg/standard/twisted-2.5.0.p3.spkg
sage-2.3/spkg/standard/twistedweb2-0.2.0.p1.spkg
sage-2.3/spkg/standard/weave-0.4.9.spkg
sage-2.3/spkg/standard/zlib-1.2.3.p2.spkg
sage-2.3/spkg/standard/zodb3-3.6.0.p1.spkg
sage-2.3/TROUBLESHOOT.txt
tar: ustar vol 1, 87 files, 92600320 bytes read, 0 bytes written in 5 secs (1852
0064 bytes/sec)
-bash-2.05b$
-bash-2.05b$ ls
mail public_html sage-2.3 sage-2.3.tar
-bash-2.05b$
-bash-2.05b$ cd sage-2.3
-bash-2.05b$
-bash-2.05b$ make
cd spkg && ./install all 2>&1 | tee -a ../install.log
base/dir-0.1-install
../data/
../local/
../local/etc
../local/lib
../local/bin
../local/include
../tmp/
/home/tclemans/sage-2.3/spkg/build
installed/
base/prereq-0.2-install
Starting prerequisite check.
Machine: NetBSD server1.freeshells.ch 3.0.2_PATCH NetBSD 3.0.2_PATCH (GENERIC) #
1: Wed Nov 15 23:01:03 MET 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/spa
rc64/compile/GENERIC sparc64
found make
found perl
found m4
found ranlib
found tar
found gcc
tar: ustar vol 1, 9 files, 266240 bytes read, 0 bytes written in 1 secs (266240
bytes/sec)
prereq-0.2
prereq-0.2/Makefile.in
prereq-0.2/autom4te.cache
prereq-0.2/autom4te.cache/output.0
prereq-0.2/autom4te.cache/requests
prereq-0.2/autom4te.cache/traces.0
prereq-0.2/configure
prereq-0.2/configure.ac
prereq-0.2/configure.ac~
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for gcc... yes
checking for make... yes
checking for m4... yes
checking for perl... yes
checking for ranlib... yes
checking for bison... bison
checking for flex... flex
checking whether gcc is new enough... yes
configure: creating ./config.status
config.status: creating Makefile
All prerequisites appear to be present.
base/bzip2-1.0.4-install 2>&1
Decompressing bzip2
tar: ustar vol 1, 57 files, 2836480 bytes read, 0 bytes written in 1 secs (28364
80 bytes/sec)
bzip2-1.0.4
bzip2-1.0.4/libbz2.def
bzip2-1.0.4/README
bzip2-1.0.4/bzip.css
bzip2-1.0.4/bz-common.xsl
bzip2-1.0.4/sample1.bz2
bzip2-1.0.4/bz-html.xsl
bzip2-1.0.4/manual.ps
bzip2-1.0.4/bzmore
bzip2-1.0.4/huffman.c
bzip2-1.0.4/words3
bzip2-1.0.4/README.COMPILATION.PROBLEMS
bzip2-1.0.4/bzip2recover.c
bzip2-1.0.4/bzip2.c
bzip2-1.0.4/sample3.ref
bzip2-1.0.4/words0
bzip2-1.0.4/spewG.c
bzip2-1.0.4/words1
bzip2-1.0.4/dlltest.dsp
bzip2-1.0.4/bzmore.1
bzip2-1.0.4/bzdiff
bzip2-1.0.4/bzlib_private.h
bzip2-1.0.4/randtable.c
bzip2-1.0.4/sample3.bz2
bzip2-1.0.4/sample2.bz2
bzip2-1.0.4/words2
bzip2-1.0.4/unzcrash.c
bzip2-1.0.4/manual.html
bzip2-1.0.4/makefile.msc
bzip2-1.0.4/bzgrep.1
bzip2-1.0.4/bzip2.1
bzip2-1.0.4/libbz2.dsp
bzip2-1.0.4/bzlib.h
bzip2-1.0.4/sample1.ref
bzip2-1.0.4/LICENSE
bzip2-1.0.4/bzgrep
bzip2-1.0.4/Makefile
bzip2-1.0.4/mk251.c
bzip2-1.0.4/bzlib.c
bzip2-1.0.4/crctable.c
bzip2-1.0.4/manual.pdf
bzip2-1.0.4/Makefile-libbz2_so
bzip2-1.0.4/bzip2.txt
bzip2-1.0.4/entities.xml
bzip2-1.0.4/xmlproc.sh
bzip2-1.0.4/compress.c
bzip2-1.0.4/CHANGES
bzip2-1.0.4/bzip2.1.preformatted
bzip2-1.0.4/manual.xml
bzip2-1.0.4/format.pl
bzip2-1.0.4/dlltest.c
bzip2-1.0.4/bzdiff.1
bzip2-1.0.4/bz-fo.xsl
bzip2-1.0.4/blocksort.c
bzip2-1.0.4/sample2.ref
bzip2-1.0.4/decompress.c
bzip2-1.0.4/README.XML.STUFF
If compilation produces errors, or a large number of warnings,
please read README.COMPILATION.PROBLEMS -- you might be able to
adjust the flags in this Makefile to improve matters.
Also in README.COMPILATION.PROBLEMS are some hints that may help
if your build produces an executable which is unable to correctly
handle so-called 'large files' -- files of size 2GB or more.
gcc -fPIC -c blocksort.c
gcc -fPIC -c huffman.c
gcc -fPIC -c crctable.c
gcc -fPIC -c randtable.c
gcc -fPIC -c compress.c
gcc -fPIC -c decompress.c
gcc -fPIC -c bzlib.c
rm -f libbz2.a
ar cq libbz2.a blocksort.o huffman.o crctable.o randtable.o compress.
o decompress.o bzlib.o
ranlib libbz2.a
gcc -fPIC -c bzip2.c
gcc -fPIC -o bzip2 bzip2.o -L. -lbz2
gcc -fPIC -c bzip2recover.c
gcc -fPIC -o bzip2recover bzip2recover.o
Doing 6 tests (3 compress, 3 uncompress) ...
If there's a problem, things might stop at this point.
./bzip2 -1 < sample1.ref > sample1.rb2
./bzip2 -2 < sample2.ref > sample2.rb2
./bzip2 -3 < sample3.ref > sample3.rb2
./bzip2 -d < sample1.bz2 > sample1.tst
./bzip2 -d < sample2.bz2 > sample2.tst
./bzip2 -ds < sample3.bz2 > sample3.tst
cmp sample1.bz2 sample1.rb2
cmp sample2.bz2 sample2.rb2
cmp sample3.bz2 sample3.rb2
cmp sample1.tst sample1.ref
cmp sample2.tst sample2.ref
cmp sample3.tst sample3.ref
If you got this far and the 'cmp's didn't complain, it looks
like you're in business.
To install in /usr/local/bin, /usr/local/lib, /usr/local/man and
/usr/local/include, type
make install
To install somewhere else, eg, /xxx/yyy/{bin,lib,man,include}, type
make install PREFIX=/xxx/yyy
If you are (justifiably) paranoid and want to see what 'make install'
is going to do, you can first do
make -n install or
make -n install PREFIX=/xxx/yyy respectively.
The -n instructs make to show the commands it would execute, but
not actually execute them.
Instructions for use are in the preformatted manual page, in the file
bzip2.txt. For more detailed documentation, read the full manual.
It is available in Postscript form (manual.ps), PDF form (manual.pdf),
and HTML form (manual.html).
You can also do "bzip2 --help" to see some helpful information.
"bzip2 -L" displays the software license.
if ( test ! -d /home/tclemans/sage-2.3/spkg/../local/bin ) ; then mkdir -p /home
/tclemans/sage-2.3/spkg/../local/bin ; fi
if ( test ! -d /home/tclemans/sage-2.3/spkg/../local/lib ) ; then mkdir -p /home
/tclemans/sage-2.3/spkg/../local/lib ; fi
if ( test ! -d /home/tclemans/sage-2.3/spkg/../local/man ) ; then mkdir -p /home
/tclemans/sage-2.3/spkg/../local/man ; fi
if ( test ! -d /home/tclemans/sage-2.3/spkg/../local/man/man1 ) ; then mkdir -p
/home/tclemans/sage-2.3/spkg/../local/man/man1 ; fi
if ( test ! -d /home/tclemans/sage-2.3/spkg/../local/include ) ; then mkdir -p /
home/tclemans/sage-2.3/spkg/../local/include ; fi
cp -f bzip2 /home/tclemans/sage-2.3/spkg/../local/bin/bzip2
cp -f bzip2 /home/tclemans/sage-2.3/spkg/../local/bin/bunzip2
cp -f bzip2 /home/tclemans/sage-2.3/spkg/../local/bin/bzcat
cp -f bzip2recover /home/tclemans/sage-2.3/spkg/../local/bin/bzip2recover
chmod a+x /home/tclemans/sage-2.3/spkg/../local/bin/bzip2
chmod a+x /home/tclemans/sage-2.3/spkg/../local/bin/bunzip2
chmod a+x /home/tclemans/sage-2.3/spkg/../local/bin/bzcat
chmod a+x /home/tclemans/sage-2.3/spkg/../local/bin/bzip2recover
cp -f bzip2.1 /home/tclemans/sage-2.3/spkg/../local/man/man1
chmod a+r /home/tclemans/sage-2.3/spkg/../local/man/man1/bzip2.1
cp -f bzlib.h /home/tclemans/sage-2.3/spkg/../local/include
chmod a+r /home/tclemans/sage-2.3/spkg/../local/include/bzlib.h
cp -f libbz2.a /home/tclemans/sage-2.3/spkg/../local/lib
chmod a+r /home/tclemans/sage-2.3/spkg/../local/lib/libbz2.a
cp -f bzgrep /home/tclemans/sage-2.3/spkg/../local/bin/bzgrep
ln -s -f /home/tclemans/sage-2.3/spkg/../local/bin/bzgrep /home/tclemans/sage-2.
3/spkg/../local/bin/bzegrep
ln -s -f /home/tclemans/sage-2.3/spkg/../local/bin/bzgrep /home/tclemans/sage-2.
3/spkg/../local/bin/bzfgrep
chmod a+x /home/tclemans/sage-2.3/spkg/../local/bin/bzgrep
cp -f bzmore /home/tclemans/sage-2.3/spkg/../local/bin/bzmore
ln -s -f /home/tclemans/sage-2.3/spkg/../local/bin/bzmore /home/tclemans/sage-2.
3/spkg/../local/bin/bzless
chmod a+x /home/tclemans/sage-2.3/spkg/../local/bin/bzmore
cp -f bzdiff /home/tclemans/sage-2.3/spkg/../local/bin/bzdiff
ln -s -f /home/tclemans/sage-2.3/spkg/../local/bin/bzdiff /home/tclemans/sage-2.
3/spkg/../local/bin/bzcmp
chmod a+x /home/tclemans/sage-2.3/spkg/../local/bin/bzdiff
cp -f bzgrep.1 bzmore.1 bzdiff.1 /home/tclemans/sage-2.3/spkg/../local/man/man1
chmod a+r /home/tclemans/sage-2.3/spkg/../local/man/man1/bzgrep.1
chmod a+r /home/tclemans/sage-2.3/spkg/../local/man/man1/bzmore.1
chmod a+r /home/tclemans/sage-2.3/spkg/../local/man/man1/bzdiff.1
echo ".so man1/bzgrep.1" > /home/tclemans/sage-2.3/spkg/../local/man/man1/bzegre
p.1
echo ".so man1/bzgrep.1" > /home/tclemans/sage-2.3/spkg/../local/man/man1/bzfgre
p.1
echo ".so man1/bzmore.1" > /home/tclemans/sage-2.3/spkg/../local/man/man1/bzless
.1
echo ".so man1/bzdiff.1" > /home/tclemans/sage-2.3/spkg/../local/man/man1/bzcmp.
1
sage-spkg sage_scripts-2.3 2>&1
WARNING: Using SAGE_ROOT variable that was already set to '/home/tclemans/sage-2
.3'.
sage_scripts-2.3
Machine:
NetBSD server1.freeshells.ch 3.0.2_PATCH NetBSD 3.0.2_PATCH (GENERIC) #1: Wed No
v 15 23:01:03 MET 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/comp
ile/GENERIC sparc64
Deleting directories from past builds of previous/current versions of sage_scrip
ts-2.3
Extracting package /home/tclemans/sage-2.3/spkg/standard/sage_scripts-2.3.spkg .
..
-rw-r--r-- 1 tclemans users 251230 Mar 6 21:37 /home/tclemans/sage-2.3/spkg/
standard/sage_scripts-2.3.spkg
tar: unknown option i
usage: tar [-]{crtux}[-befhjlmopqvwzHOPSXZ014578] [archive] [blocksize]
[-C directory] [-T file] [-s replstr] [file ...]
Finished extraction
sage: After decompressing the directory sage_scripts-2.3 does not exist
This means that the corresponding .spkg needs to be downloaded
again.
sage-download_package: not found
/home/tclemans/sage-2.3/spkg/build
bunzip2: Can't open input file sage_scripts-2.3.spkg: No such file or directory.
tar: unknown option i
usage: tar [-]{crtux}[-befhjlmopqvwzHOPSXZ014578] [archive] [blocksize]
[-C directory] [-T file] [-s replstr] [file ...]
tar: unknown option i
usage: tar [-]{crtux}[-befhjlmopqvwzHOPSXZ014578] [archive] [blocksize]
[-C directory] [-T file] [-s replstr] [file ...]
Second download resulted in a corrupted package.
*** Error code 1
Stop.
make: stopped in /home/tclemans/sage-2.3/spkg
28.32 real 19.12 user 8.76 sys
-bash-2.05b$
-bash-2.05b$
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---