[sage-devel] Error compiling Sage 4.5.1 in OpenSuse 11.3

2010-07-23 Thread Shing
Hi,
   When I compile Sage 4.5.1 in Opensue 11.3, I get the following
error.
My cpu is an AMD  Athlon 1700XP.

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

real0m0.015s
user0m0.004s
sys 0m0.004s
sage: An error occurred while installing sqlite-3.6.22
Please email sage-devel http://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'

real1m51.825s
user1m12.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 at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Re: Problem compiling sage 3.2.1 on opensuse 11.0

2008-12-30 Thread Shing

The rpm packages gcc43-ob-c++ and gcc-obj-c++ are
not installed by default in opensuse 11.0.

After I installed them, sage 3.2.1 compiled successfully.
Now I can run sage 3.2.1.

Thanks for all the replies!
Shing


On Dec 29, 8:49 pm, Gabriel Dos Reis dosr...@gmail.com wrote:
 On Mon, Dec 29, 2008 at 11:19 AM, mabshoff mabsh...@googlemail.com wrote:
  Sigh, when will SUSE learn? They have shipped crap compilers (read:
  their own patched mess or prerelease snapshots) since way before the
  days of SuSE 9.0 (half a decade ago IIRC) when their decision to ship
  pre release compilers finally convinced me after numerous internal
  compiler errors to switch to another distro after having run SUSE for
  about 5 years before.

 Most major linux distros have engaged in this stupid contest of shipping
 buggy, unreleased versions of GCC, since almost a decade ago,
 upsetting GCC developers -- it does not make a good reputation for GCC.

    http://gcc.gnu.org/gcc-2.96.html

 At the time, a different distro was taking the lead.
 It was frustrating for both users and developers at the time; it is
 still so today.  Yes, you'd think they would learn.

 Sickening.

 (Yes, I've been running SuSE for more than a decade.  I was planning
 to upgrade to 11.0, but I think I'll stay at 10.3 for a while, and then go
 straight to 11.1)

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



[sage-devel] Re: Problem compiling sage 3.2.1 on opensuse 11.0

2008-12-30 Thread Shing

I do not know difference between gcc and gcc-obj-c++ packages.

Shing

On Dec 30, 1:20 pm, mabshoff mabsh...@googlemail.com wrote:
 On Dec 30, 5:16 am, Shing mat...@yahoo.com wrote:

 Hi Shing,

  The rpm packages gcc43-ob-c++ and gcc-obj-c++ are
  not installed by default in opensuse 11.0.

 Ok, what do they provide? Given the fact that you build NTL which is C+
 + way earlier than matplotlib this is very strange indeed.

  After I installed them, sage 3.2.1 compiled successfully.
  Now I can run sage 3.2.1.

  Thanks for all the replies!
  Shing

 Cheers,

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



[sage-devel] Re: Problem compiling sage 3.2.1 on opensuse 11.0

2008-12-29 Thread Shing

Below is the output from gcc -v.
Thanks!
Shing

mat...@hilbert:~ gcc  -v
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --prefix=/usr --with-local-prefix=/usr/
local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/
lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c+
+,java,ada --enable-checking=release --with-gxx-include-dir=/usr/
include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://
bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --
with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-
libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.3
--enable-version-specific-runtime-libs --enable-linux-futex --without-
system-libunwind --with-cpu=generic --build=i586-suse-linux
Thread model: posix
gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision
135036] (SUSE Linux)
mat...@hilbert:~




On Dec 29, 4:47 pm, mabshoff mabsh...@googlemail.com wrote:
 On Dec 29, 8:43 am, Shing mat...@yahoo.com wrote:

  Hi,

 Hi Shing,

    I got the error below on matplotlib-0.98.3.p3 when I compile (make)
  sage 3.2.1.
  I am running OpenSuse 11.0 with  a Athlon 1700 CPU.

  Any assistance is appreciated!
  Shing

 SNIP

  src/_image.cpp:1564: internal compiler error: Segmentation fault

 Your gcc blew up, please supply the output from gcc -v. There is
 little we can do about this.

  Please submit a full bug report,
  with preprocessed source if appropriate.
  See http://bugs.opensuse.org/ for instructions.
  error: command 'gcc' failed with exit status 1
  Error building matplotlib package.

 You might want to check if there is an updated gcc available from
 OpenSUSE via its upgrade tool.

 Cheers,

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



[sage-devel] Make on sage 3.0.3 failed on flint-1.06.p3

2008-07-05 Thread Shing

Hi,
  When I try to complile sage 3.0.3, I have an error installing
flint-1.06.p3. Below
is the intallation.log. I am compiling on a PC running opensuse 11 and
with a Athlon 1700 CPU. From the log, sage seems to think I have gcc
3.4.


Thanks in advance for any assistance!
Shing




