sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.3k stars 447 forks source link

error installing rubiks related to location of install #2287

Closed a97e9041-515b-4205-a103-5ea895151707 closed 16 years ago

a97e9041-515b-4205-a103-5ea895151707 commented 16 years ago
Log:
sizekoc1.c: In function ‘main’:
sizekoc1.c:134: warning: incompatible implicit declaration of built-in function ‘exit’
sizekoc1.c:153: warning: incompatible implicit declaration of built-in function ‘exit’
sizekoc1.c:230: warning: incompatible implicit declaration of built-in function ‘exit’
gcc -O -DLARGE_MEM -DVERBOSE -o sizekoc1 sizekoc1.o
size sizekoc1
   text    data     bss     dec     hex filename
  14622     296 82244256        82259174        4e72ce6 sizekoc1
gcc -O -DLARGE_MEM -DVERBOSE -DCCPERM -DIPERM -c sizekoc2.c
sizekoc2.c: In function ‘main’:
sizekoc2.c:171: warning: incompatible implicit declaration of built-in function ‘exit’sizekoc2.c:190: warning: incompatible implicit declaration of built-in function ‘exit’sizekoc2.c:267: warning: incompatible implicit declaration of built-in function ‘exit’
gcc -O -DLARGE_MEM -DVERBOSE -o sizekoc2 sizekoc2.o
size sizekoc2
   text    data     bss     dec     hex filename
  15212     296 409577600       409593108       1869e514        sizekoc2
make[3]: Leaving directory `/home/yqiang/Software/sage-2.10.2/spkg/build/rubiks-20070912.p2/src/dik'
make[3]: Entering directory `/home/yqiang/Software/sage-2.10.2/spkg/build/rubiks-20070912.p2/src/reid'
make[3]: Nothing to be done for `all'. 
make[3]: Leaving directory `/home/yqiang/Software/sage-2.10.2/spkg/build/rubiks-20070912.p2/src/reid'
mkdir -p /home/yqiang/Software/sage-2.10.2/local/bin
/usr/bin/install reid/optimal /home/yqiang/Software/sage-2.10.2/local/bin
make[2]: /usr/bin/install: Command not found
make[2]: *** [install] Error 127
make[2]: Leaving directory `/home/yqiang/Software/sage-2.10.2/spkg/build/rubiks-20070912.p2/src'

real    0m29.404s
user    0m28.275s
sys     0m1.107s
sage: An error occurred while installing rubiks-20070912.p2
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of

-------------------------

On my distribution 'install' is in /bin/install instead of /usr/bin/install. Maybe the script needs to check where 'install' actually is.

Component: packages: standard

Issue created by migration from https://trac.sagemath.org/ticket/2287

85eec1a4-3d04-4b4d-b711-d4db03337c41 commented 16 years ago

Description changed:

--- 
+++ 
@@ -1,3 +1,5 @@
+
+```
 Log:
 sizekoc1.c: In function ‘main’:
 sizekoc1.c:134: warning: incompatible implicit declaration of built-in function ‘exit’
@@ -32,8 +34,8 @@
 explaining the problem and send the relevant part of

----
-
+-------------------------
+```
 On my distribution 'install' is in /bin/install instead of /usr/bin/install. Maybe the script needs to check where 'install' actually is.
85eec1a4-3d04-4b4d-b711-d4db03337c41 commented 16 years ago
comment:3

An updated spkg can be found at

http://sage.math.washington.edu/home/mabshoff/release-cycles-2.11/alpha1/rubiks-20070912.p3.spkg

Changes:

162c99f1-4bb3-4235-b32b-a402a959eee0 commented 16 years ago
comment:4

Looks good to me.

85eec1a4-3d04-4b4d-b711-d4db03337c41 commented 16 years ago
comment:5

Merged in Sage 2.11.alpha1