[sage-devel] Re: Error building from source

2022-05-26 Thread Utkarsh Sharma
Never mind, I tried uninstalling the singular I had downloaded from 
homebrew and ran make again, and sage installed it as an spkg. Now Sage 
works fine on my computer.

On Wednesday, May 25, 2022 at 10:05:26 PM UTC+5:30 Utkarsh Sharma wrote:

> Hi! I'm new to open source and wanted to contribute to Sage, so I tried 
> building Sage from source code. However, whenever I run make, it throws 
> this error at me saying that it's unable to build singular-4.2.1p3 and I 
> have no idea what's causing it. I'm using macOS 12.3.1 on my M1 MacBook. 
> Also, when I run ./configure, it tells me that it could not find an 
> equivalent system package for singular, but when I brew install singular it 
> says I already have it. I even tried reinstalling it, but ./configure still 
> tells me to install it.
> It would be nice if I could get some help with this. Here's the error and 
> the corresponding log files:
>
>  [singular-4.2.1p3] error installing, exit status 1. End of log file:
>
>   [singular-4.2.1p3] ^
>
>   [singular-4.2.1p3]   fatal error: too many errors emitted, stopping now 
> [-ferror-limit=]
>
>   [singular-4.2.1p3]   fatal error: too many errors emitted, stopping now 
> [-ferror-limit=]
>
>   [singular-4.2.1p3]   ../../libpolys/polys/monomials/p_polys.h:1525:39: 
> error: unknown type name 'int64'
>
>   [singular-4.2.1p3]   static inline void p_SetExpVL(poly p, int64 *ev, 
> const ring r)
>
>   [singular-4.2.1p3] ^
>
>   [singular-4.2.1p3]   fatal error: too many errors emitted, stopping now 
> [-ferror-limit=]
>
>   [singular-4.2.1p3]   20 errors generated.
>
>   [singular-4.2.1p3]   make[8]: *** [mpr_inout.lo] Error 1
>
>   [singular-4.2.1p3]   make[8]: *** Waiting for unfinished jobs
>
>   [singular-4.2.1p3]   20 errors generated.
>
>   [singular-4.2.1p3]   make[8]: *** [mpr_base.lo] Error 1
>
>   [singular-4.2.1p3]   20 errors generated.
>
>   [singular-4.2.1p3]   make[8]: *** [mpr_numeric.lo] Error 1
>
>   [singular-4.2.1p3]   make[7]: *** [all-recursive] Error 1
>
>   [singular-4.2.1p3]   make[6]: *** [all-recursive] Error 1
>
>   [singular-4.2.1p3]   make[5]: *** [all] Error 2
>
>   [singular-4.2.1p3]   
> 
>
>   [singular-4.2.1p3]   Error building singular-4.2.1p3
>
>   [singular-4.2.1p3]   
> 
>
>   [singular-4.2.1p3]   
>
>   [singular-4.2.1p3]   real2m3.631s
>
>   [singular-4.2.1p3]   user3m7.473s
>
>   [singular-4.2.1p3]   sys0m33.206s
>
>   [singular-4.2.1p3]   
> 
>
>   [singular-4.2.1p3]   Error installing package singular-4.2.1p3
>
>   [singular-4.2.1p3]   
> 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/9533f8e3-0717-4c46-976d-95961619be43n%40googlegroups.com.


[sage-devel] Re: error building from source with git clone

2014-01-02 Thread Niles Johnson
Do you have the developer tools (Xcode) installed?  This prerequisite is 
sort of buried in the middle of the instructions at 

http://www.sagemath.org/doc/installation/source.html

-Niles


On Saturday, December 21, 2013 1:25:29 AM UTC-5, Theron Hitchman wrote:

 I just tried cloning the git repository and building sage from that 
 source. This is new for me, and I got an error! 

 Actually, I got two errors. The first was about getting MacPorts out of 
 the way. I found info and navigated around that one.

 Now I have trouble and the error is about building gcc.  

 I am working on a macbook pro running OSX 10.9.1. Here is the relevant 
 part of the log file that the error message asked me to send. 
 --
 Setting up build directory for gcc-4.7.3.p1
 Finished set up
 
 Host system:
 Darwin cns-theron-lap-2.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 
 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64
 
 C compiler: /usr/bin/clang
 C compiler version:
 Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
 Target: x86_64-apple-darwin13.0.0
 Thread model: posix
 
 sed: /usr/include/sys/cdefs.h: No such file or directory

 real0m0.022s
 user0m0.013s
 sys0m0.015s
 
 Error installing package gcc-4.7.3.p1
 

 
 I am traveling the next few days, so I won't respond to this very quickly, 
 I am afraid.