Now cleaning up tmp files.
Making SAGE/Python scripts relocatable...
Making script relocatable
Finished installing extcode-3.0.3.spkg
sage-spkg flint-1.06.p3 21
You must set the SAGE_ROOT environment variable or
run this script from the SAGE_ROOT or
SAGE_ROOT/local/bin/ directory.
flint-1.06.p3
Machine:
Linux hilbert 2.6.25.5-1.1-pae #1 SMP 2008-06-07 01:55:22 +0200 i686
athlon i386 GNU/Linux
Deleting directories from past builds of previous/current versions of
flint-1.06.p3
Extracting package /usr/local/lib/sage-3.0.3/spkg/standard/
flint-1.06.p3.spkg ...
-rw-r--r-- 1 1003 1003 404737 2008-05-28 09:17 /usr/local/lib/
sage-3.0.3/spkg/standard/flint-1.06.p3.spkg
flint-1.06.p3/
flint-1.06.p3/.hgignore
flint-1.06.p3/spkg-install
flint-1.06.p3/SPKG.txt
flint-1.06.p3/spkg-check
flint-1.06.p3/dist/
flint-1.06.p3/dist/debian/
flint-1.06.p3/dist/debian/rules
flint-1.06.p3/dist/debian/changelog
flint-1.06.p3/dist/debian/patches/
flint-1.06.p3/dist/debian/patches/flint-soname.patch
flint-1.06.p3/dist/debian/patches/series
flint-1.06.p3/dist/debian/control
flint-1.06.p3/dist/debian/control.in
flint-1.06.p3/dist/debian/compat
flint-1.06.p3/dist/debian/libflint-dev.install
flint-1.06.p3/dist/debian/copyright
flint-1.06.p3/dist/debian/libflint-1.06.install
flint-1.06.p3/.hg/
flint-1.06.p3/.hg/requires
flint-1.06.p3/.hg/00changelog.i
flint-1.06.p3/.hg/branch.cache
flint-1.06.p3/.hg/store/
flint-1.06.p3/.hg/store/00changelog.i
flint-1.06.p3/.hg/store/data/
flint-1.06.p3/.hg/store/data/spkg-check.i
flint-1.06.p3/.hg/store/data/_s_p_k_g.txt.i
flint-1.06.p3/.hg/store/data/spkg-install.i
flint-1.06.p3/.hg/store/data/.hgignore.i
flint-1.06.p3/.hg/store/data/dist/
flint-1.06.p3/.hg/store/data/dist/debian/
flint-1.06.p3/.hg/store/data/dist/debian/libflint0.install.i
flint-1.06.p3/.hg/store/data/dist/debian/compat.i
flint-1.06.p3/.hg/store/data/dist/debian/control.i
flint-1.06.p3/.hg/store/data/dist/debian/libflint-dev.install.i
flint-1.06.p3/.hg/store/data/dist/debian/changelog.i
flint-1.06.p3/.hg/store/data/dist/debian/rules.i
flint-1.06.p3/.hg/store/data/dist/debian/control.in.i
flint-1.06.p3/.hg/store/data/dist/debian/copyright.i
flint-1.06.p3/.hg/store/data/dist/debian/libflint-1.06.install.i
flint-1.06.p3/.hg/store/data/dist/debian/patches/
flint-1.06.p3/.hg/store/data/dist/debian/patches/flint-soname.patch.i
flint-1.06.p3/.hg/store/data/dist/debian/patches/series.i
flint-1.06.p3/.hg/store/data/patches/
flint-1.06.p3/.hg/store/data/patches/lib__makefile.i
flint-1.06.p3/.hg/store/data/patches/makefile.i
flint-1.06.p3/.hg/store/data/patches/_d_i_r_n_a_m_e.i
flint-1.06.p3/.hg/store/data/patches/flint-soname.patch.i
flint-1.06.p3/.hg/store/data/test__gcc__version.pl.i
flint-1.06.p3/.hg/store/undo
flint-1.06.p3/.hg/store/00manifest.i
flint-1.06.p3/.hg/dirstate
flint-1.06.p3/.hg/undo.dirstate
flint-1.06.p3/test_gcc_version.pl
flint-1.06.p3/src/
flint-1.06.p3/src/longlong.h
flint-1.06.p3/src/fmpz_poly-test.c
flint-1.06.p3/src/fmpz_poly.c
flint-1.06.p3/src/pari-profiles/
flint-1.06.p3/src/pari-profiles/pari-profile.p
flint-1.06.p3/src/mpz_poly-test.c
flint-1.06.p3/src/bernoulli-profile.c
flint-1.06.p3/src/fmpz.c
flint-1.06.p3/src/zmod_poly-profile.c
flint-1.06.p3/src/memory-manager.h
flint-1.06.p3/src/test-support.c
flint-1.06.p3/src/long_extras.h
flint-1.06.p3/src/mpz_poly-tune.c
flint-1.06.p3/src/zmod_poly-test.c
flint-1.06.p3/src/delta_qexp.c
flint-1.06.p3/src/NTL-profile.c
flint-1.06.p3/src/memory-manager.c
flint-1.06.p3/src/graphing/
flint-1.06.p3/src/graphing/compare2d_config.py
flint-1.06.p3/src/graphing/compare2d.py
flint-1.06.p3/src/graphing/compare1d.py
flint-1.06.p3/src/graphing/compare1d_config.py
flint-1.06.p3/src/ZmodF_mul.h
flint-1.06.p3/src/bernoulli_fmpz.c
flint-1.06.p3/src/mpz_poly-profile.c
flint-1.06.p3/src/magma-profiles/
flint-1.06.p3/src/magma-profiles/poly-mult.m
flint-1.06.p3/src/magma-profiles/template.m
flint-1.06.p3/src/magma-profiles/poly-div.m
flint-1.06.p3/src/expmod.c
flint-1.06.p3/src/QS/
flint-1.06.p3/src/QS/mp_factor_base.h
flint-1.06.p3/src/QS/tinyQS.c
flint-1.06.p3/src/QS/block_lanczos.h
flint-1.06.p3/src/QS/factor_base.c
flint-1.06.p3/src/QS/sieve.h
flint-1.06.p3/src/QS/mp_lprels.c
flint-1.06.p3/src/QS/poly.c
flint-1.06.p3/src/QS/mpQS.h
flint-1.06.p3/src/QS/factor_base.h
flint-1.06.p3/src/QS/mp_poly.h
flint-1.06.p3/src/QS/mp_factor_base.c
flint-1.06.p3/src/QS/mp_lprels.h
flint-1.06.p3/src/QS/mp_linear_algebra.c
flint-1.06.p3/src/QS/poly.h
flint-1.06.p3/src/QS/mp_sieve.h
flint-1.06.p3/src/QS/mp_linear_algebra.h
flint-1.06.p3/src/QS/mpQS.c
flint-1.06.p3/src/QS/common.h
flint-1.06.p3/src/QS/tinyQS.h
flint-1.06.p3/src/QS/sieve.c
flint-1.06.p3/src/QS/linear_algebra.h
flint-1.06.p3/src/QS/linear_algebra.c
flint-1.06.p3

