Hi,

 I did
        rm (SAGE_ROOT)/local/lib/*readline*
but still get the following error.

========
Machine: Linux linux-zvbz.site 2.6.34-12-desktop #1 SMP PREEMPT
2010-06-29 02:39:08 +0200 x86_64 x86_64 x86_64 GNU/Linux
=========
.................
=========
checking for dlopen in -ldl... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking for rl_callback_read_char in -lreadline... no
checking for main in -lncurses... no
checking for main in -ltermcap... yes
checking for rl_callback_read_char in -lreadline... no
checking for history_truncate_file... no
configure: error: --with-readline=yes (default) and headers/libs are
not available
Error configuring R.

real    0m9.815s
user    0m4.207s
sys     0m3.239s
sage: An error occurred while installing r-2.10.1.p2
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /home/champs/sage-4.5.1/install.log.  Describe your computer,
operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/champs/sage-4.5.1/spkg/build/r-2.10.1.p2 and type 'make check'
or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/home/champs/sage-4.5.1/spkg/build/r-2.10.1.p2' && '/home/champs/
sage-4.5.1/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
make[1]: *** [installed/r-2.10.1.p2] Error 1
make[1]: Leaving directory `/home/champs/sage-4.5.1/spkg'

real    0m16.363s
user    0m10.554s
sys     0m3.748s
Error building Sage.


Thank you for your attentions
Jae

On 7월24일, 오전8시28분, Shing <mat...@yahoo.com> wrote:
> Hi,
>    After
>         rm (SAGE_ROOT)/local/lib/*readline*
>
>    sage compiles  successfully in Opensue 11.3.
>
> Thanks!
> Shing
>
> On Jul 23, 9:06 pm, William Stein <wst...@gmail.com> wrote:
>
> > On Fri, Jul 23, 2010 at 12:52 PM, Shing <mat...@yahoo.com> wrote:
> > > Hi,
> > >   When I compile Sage 4.5.1 in Opensue 11.3, I get the following
> > > error.
> > > My cpu is an AMD  Athlon 1700XP.
>
> > I think this is due to an incompatibility between your systemwide
> > readline and the one included in sage.    You might try
> >     cd SAGE_ROOT
> >     rm local/lib/*readline*
>
> > > Machine:
> > > Linux hilbert 2.6.34-12-default #1 SMP 2010-06-29 02:39:08 +0200 i686
> > > athlon i386 GNU/Linux
> > > Deleting directories from past builds of previous/current versions of
> > > sqlite-3.6.22
> > > Extracting package /usr/local/lib/sages/sage-4.5.1/spkg/standard/
> > > sqlite-3.6.22.spkg ...
> > > -rw-r--r-- 1 1060 1060 1080534 2010-06-28 17:36 /usr/local/lib/sages/
> > > sage-4.5.1/spkg/standard/sqlite-3.6.22.spkg
> > > sqlite-3.6.22/
> > > sqlite-3.6.22/SPKG.txt
> > > sqlite-3.6.22/.hg/
> > > sqlite-3.6.22/.hg/00changelog.i
> > > sqlite-3.6.22/.hg/requires
> > > sqlite-3.6.22/.hg/undo.dirstate
> > > sqlite-3.6.22/.hg/store/
> > > sqlite-3.6.22/.hg/store/00changelog.i
> > > sqlite-3.6.22/.hg/store/00manifest.i
> > > sqlite-3.6.22/.hg/store/data/
> > > sqlite-3.6.22/.hg/store/data/_s_p_k_g.txt.i
> > > sqlite-3.6.22/.hg/store/data/spkg-install.i
> > > sqlite-3.6.22/.hg/store/data/.hgignore.i
> > > sqlite-3.6.22/.hg/store/data/patches/
> > > sqlite-3.6.22/.hg/store/data/patches/_makefile.in.i
> > > sqlite-3.6.22/.hg/store/undo
> > > sqlite-3.6.22/.hg/attic/
> > > sqlite-3.6.22/.hg/dirstate
> > > sqlite-3.6.22/.hg/undo.branch
> > > sqlite-3.6.22/src/
> > > sqlite-3.6.22/src/depcomp
> > > sqlite-3.6.22/src/sqlite3.pc
> > > sqlite-3.6.22/src/aclocal.m4
> > > sqlite-3.6.22/src/README
> > > sqlite-3.6.22/src/ltmain.sh
> > > sqlite-3.6.22/src/configure
> > > sqlite-3.6.22/src/shell.c
> > > sqlite-3.6.22/src/configure.ac
> > > sqlite-3.6.22/src/config.guess
> > > sqlite-3.6.22/src/install-sh
> > > sqlite-3.6.22/src/config.sub
> > > sqlite-3.6.22/src/missing
> > > sqlite-3.6.22/src/sqlite3.1
> > > sqlite-3.6.22/src/sqlite3.c
> > > sqlite-3.6.22/src/sqlite3.h
> > > sqlite-3.6.22/src/Makefile.am
> > > sqlite-3.6.22/src/Makefile.in
> > > sqlite-3.6.22/src/sqlite3ext.h
> > > sqlite-3.6.22/src/INSTALL
> > > sqlite-3.6.22/src/sqlite3.pc.in
> > > sqlite-3.6.22/patches/
> > > sqlite-3.6.22/spkg-install
> > > sqlite-3.6.22/.hgignore
> > > Finished extraction
> > > ****************************************************
> > > Host system
> > > uname -a:
> > > Linux hilbert 2.6.34-12-default #1 SMP 2010-06-29 02:39:08 +0200 i686
> > > athlon i386 GNU/Linux
> > > ****************************************************
> > > ****************************************************
> > > CC Version
> > > gcc -v
> > > Using built-in specs.
> > > COLLECT_GCC=gcc
> > > COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-suse-linux/4.5/lto-wrapper
> > > Target: i586-suse-linux
> > > Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
> > > --mandir=/usr/share/man --libdir=/usr/lib --libexec
> > > dir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --
> > > enable-checking=release --with-gxx-include-dir=/usr
> > > /include/c++/4.5 --enable-ssp --disable-libssp --disable-plugin --with-
> > > bugurl=http://bugs.opensuse.org/--with-pkgversion
> > > ='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/
> > > lib --with-system-zlib --enable-__cxa_atexit --enable
> > > -libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-
> > > specific-runtime-libs --program-suffix=-4.5 --enable-li
> > > nux-futex --without-system-libunwind --enable-gold --with-plugin-ld=/
> > > usr/bin/gold --with-arch-32=i586 --with-tune=generic
> > >  --build=i586-suse-linux
> > > Thread model: posix
> > > gcc version 4.5.0 20100604 [gcc-4_5-branch revision 160292] (SUSE
> > > Linux)
> > > ****************************************************
> > > bash: symbol lookup error: bash: undefined symbol:
> > > rl_filename_rewrite_hook
>
> > > real    0m0.015s
> > > user    0m0.004s
> > > sys     0m0.004s
> > > sage: An error occurred while installing sqlite-3.6.22
> > > Please email sage-develhttp://groups.google.com/group/sage-devel
> > > explaining the problem and send the relevant part of
> > > of /usr/local/lib/sages/sage-4.5.1/install.log.  Describe your
> > > computer, operating system, etc.
> > > If you want to try to fix the problem yourself, *don't* just cd to
> > > /usr/local/lib/sages/sage-4.5.1/spkg/build/sqlite-3.6.22 and type
> > > 'make check' or whatever is appropriate.
> > > Instead, the following commands setup all environment variables
> > > correctly and load a subshell for you to debug the error:
> > > (cd '/usr/local/lib/sages/sage-4.5.1/spkg/build/sqlite-3.6.22' && '/
> > > usr/local/lib/sages/sage-4.5.1/sage' -sh)
> > > When you are done debugging, you can type "exit" to leave the
> > > subshell.
> > > make[1]: *** [installed/sqlite-3.6.22] Error 1
> > > make[1]: Leaving directory `/usr/local/lib/sages/sage-4.5.1/spkg'
>
> > > real    1m51.825s
> > > user    1m12.881s
> > > sys     0m11.925s
> > > Error building Sage.
> > > mat...@hilbert:/usr/local/lib/sages/sage-4.5.1>
>
> > > Thanks in advance for any assistance !
> > > Shing
>
> > > --
> > > To post to this group, send an email to sage-devel@googlegroups.com
> > > To unsubscribe from this group, send an email to 
> > > sage-devel+unsubscr...@googlegroups.com
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/sage-devel
> > > URL:http://www.sagemath.org
>
> > --
> > William Stein
> > Associate Professor of Mathematics
> > University of Washingtonhttp://wstein.org

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to