-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.


[sage-devel] Re: error building from source (sagenb-0.9.1)

2012-08-07 Thread Keshav Kini
Luis Finotti luis.fino...@gmail.com writes:
 (Shouldn't this be in the README.txt?)

There's a lot wrong with the README.txt... This requirement for the
OpenSSL dev headers is mentioned in the installation documentation,
though - http://www.sagemath.org/doc/installation/source.html

-Keshav


Join us in #sagemath on irc.freenode.net !

-- 
-- 
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: Error building from Source on Linux - libgcrypt-1.4.3 - Assembler messages

2009-04-20 Thread Mike Cripps

Hi Michael


  Could you post the output from /proc/cpuinfo please?

 Oops, I meant if the /proc/cpuinfo from the inside of the Xen
 machine in case the above wasn't it already. I am also wondering if
 the kernel is 32 or 64 bit since I am not sure what the virtulization
 does kernel wise.

The /proc/cpuinfo I posted earlier was from my virtual machine. The
kernel package I have installed (on the virtual server) is:

linux-image-2.6.26-2-xen-amd64_2.6.26-15_amd64

Thanks
Mike
--~--~-~--~~~---~--~~
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: Error building from Source on Linux - libgcrypt-1.4.3 - Assembler messages

2009-04-20 Thread mabshoff



On Apr 19, 11:29 pm, Mike Cripps agentica...@gmail.com wrote:
 Hi Michael

Hi Mike,

SNIP

  Oops, I meant if the /proc/cpuinfo from the inside of the Xen
  machine in case the above wasn't it already. I am also wondering if
  the kernel is 32 or 64 bit since I am not sure what the virtulization
  does kernel wise.

 The /proc/cpuinfo I posted earlier was from my virtual machine. The
 kernel package I have installed (on the virtual server) is:

 linux-image-2.6.26-2-xen-amd64_2.6.26-15_amd64

Ok, but to be stating the fairly obvious: This is a 64 bit kernel.

But the compiler seems to build 32 bit code only.  Is that
intentional? I would assume if you installed a 64 bit toolchain you
would not see this problem.

Either way, this is a bug in libgcrypt that I should report upstream.
Can you download

 ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.4.4.tar.gz

and just run ./configure  make  make check and report back if it
works? This is a newer version than we ship, so it might have been
fixed. Otherwise I plan to report the problem.

 Thanks
 Mike

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: Error building from Source on Linux - libgcrypt-1.4.3 - Assembler messages

2009-04-20 Thread Mike Cripps

Hi Michael

Thanks for all your help so far!

 Ok, but to be stating the fairly obvious: This is a 64 bit kernel.

 But the compiler seems to build 32 bit code only.  Is that
 intentional? I would assume if you installed a 64 bit toolchain you
 would not see this problem.

This is not intentional, I shall check to ensure I have a 64-bit
toolchain.


 Either way, this is a bug in libgcrypt that I should report upstream.
 Can you download

  ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.4.4.tar.gz

 and just run ./configure  make  make check and report back if it
 works? This is a newer version than we ship, so it might have been
 fixed. Otherwise I plan to report the problem.

I get the same error when I build this (and it also depends on libgpg-
error which the current version appears not to)

I'll have a prod at my toolchain

Thanks
Mike
--~--~-~--~~~---~--~~
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: Error building from Source on Linux - libgcrypt-1.4.3 - Assembler messages

2009-04-20 Thread mabshoff



On Apr 20, 12:09 am, Mike Cripps agentica...@gmail.com wrote:
 Hi Michael

Hi Mike,

 Thanks for all your help so far!

No problem, it was fun to figure out what the likely problem is.

  Ok, but to be stating the fairly obvious: This is a 64 bit kernel.

  But the compiler seems to build 32 bit code only.  Is that
  intentional? I would assume if you installed a 64 bit toolchain you
  would not see this problem.

 This is not intentional, I shall check to ensure I have a 64-bit
 toolchain.



  Either way, this is a bug in libgcrypt that I should report upstream.
  Can you download

   ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.4.4.tar.gz

  and just run ./configure  make  make check and report back if it
  works? This is a newer version than we ship, so it might have been
  fixed. Otherwise I plan to report the problem.

 I get the same error when I build this (and it also depends on libgpg-
 error which the current version appears not to)

Oops, yes, it does, too. A ligpg-error can be found in $SAGE_LOCAL/
[lib|include], so you can set the appropriate configure option to make
it work.

 I'll have a prod at my toolchain

Good, a setup like your's is rather rare to say the least :)

 Thanks
 Mike

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: Error building from Source on Linux - libgcrypt-1.4.3 - Assembler messages

2009-04-19 Thread Martin Musatov
Yep, that's me!

On Sun, Apr 19, 2009 at 7:59 AM, Mike Cripps agentica...@gmail.com wrote:


 Hi all,

 I have been attempting to install Sage today from the source, and when
 I ran `make` I got the following output (after a lot of stuff compiled
 fine):

 /bin/sh ../libtool   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../
 src -I../
 src -I/root/sage/sage-3.4/local/include -Wa,--noexecstack -g -O2 -MT
 mpih-add1-a
 sm.lo -MD -MP -MF .deps/mpih-add1-asm.Tpo -c -o mpih-add1-asm.lo mpih-
 add1-asm.S
  gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/root/sage/sage-3.4/
 local/incl
 ude -Wa,--noexecstack -g -O2 -MT mpih-add1-asm.lo -MD -MP -MF .deps/
 mpih-add1-asm.Tpo -c mpih-add1-asm.S  -fPIC -DPIC -o .libs/mpih-add1-
 asm.o
 mpih-add1-asm.S: Assembler messages:
 mpih-add1-asm.S:46: Error: bad register name `%rsi,%rcx,8)'
 mpih-add1-asm.S:47: Error: bad register name `%rdi,%rcx,8)'
 mpih-add1-asm.S:48: Error: bad register name `%rdx,%rcx,8)'
 mpih-add1-asm.S:49: Error: bad register name `%rcx'
 mpih-add1-asm.S:53: Error: bad register name `%rsi,%rcx,8)'
 mpih-add1-asm.S:54: Error: bad register name `%rdx,%rcx,8)'
 mpih-add1-asm.S:55: Error: bad register name `%r10'
 mpih-add1-asm.S:56: Error: bad register name `%rax'
 mpih-add1-asm.S:57: Error: bad register name `%rcx'
 mpih-add1-asm.S:60: Error: bad register name `%rcx'
 mpih-add1-asm.S:61: Error: bad register name `%rax'
 make[4]: *** [mpih-add1-asm.lo] Error 1
 make[4]: Leaving directory `/root/sage/sage-3.4/spkg/build/
 libgcrypt-1.4.3.p0/src/mpi'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/root/sage/sage-3.4/spkg/build/
 libgcrypt-1.4.3.p0/src'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory `/root/sage/sage-3.4/spkg/build/
 libgcrypt-1.4.3.p0/src'
 failed to build libgcrypt

 real0m27.746s
 user0m10.545s
 sys 0m10.749s
 sage: An error occurred while installing libgcrypt-1.4.3.p0

 The output from /proc/cpuinfo is as follows:
 processor   : 0
 vendor_id   : AuthenticAMD
 cpu family  : 15
 model   : 35
 model name  : AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
 stepping: 2
 cpu MHz : 2210.186
 cache size  : 1024 KB
 physical id : 0
 siblings: 1
 core id : 0
 cpu cores   : 1
 apicid  : 0
 initial apicid  : 1
 fpu : yes
 fpu_exception   : yes
 cpuid level : 1
 wp  : yes
 flags   : fpu de tsc msr pae cx8 apic cmov pat clflush mmx
 fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good
 pni lahf_lm cmp_legacy
 bogomips: 4422.77
 TLB size: 1024 4K pages
 clflush size: 64
 cache_alignment : 64
 address sizes   : 40 bits physical, 48 bits virtual
 power management: ts fid vid ttp

 processor   : 1
 vendor_id   : AuthenticAMD
 cpu family  : 15
 model   : 35
 model name  : AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
 stepping: 2
 cpu MHz : 2210.186
 cache size  : 1024 KB
 physical id : 0
 siblings: 1
 core id : 0
 cpu cores   : 1
 apicid  : 0
 initial apicid  : 0
 fpu : yes
 fpu_exception   : yes
 cpuid level : 1
 wp  : yes
 flags   : fpu de tsc msr pae cx8 apic cmov pat clflush mmx
 fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good
 pni lahf_lm cmp_legacy
 bogomips: 4422.77
 TLB size: 1024 4K pages
 clflush size: 64
 cache_alignment : 64
 address sizes   : 40 bits physical, 48 bits virtual
 power management: ts fid vid ttp

 The machine is running Debian/Lenny, I can provide information on any
 installed packages if that will help.

 Please can you advise on how to proceed?

 Many thanks
 Mike Cripps

 