[sage-devel] Re: Make on sage 3.0.3 failed on flint-1.06.p3

2008-07-05 Thread Shing Hing Man

My PC is running Opensuse 11 with gcc 4.3.1.

Shing


Home page : http://www.lombok.demon.co.uk/



--- On Sun, 6/7/08, David Harvey [EMAIL PROTECTED] wrote:

 From: David Harvey [EMAIL PROTECTED]
 Subject: [sage-devel] Re: Make on sage 3.0.3 failed on flint-1.06.p3
 To: sage-devel@googlegroups.com
 Date: Sunday, 6 July, 2008, 2:24 AM
 On Jul 5, 2008, at 2:03 PM, William Stein wrote:
 
 
  On Sat, Jul 5, 2008 at 7:38 AM, Shing
 [EMAIL PROTECTED] wrote:
 
  Hi,
   When I try to complile sage 3.0.3, I have an
 error installing
  flint-1.06.p3. Below
  is the intallation.log. I am compiling on a PC
 running opensuse 11  
  and
  with a Athlon 1700 CPU. From the log, sage seems
 to think I have gcc
  3.4.
 
  It says in the log:
  WARNING: gcc version less than 3.4.0
  GCC version less than 3.4.0
  Flint will not be able to compile successfully
 
  You need to install a gcc version  3.4.0.
 
 But it also says in the log
 
 gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch
 revision  
 135036] (SUSE Linux)
 
 So the version detection logic must be incorrect.
 
 david
 
 
 

  __
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at 
Yahoo! http://uk.docs.yahoo.com/ymail/new.html

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Make on sage 3.0.3 failed on flint-1.06.p3

2008-07-05 Thread Shing Hing Man

Thanks!

Shing


--- On Sun, 6/7/08, mabshoff [EMAIL PROTECTED] wrote:

 From: mabshoff [EMAIL PROTECTED]
 Subject: [sage-devel] Re: Make on sage 3.0.3 failed on flint-1.06.p3
 To: sage-devel sage-devel@googlegroups.com
 Date: Sunday, 6 July, 2008, 4:35 AM
 On Jul 5, 11:56 am, Shing Hing Man [EMAIL PROTECTED]
 wrote:
  My PC is running Opensuse 11 with gcc 4.3.1.
 
  Shing
 
 Hi Shing,
 
 it is a know problem (see
 http://trac.sagemath.org/sage_trac/ticket/3528)
 and will be fixed in Sage 3.0.4.
 
 The issue is that gcc -dumpversion on OpenSuSE 11 reports
 gcc 4.3
 which confuses our detection script.  OpenSuSE 11 ships
 some gcc
 4.3.1CVS release, so that might explain the odd
 dumpversion string.
 
 Cheers,
 
 Michael
 

  __
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at 
Yahoo! http://uk.docs.yahoo.com/ymail/new.html

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---