--~--~-~--~~~---~--~~
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: Error building from Source on Linux - libgcrypt-1.4.3 - Assembler messages

2009-04-19 Thread mabshoff



On Apr 19, 7:59 am, Mike Cripps agentica...@gmail.com wrote:
 Hi all,

Hi Mike,

 I have been attempting to install Sage today from the source, and when
 I ran `make` I got the following output (after a lot of stuff compiled
 fine):

SNIP

 ude -Wa,--noexecstack -g -O2 -MT mpih-add1-asm.lo -MD -MP -MF .deps/
 mpih-add1-asm.Tpo -c mpih-add1-asm.S  -fPIC -DPIC -o .libs/mpih-add1-
 asm.o
 mpih-add1-asm.S: Assembler messages:
 mpih-add1-asm.S:46: Error: bad register name `%rsi,%rcx,8)'
 mpih-add1-asm.S:47: Error: bad register name `%rdi,%rcx,8)'
 mpih-add1-asm.S:48: Error: bad register name `%rdx,%rcx,8)'
 mpih-add1-asm.S:49: Error: bad register name `%rcx'
 mpih-add1-asm.S:53: Error: bad register name `%rsi,%rcx,8)'
 mpih-add1-asm.S:54: Error: bad register name `%rdx,%rcx,8)'
 mpih-add1-asm.S:55: Error: bad register name `%r10'
 mpih-add1-asm.S:56: Error: bad register name `%rax'
 mpih-add1-asm.S:57: Error: bad register name `%rcx'
 mpih-add1-asm.S:60: Error: bad register name `%rcx'
 mpih-add1-asm.S:61: Error: bad register name `%rax'

SNIP

 The machine is running Debian/Lenny, I can provide information on any
 installed packages if that will help.

 Please can you advise on how to proceed?

Compress install.log and post a link to it. The above information is
insufficient to determine what is happening, but my first guess would
be some sort of tool chain problem. Googling around did not reveal
anything helpful yet.

 Many thanks
 Mike Cripps

Slightly OT: I will now change quote the appropriate part of the log
since these days nearly no one gets that right :(

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: Error building from Source on Linux - libgcrypt-1.4.3 - Assembler messages

2009-04-19 Thread Bill Hart

It looks like the assembler is complaining because it is being asked
to compile a 64 bit program on a machine which it incorrectly believes
is 32 bits. We've seen a similar issue with MPIR, though the C
compiler there was pathcc not gcc. We decided the machine had probably
been set up incorrectly.

Bill.

On 19 Apr, 15:59, Mike Cripps agentica...@gmail.com wrote:
 Hi all,

 I have been attempting to install Sage today from the source, and when
 I ran `make` I got the following output (after a lot of stuff compiled
 fine):

 /bin/sh ../libtool   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../
 src -I../
 src -I/root/sage/sage-3.4/local/include -Wa,--noexecstack -g -O2 -MT
 mpih-add1-a
 sm.lo -MD -MP -MF .deps/mpih-add1-asm.Tpo -c -o mpih-add1-asm.lo mpih-
 add1-asm.S
  gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/root/sage/sage-3.4/
 local/incl
 ude -Wa,--noexecstack -g -O2 -MT mpih-add1-asm.lo -MD -MP -MF .deps/
 mpih-add1-asm.Tpo -c mpih-add1-asm.S  -fPIC -DPIC -o .libs/mpih-add1-
 asm.o
 mpih-add1-asm.S: Assembler messages:
 mpih-add1-asm.S:46: Error: bad register name `%rsi,%rcx,8)'
 mpih-add1-asm.S:47: Error: bad register name `%rdi,%rcx,8)'
 mpih-add1-asm.S:48: Error: bad register name `%rdx,%rcx,8)'
 mpih-add1-asm.S:49: Error: bad register name `%rcx'
 mpih-add1-asm.S:53: Error: bad register name `%rsi,%rcx,8)'
 mpih-add1-asm.S:54: Error: bad register name `%rdx,%rcx,8)'
 mpih-add1-asm.S:55: Error: bad register name `%r10'
 mpih-add1-asm.S:56: Error: bad register name `%rax'
 mpih-add1-asm.S:57: Error: bad register name `%rcx'
 mpih-add1-asm.S:60: Error: bad register name `%rcx'
 mpih-add1-asm.S:61: Error: bad register name `%rax'
 make[4]: *** [mpih-add1-asm.lo] Error 1
 make[4]: Leaving directory `/root/sage/sage-3.4/spkg/build/
 libgcrypt-1.4.3.p0/src/mpi'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/root/sage/sage-3.4/spkg/build/
 libgcrypt-1.4.3.p0/src'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory `/root/sage/sage-3.4/spkg/build/
 libgcrypt-1.4.3.p0/src'
 failed to build libgcrypt

 real    0m27.746s
 user    0m10.545s
 sys     0m10.749s
 sage: An error occurred while installing libgcrypt-1.4.3.p0

 The output from /proc/cpuinfo is as follows:
 processor       : 0
 vendor_id       : AuthenticAMD
 cpu family      : 15
 model           : 35
 model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
 stepping        : 2
 cpu MHz         : 2210.186
 cache size      : 1024 KB
 physical id     : 0
 siblings        : 1
 core id         : 0
 cpu cores       : 1
 apicid          : 0
 initial apicid  : 1
 fpu             : yes
 fpu_exception   : yes
 cpuid level     : 1
 wp              : yes
 flags           : fpu de tsc msr pae cx8 apic cmov pat clflush mmx
 fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good
 pni lahf_lm cmp_legacy
 bogomips        : 4422.77
 TLB size        : 1024 4K pages
 clflush size    : 64
 cache_alignment : 64
 address sizes   : 40 bits physical, 48 bits virtual
 power management: ts fid vid ttp

 processor       : 1
 vendor_id       : AuthenticAMD
 cpu family      : 15
 model           : 35
 model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
 stepping        : 2
 cpu MHz         : 2210.186
 cache size      : 1024 KB
 physical id     : 0
 siblings        : 1
 core id         : 0
 cpu cores       : 1
 apicid          : 0
 initial apicid  : 0
 fpu             : yes
 fpu_exception   : yes
 cpuid level     : 1
 wp              : yes
 flags           : fpu de tsc msr pae cx8 apic cmov pat clflush mmx
 fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good
 pni lahf_lm cmp_legacy
 bogomips        : 4422.77
 TLB size        : 1024 4K pages
 clflush size    : 64
 cache_alignment : 64
 address sizes   : 40 bits physical, 48 bits virtual
 power management: ts fid vid ttp

 The machine is running Debian/Lenny, I can provide information on any
 installed packages if that will help.

 Please can you advise on how to proceed?

 Many thanks
 Mike Cripps
--~--~-~--~~~---~--~~
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: Error building from Source on Linux - libgcrypt-1.4.3 - Assembler messages

2009-04-19 Thread Mike Cripps

Apologies - I have tar gzipped the install log file and it is at:

http://www.irreverence.ath.cx/install.log.tar.gz (size is approx
116kB)

I am concerned about Bill Hart's suggestion that my machine could
believe it is 32bit - will the install log file be sufficient to
determine if this is the cause or can I give any more information?

Many Thanks
Mike

On Apr 19, 4:34 pm, mabshoff mabsh...@googlemail.com wrote:
 On Apr 19, 7:59 am, Mike Cripps agentica...@gmail.com wrote:

  Hi all,

 Hi Mike,

  I have been attempting to install Sage today from the source, and when
  I ran `make` I got the following output (after a lot of stuff compiled
  fine):

 SNIP

  ude -Wa,--noexecstack -g -O2 -MT mpih-add1-asm.lo -MD -MP -MF .deps/
  mpih-add1-asm.Tpo -c mpih-add1-asm.S  -fPIC -DPIC -o .libs/mpih-add1-
  asm.o
  mpih-add1-asm.S: Assembler messages:
  mpih-add1-asm.S:46: Error: bad register name `%rsi,%rcx,8)'
  mpih-add1-asm.S:47: Error: bad register name `%rdi,%rcx,8)'
  mpih-add1-asm.S:48: Error: bad register name `%rdx,%rcx,8)'
  mpih-add1-asm.S:49: Error: bad register name `%rcx'
  mpih-add1-asm.S:53: Error: bad register name `%rsi,%rcx,8)'
  mpih-add1-asm.S:54: Error: bad register name `%rdx,%rcx,8)'
  mpih-add1-asm.S:55: Error: bad register name `%r10'
  mpih-add1-asm.S:56: Error: bad register name `%rax'
  mpih-add1-asm.S:57: Error: bad register name `%rcx'
  mpih-add1-asm.S:60: Error: bad register name `%rcx'
  mpih-add1-asm.S:61: Error: bad register name `%rax'

 SNIP

  The machine is running Debian/Lenny, I can provide information on any
  installed packages if that will help.

  Please can you advise on how to proceed?

 Compress install.log and post a link to it. The above information is
 insufficient to determine what is happening, but my first guess would
 be some sort of tool chain problem. Googling around did not reveal
 anything helpful yet.

  Many thanks
  Mike Cripps

 Slightly OT: I will now change quote the appropriate part of the log
 since these days nearly no one gets that right :(

 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: Error building from Source on Linux - libgcrypt-1.4.3 - Assembler messages

2009-04-19 Thread mabshoff



On Apr 19, 8:55 am, Mike Cripps agentica...@gmail.com wrote:

Hi Mike,

 Apologies - I have tar gzipped the install log file and it is at:

 http://www.irreverence.ath.cx/install.log.tar.gz(size is approx
 116kB)

 I am concerned about Bill Hart's suggestion that my machine could
 believe it is 32bit - will the install log file be sufficient to
 determine if this is the cause or can I give any more information?

 Many Thanks
 Mike

Bill was right, the problem is 32 vs. 64 bit. You seem to be building
inside a Xen machine, i.e.

Linux irreverence 2.6.26-2-xen-amd64 #1 SMP Fri Mar 27 07:12:15 UTC
2009 x86_64 GNU/Linux


GCC Version
gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian
4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --
enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-
shared --with-system-zlib --libexecdir=/usr/lib --without-included-
gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/
usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --
enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-
targets=all --enable-cld --enable-checking=release --build=i486-linux-
gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1)

Could you post the output from /proc/cpuinfo please?

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: Error building from Source on Linux - libgcrypt-1.4.3 - Assembler messages

2009-04-19 Thread mabshoff



On Apr 19, 10:47 pm, mabshoff mabsh...@googlemail.com wrote:
 On Apr 19, 8:55 am, Mike Cripps agentica...@gmail.com wrote:

 Hi Mike,

SNIP

 Could you post the output from /proc/cpuinfo please?

Oops, I meant if the /proc/cpuinfo from the inside of the Xen
machine in case the above wasn't it already. I am also wondering if
the kernel is 32 or 64 bit since I am not sure what the virtulization
does kernel wise.

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
-~--~~~~--~~--~--~---