can't seem to install gmp 6.1.2? -
gijoe77 - 09-15-2018
ok so I am baffled! I compiled gmp-6.1.2, "gmake check" passed, but I can't install it, "gmake install" is failing. Here are the details:
Code:
export CC=cc
export CXX=CC
export CFLAGS="-c99 -g0 -O2 -mips4"
export CXXFLAGS=" -g0 -O2 -mips4"
./configure --prefix=/usr/local
gmake
<snip> # no errors
gmake check
<snip> # All tests pass
gmake install
<snip>
./install-sh -c -d '/usr/local/lib'
/bin/ksh ./libtool --mode=install /usr/bin/install -c libgmp.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
/usr/bin/install: can't open libgmp.so.11.2: No such file or directory.
gmake[3]: *** [install-libLTLIBRARIES] Error 2
so its failing on the line "
/usr/bin/install -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2"
the file " .libs/libgmp.so.11.2" is there and is readable, and I can actually just use "cp" to copy it, I tried to edit the Makefile but its a bit too confusing to me atm, it seems there is a list of files it is processing and I'm still trying to get this libtool thing sorted. Anyone have any ideas why the copy is failing? Here is some more info on the file in question:
Code:
-bash-4.2# file .libs/libgmp.so.11.2
.libs/libgmp.so.11.2: ELF N32 MSB mips-4 dynamic lib MIPS - version 1
-bash-4.2# ls -la .libs/libgmp.so.11.2
-rwxr-xr-x 1 develop user 1010632 Sep 14 10:09 .libs/libgmp.so.11.2
-bash-4.2# /usr/bin/install -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
/usr/bin/install: can't open libgmp.so.11.2: No such file or directory.
RE: can't seem to install gmp 6.1.2? -
gijoe77 - 09-16-2018
ok, so I was able to unspaghetti the Makefile a bit, it seems the true problem is with something with libtool and/or /usr/bin/install (I copied /sbin/install to /usr/bin just to save myself some headaches).
this command works
Code:
/usr/bin/install -c .libs/libgmp.so.11.2 /usr/local/lib
but for some reason the filename gets appended to the end $libdir variable. I actually ran into this before - I noticed that "install" on my o2 (running 6.5.22) has behaved differently that the "install" on my Tezro (6.5.30), I'm not sure why
edit: I checked all the variables in the Makefile one by one (I echo'd them in a little debug hacking) and nothing appears to wrong with the variables - looking a bit deeper maybe its something with the libtool script, when I run this command manually it fails.
Code:
-bash-4.2# /bin/ksh ./libtool --mode=install /usr/bin/install -c libgmp.la /usr/local/lib
libtool: install: /usr/bin/install -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
/usr/bin/install: can't open libgmp.so.11.2: No such file or directory.
I looked at the ./libtool script, uffa! 11k lines!
edit 2: ok, so I just compiled this on my Tezro and everything installed fine.
this command works just fine on the Tezro but not the o2
Code:
/usr/bin/install -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
so for whatever reason install behaves different on both systems. I copied over the install binary from the Tezro to my o2 but it still gives the same error. I'm just gonna throw in the towel for now and I'm gonna comment out the "install-libLTLIBRARIES" section of the Makefile and copy the libs manually.
for anyone else that runs into this (I can't be the only one right?), here is what /usr/local/lib should look like:
Code:
-rw-r--r-- 1 root sys 2184420 Sep 14 14:50 libgmp.a
-rwxr-xr-x 1 root sys 921 Sep 14 14:50 libgmp.la
lrwxr-xr-x 1 root sys 14 Sep 14 14:50 libgmp.so -> libgmp.so.11.2
lrwxr-xr-x 1 root sys 14 Sep 14 14:50 libgmp.so.11 -> libgmp.so.11.2
-rwxr-xr-x 1 root sys 1010632 Sep 14 14:50 libgmp.so.11.2
RE: can't seem to install gmp 6.1.2? - mrthinlysliced - 09-16-2018
(09-15-2018, 09:50 PM)gijoe77 Wrote: Code:
./install-sh -c -d '/usr/local/lib'
/bin/ksh ./libtool --mode=install /usr/bin/install -c libgmp.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
/usr/bin/install: can't open libgmp.so.11.2: No such file or directory.
gmake[3]: *** [install-libLTLIBRARIES] Error 2
At a guess the permissions / issue is with the destination file - maybe you'd run a previous "gmake install" as root and now your user can't?
Aside: I'd strongly advise against manually copying things like the "install" into "/usr/bin/install" - if you have to manually force things like that you're avoiding the real issue, and now potentially you've got another hidden problem there at some point.
For what it's worth I originally started out my IRIX dev bits like this too, but I found it too difficult to reproduce exactly the same build and errors or issues when I'd been manually setting things and copying around. That's how I fell on the path of building my didbs thing.
RE: can't seem to install gmp 6.1.2? -
TruHobbyist - 09-16-2018
Hi gijoe77!!!
My thoughts on this:
1. libtool script can be tracked down easily to the point where it executes "install" commands. It actually only supports 4 or 5 commands (compiling objects, linking libraries, linking executables, installing files and maybe a few others). The "mode" argument should be a keyword to search in the script.
2. Use -v flag for install:
/usr/bin/install -v -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
This prints exactly how the source and the target files are named.
3. Try par. Haven't seen many people here (nor on nekochan) using this powerful tool, I do on a regular basis for debugging. Try this:
par -sSSi -o install.par /usr/bin/install -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
-s is for collecting syscalls
-SS is for one line summaries and traces of syscalls (syscall name, arguments, possible errors and return values)
-i if the executable you are tracing forks, keep tracing the new child
-o output syscall summaries to this file for later inspection instead of spitting it out to stdout
When done, open install.par with a text editor (I use vi) and take a look at the relevant syscalls. Or post it here so we can all take a look.
Good luck!
RE: can't seem to install gmp 6.1.2? -
jpstewart - 09-16-2018
FWIW, I vaguely recall having problems with "install" due to differences between the native IRIX version and GNU- or BSD-style "install". Certain options may behave differently on IRIX than what the Makefile/libtool assume.
Also be sure to read the man page for IRIX install, since there are a couple of environment variables that can be set to radically alter its behaviour (mainly for building tardists). You'll want to be sure those are unset on your development system.
In short, "install" can be a whole can of worms....
RE: can't seem to install gmp 6.1.2? -
gijoe77 - 09-22-2018
(09-16-2018, 10:31 AM)TruHobbyist Wrote: Hi gijoe77!!!
My thoughts on this:
1. libtool script can be tracked down easily to the point where it executes "install" commands. It actually only supports 4 or 5 commands (compiling objects, linking libraries, linking executables, installing files and maybe a few others). The "mode" argument should be a keyword to search in the script.
2. Use -v flag for install:
/usr/bin/install -v -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
This prints exactly how the source and the target files are named.
3. Try par. Haven't seen many people here (nor on nekochan) using this powerful tool, I do on a regular basis for debugging. Try this:
par -sSSi -o install.par /usr/bin/install -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
-s is for collecting syscalls
-SS is for one line summaries and traces of syscalls (syscall name, arguments, possible errors and return values)
-i if the executable you are tracing forks, keep tracing the new child
-o output syscall summaries to this file for later inspection instead of spitting it out to stdout
When done, open install.par with a text editor (I use vi) and take a look at the relevant syscalls. Or post it here so we can all take a look.
Good luck!
ok so here is what the "gmake install" spits out and what I was able to figure out from the par output (seems it doesn't parse the "./libs/$1" or whatever its doing, or so it seems to me)
Code:
-bash-4.2# cd /usr/people/develop/dev/gmp/gmp-6.1.2
-bash-4.2# gmake install
<snip>
gmake[3]: Entering directory `/usr/people/develop/dev/gmp/gmp-6.1.2'
./install-sh -c -d '/usr/local/lib'
/bin/ksh ./libtool --mode=install /usr/bin/install -c libgmp.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
/usr/bin/install: can't open libgmp.so.11.2: No such file or directory.
gmake[3]: *** [install-libLTLIBRARIES] Error 2
gmake[3]: Leaving directory `/usr/people/develop/dev/gmp/gmp-6.1.2'
gmake[2]: *** [install-am] Error 2
gmake[2]: Leaving directory `/usr/people/develop/dev/gmp/gmp-6.1.2'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/usr/people/develop/dev/gmp/gmp-6.1.2'
gmake: *** [install] Error 2
-bash-4.2#
-bash-4.2# par -sSSi -o install.par /usr/bin/install -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
/usr/bin/install: can't open libgmp.so.11.2: No such file or directory.
-bash-4.2# cd .libs
-bash-4.2# /usr/bin/install -c ./libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
-bash-4.2#
here is the install.par output:
Code:
0mS (338914): was sent signal SIGUSR1
0mS par(338914): received signal SIGUSR1 (handler 0x10002aa8)
0mS par(338914): END-pause() errno = 4 (Interrupted function call)
0mS par(338914): sigreturn(0x7ffb7af0) OK
0mS install(338914): execve("/usr/bin/install", 0x7ffb7f64, 0x7ffb7f78)
11mS install(338914): END-execve() OK
11mS install(338914): sysconf(_SC_CAP) = 1
11mS install(338914): syssgi(SGI_PROC_ATTR_GET, 0xfb44730, 0x7ffb7ee0, 0, 0, 0) = 0
11mS install(338914): getuid() = 0, euid=0
11mS install(338914): open("/lib32/rld", O_RDONLY, 04) = 4
11mS install(338914): read(4, <7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00>..., 512) = 512
12mS install(338914): elfmap(4, 0x7ffb7d74, 2) = 0xfb60000
12mS install(338914): close(4) OK
12mS install(338914): getpagesize() = 4096
12mS install(338914): open("/dev/zero", O_RDONLY, 03700) = 4
12mS install(338914): mmap(0xfbd7000, 36864, PROT_WRITE|PROT_READ, MAP_PRIVATE, 4, 0) = 0xfbd7000
12mS install(338914): close(4) OK
12mS install(338914): syssgi(0x5c, 0, 0x3d, 0, 0xfbd61b1, 0x52) = 0
13mS install(338914): sysinfo(_MIPS_SI_PROCESSORS, 0x7ffb7dc0, 257) = 11
26mS install(338914): syssgi(SGI_TOSSTSAVE) OK
26mS install(338914): getuid() = 0, euid=0
27mS install(338914): stat(".libs/libgmp.so.11.2", 0x7ffb73f0) OK
27mS install(338914): stat("/usr/local/lib/libgmp.so.11.2", 0x7ffb73f0) OK
27mS install(338914): stat("/usr/local/lib/libgmp.so.11.2", 0x7ffb7410) OK
27mS install(338914): stat("/usr/local/lib/libgmp.so.11.2", 0x7ffb73f0) OK
27mS install(338914): getpagesize() = 4096
27mS install(338914): brk(0x1000b000) OK
27mS install(338914): umask(0) = 022
28mS install(338914): stat("/etc/passwd", 0x7ffb73e0) OK
28mS install(338914): open("/var/ns/cache/passwd.byname", O_RDONLY, 0400) = 4
28mS install(338914): fstat(4, 0x7ffb68f0) OK
28mS install(338914): mmap(0, 65536, PROT_READ, MAP_SHARED, 4, 0) = 0x4000000
28mS install(338914): close(4) OK
28mS install(338914): syssgi(SGI_USE_FP_BCOPY, 0x4008004, 0x3d, 0xffffffff, 0x1, 0x7e) = 0
28mS install(338914): time() = 1537505414
28mS install(338914): stat("/etc/shadow", 0x7ffb72a0) OK
28mS install(338914): open("/var/ns/cache/shadow.byname", O_RDONLY, 0400) = 4
29mS install(338914): fstat(4, 0x7ffb67b0) OK
29mS install(338914): mmap(0, 65536, PROT_READ, MAP_SHARED, 4, 0) = 0x4010000
29mS install(338914): close(4) OK
29mS install(338914): time() = 1537505414
29mS install(338914): brk(0x1000f000) OK
29mS install(338914): stat("/etc/group", 0x7ffb7410) OK
29mS install(338914): open("/var/ns/cache/group.byname", O_RDONLY, 0400) = 4
29mS install(338914): fstat(4, 0x7ffb6920) OK
29mS install(338914): mmap(0, 65536, PROT_READ, MAP_SHARED, 4, 0) = 0x4020000
29mS install(338914): close(4) OK
29mS install(338914): time() = 1537505414
30mS install(338914): stat("/usr/local/lib", 0x7ffb7470) OK
30mS install(338914): lstat("/usr/local/lib/libgmp.so.11.2", 0x7ffb5a40) OK
30mS install(338914): open("libgmp.so.11.2", O_RDONLY, 017776655100) errno = 2 (No such file or directory)
30mS install(338914): write(2, "/usr/bin/install", 16) = 16
31mS install(338914): write(2, ": ", 2) = 2
32mS install(338914): write(2, "can't open ", 11) = 11
32mS install(338914): write(2, "libgmp.so.11.2", 14) = 14
32mS install(338914): syssgi(0x5c, 0x1, 0, 0x2f, 0x1000eb38, 0x1000eb53) = 0
32mS install(338914): stat("/usr/lib/locale/C/LC_MESSAGES/uxsyserr", 0x7ffb58b0) errno = 2 (No such file or directory)
32mS install(338914): stat("/usr/lib/locale/C/Xopen/LC_MESSAGES/uxsyserr", 0x7ffb58b0) errno = 2 (No such file or directory)
33mS install(338914): stat("/usr/lib/locale/C/LC_MESSAGES/uxsyserr.cat", 0x7ffb58b0) errno = 2 (No such file or directory)
33mS install(338914): write(2, ": No suc", 8) = 8
33mS install(338914): write(2, "h file or directory", 19) = 19
33mS install(338914): write(2, ".\n", 2) = 2
33mS install(338914): prctl(PR_LASTSHEXIT) = 1
33mS install(338914): exit(2)
System call summary:
Average Total
Name #Calls Time(ms) Time(ms)
-----------------------------------------
execve 1 10.96 10.96
stat 11 0.08 0.90
syssgi 5 0.16 0.80
open 6 0.12 0.74
write 7 0.07 0.48
mmap 4 0.06 0.24
elfmap 1 0.22 0.22
read 1 0.09 0.09
close 5 0.02 0.08
lstat 1 0.05 0.05
brk 2 0.02 0.04
fstat 3 0.01 0.03
sigreturn 1 0.02 0.02
sysinfo 1 0.02 0.02
getpagesize 2 0.01 0.01
time 3 0.00 0.01
sysconf 1 0.01 0.01
prctl 1 0.01 0.01
umask 1 0.01 0.01
getuid 2 0.00 0.01
exit 1 0.00 0.00
RE: can't seem to install gmp 6.1.2? -
TruHobbyist - 09-22-2018
(09-22-2018, 10:00 AM)gijoe77 Wrote: (09-16-2018, 10:31 AM)TruHobbyist Wrote: Hi gijoe77!!!
My thoughts on this:
1. libtool script can be tracked down easily to the point where it executes "install" commands. It actually only supports 4 or 5 commands (compiling objects, linking libraries, linking executables, installing files and maybe a few others). The "mode" argument should be a keyword to search in the script.
2. Use -v flag for install:
/usr/bin/install -v -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
This prints exactly how the source and the target files are named.
3. Try par. Haven't seen many people here (nor on nekochan) using this powerful tool, I do on a regular basis for debugging. Try this:
par -sSSi -o install.par /usr/bin/install -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
-s is for collecting syscalls
-SS is for one line summaries and traces of syscalls (syscall name, arguments, possible errors and return values)
-i if the executable you are tracing forks, keep tracing the new child
-o output syscall summaries to this file for later inspection instead of spitting it out to stdout
When done, open install.par with a text editor (I use vi) and take a look at the relevant syscalls. Or post it here so we can all take a look.
Good luck!
ok so here is what the "gmake install" spits out and what I was able to figure out from the par output (seems it doesn't parse the "./libs/$1" or whatever its doing, or so it seems to me)
Code:
-bash-4.2# cd /usr/people/develop/dev/gmp/gmp-6.1.2
-bash-4.2# gmake install
<snip>
gmake[3]: Entering directory `/usr/people/develop/dev/gmp/gmp-6.1.2'
./install-sh -c -d '/usr/local/lib'
/bin/ksh ./libtool --mode=install /usr/bin/install -c libgmp.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
/usr/bin/install: can't open libgmp.so.11.2: No such file or directory.
gmake[3]: *** [install-libLTLIBRARIES] Error 2
gmake[3]: Leaving directory `/usr/people/develop/dev/gmp/gmp-6.1.2'
gmake[2]: *** [install-am] Error 2
gmake[2]: Leaving directory `/usr/people/develop/dev/gmp/gmp-6.1.2'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/usr/people/develop/dev/gmp/gmp-6.1.2'
gmake: *** [install] Error 2
-bash-4.2#
-bash-4.2# par -sSSi -o install.par /usr/bin/install -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
/usr/bin/install: can't open libgmp.so.11.2: No such file or directory.
-bash-4.2# cd .libs
-bash-4.2# /usr/bin/install -c ./libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
-bash-4.2#
here is the install.par output:
Code:
0mS (338914): was sent signal SIGUSR1
0mS par(338914): received signal SIGUSR1 (handler 0x10002aa8)
0mS par(338914): END-pause() errno = 4 (Interrupted function call)
0mS par(338914): sigreturn(0x7ffb7af0) OK
0mS install(338914): execve("/usr/bin/install", 0x7ffb7f64, 0x7ffb7f78)
11mS install(338914): END-execve() OK
11mS install(338914): sysconf(_SC_CAP) = 1
11mS install(338914): syssgi(SGI_PROC_ATTR_GET, 0xfb44730, 0x7ffb7ee0, 0, 0, 0) = 0
11mS install(338914): getuid() = 0, euid=0
11mS install(338914): open("/lib32/rld", O_RDONLY, 04) = 4
11mS install(338914): read(4, <7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00>..., 512) = 512
12mS install(338914): elfmap(4, 0x7ffb7d74, 2) = 0xfb60000
12mS install(338914): close(4) OK
12mS install(338914): getpagesize() = 4096
12mS install(338914): open("/dev/zero", O_RDONLY, 03700) = 4
12mS install(338914): mmap(0xfbd7000, 36864, PROT_WRITE|PROT_READ, MAP_PRIVATE, 4, 0) = 0xfbd7000
12mS install(338914): close(4) OK
12mS install(338914): syssgi(0x5c, 0, 0x3d, 0, 0xfbd61b1, 0x52) = 0
13mS install(338914): sysinfo(_MIPS_SI_PROCESSORS, 0x7ffb7dc0, 257) = 11
26mS install(338914): syssgi(SGI_TOSSTSAVE) OK
26mS install(338914): getuid() = 0, euid=0
27mS install(338914): stat(".libs/libgmp.so.11.2", 0x7ffb73f0) OK
27mS install(338914): stat("/usr/local/lib/libgmp.so.11.2", 0x7ffb73f0) OK
27mS install(338914): stat("/usr/local/lib/libgmp.so.11.2", 0x7ffb7410) OK
27mS install(338914): stat("/usr/local/lib/libgmp.so.11.2", 0x7ffb73f0) OK
27mS install(338914): getpagesize() = 4096
27mS install(338914): brk(0x1000b000) OK
27mS install(338914): umask(0) = 022
28mS install(338914): stat("/etc/passwd", 0x7ffb73e0) OK
28mS install(338914): open("/var/ns/cache/passwd.byname", O_RDONLY, 0400) = 4
28mS install(338914): fstat(4, 0x7ffb68f0) OK
28mS install(338914): mmap(0, 65536, PROT_READ, MAP_SHARED, 4, 0) = 0x4000000
28mS install(338914): close(4) OK
28mS install(338914): syssgi(SGI_USE_FP_BCOPY, 0x4008004, 0x3d, 0xffffffff, 0x1, 0x7e) = 0
28mS install(338914): time() = 1537505414
28mS install(338914): stat("/etc/shadow", 0x7ffb72a0) OK
28mS install(338914): open("/var/ns/cache/shadow.byname", O_RDONLY, 0400) = 4
29mS install(338914): fstat(4, 0x7ffb67b0) OK
29mS install(338914): mmap(0, 65536, PROT_READ, MAP_SHARED, 4, 0) = 0x4010000
29mS install(338914): close(4) OK
29mS install(338914): time() = 1537505414
29mS install(338914): brk(0x1000f000) OK
29mS install(338914): stat("/etc/group", 0x7ffb7410) OK
29mS install(338914): open("/var/ns/cache/group.byname", O_RDONLY, 0400) = 4
29mS install(338914): fstat(4, 0x7ffb6920) OK
29mS install(338914): mmap(0, 65536, PROT_READ, MAP_SHARED, 4, 0) = 0x4020000
29mS install(338914): close(4) OK
29mS install(338914): time() = 1537505414
30mS install(338914): stat("/usr/local/lib", 0x7ffb7470) OK
30mS install(338914): lstat("/usr/local/lib/libgmp.so.11.2", 0x7ffb5a40) OK
30mS install(338914): open("libgmp.so.11.2", O_RDONLY, 017776655100) errno = 2 (No such file or directory)
30mS install(338914): write(2, "/usr/bin/install", 16) = 16
31mS install(338914): write(2, ": ", 2) = 2
32mS install(338914): write(2, "can't open ", 11) = 11
32mS install(338914): write(2, "libgmp.so.11.2", 14) = 14
32mS install(338914): syssgi(0x5c, 0x1, 0, 0x2f, 0x1000eb38, 0x1000eb53) = 0
32mS install(338914): stat("/usr/lib/locale/C/LC_MESSAGES/uxsyserr", 0x7ffb58b0) errno = 2 (No such file or directory)
32mS install(338914): stat("/usr/lib/locale/C/Xopen/LC_MESSAGES/uxsyserr", 0x7ffb58b0) errno = 2 (No such file or directory)
33mS install(338914): stat("/usr/lib/locale/C/LC_MESSAGES/uxsyserr.cat", 0x7ffb58b0) errno = 2 (No such file or directory)
33mS install(338914): write(2, ": No suc", 8) = 8
33mS install(338914): write(2, "h file or directory", 19) = 19
33mS install(338914): write(2, ".\n", 2) = 2
33mS install(338914): prctl(PR_LASTSHEXIT) = 1
33mS install(338914): exit(2)
System call summary:
Average Total
Name #Calls Time(ms) Time(ms)
-----------------------------------------
execve 1 10.96 10.96
stat 11 0.08 0.90
syssgi 5 0.16 0.80
open 6 0.12 0.74
write 7 0.07 0.48
mmap 4 0.06 0.24
elfmap 1 0.22 0.22
read 1 0.09 0.09
close 5 0.02 0.08
lstat 1 0.05 0.05
brk 2 0.02 0.04
fstat 3 0.01 0.03
sigreturn 1 0.02 0.02
sysinfo 1 0.02 0.02
getpagesize 2 0.01 0.01
time 3 0.00 0.01
sysconf 1 0.01 0.01
prctl 1 0.01 0.01
umask 1 0.01 0.01
getuid 2 0.00 0.01
exit 1 0.00 0.00
Hi gijoe77, here we go again...
Looks like the prepended .libs is ignored for some reason. If you look at the line:
libtool: install: /usr/bin/install -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
the libgmp.so.11.2 is stored under .libs but the par output suggests that no chdir syscall is done to .libs.
Well, I would say for some reason the IRIX install ignores all but the filename of its first argument thus looking for the file in the current directory. To check for this, try:
-bash-4.2# cp .libs/libgmp.so.11.2 .
-bash-4.2# /usr/bin/install -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
If this works (i.e. it doesn't yell about not finding the library), then install effectively ignores the directory for some reason and should be further debugged.
You could also check again with par which would then give output like:
30mS install(338914): open("libgmp.so.11.2", O_RDONLY, 017776655100) = 4
Regards,
Tru
RE: can't seem to install gmp 6.1.2? -
gijoe77 - 09-23-2018
(09-22-2018, 11:29 AM)TruHobbyist Wrote: Hi gijoe77, here we go again...
Looks like the prepended .libs is ignored for some reason. If you look at the line:
libtool: install: /usr/bin/install -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
the libgmp.so.11.2 is stored under .libs but the par output suggests that no chdir syscall is done to .libs.
Well, I would say for some reason the IRIX install ignores all but the filename of its first argument thus looking for the file in the current directory. To check for this, try:
-bash-4.2# cp .libs/libgmp.so.11.2 .
-bash-4.2# /usr/bin/install -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2
If this works (i.e. it doesn't yell about not finding the library), then install effectively ignores the directory for some reason and should be further debugged.
You could also check again with par which would then give output like:
30mS install(338914): open("libgmp.so.11.2", O_RDONLY, 017776655100) = 4
Regards,
Tru
if I do a "cd .libs; /usr/bin/install -c ./libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2" it works
if I do a "cp .libs/libgmp.so.11.2 .; /usr/bin/install -c .libs/libgmp.so.11.2 /usr/local/lib/libgmp.so.11.2" it works
I just said fuck this shit and downloaded and built coreutils-8.30 (BTW thank you mrthinlysliced, I used the patch notes on the didbs page)
I then copied /usr/local/bin/install to /usr/bin/install and everything is working fine now. For whatever reason the IRIX /sbin/install doesn't seem to work right on my o2 system.
BTW the coreutils-8.30 "gmake check" seems to get hung on the "tests/misc/seq.pl" test. Not sure if that means there is a bug in the tests or if something is broken with coreutils, but whatevs, pushing forward
RE: can't seem to install gmp 6.1.2? - mrthinlysliced - 09-23-2018
(09-23-2018, 05:19 AM)gijoe77 Wrote: BTW the coreutils-8.30 "gmake check" seems to get hung on the "tests/misc/seq.pl" test. Not sure if that means there is a bug in the tests or if something is broken with coreutils, but whatevs, pushing forwar
The coreutils "configure" requires a few parameters to be set for SGI behaviour of some things.
See here:
https://github.com/danielhams/didbs/blob/master/packages/coreutils/configureit
Basically you want to launch configure with:
Code:
gl_cv_func_select_supports0=no gl_cv_func_select_detects_ebadf=no gl_cv_func_strtod_works=no gl_cv_func_c99_strtold=no utils_cv_xlc=no ./configure --prefix=$INSTALLDIR
It doesn't fix everything in the tests, but does fix that seq issue you mention.
The list of issues I'm aware of (with 8.29) are here:
https://github.com/danielhams/didbs/blob/master/packages/coreutils/knownbugs
RE: can't seem to install gmp 6.1.2? -
gijoe77 - 09-23-2018
I saw those in your notes, but I wasn't sure what they were so I sort of noted them but ignored them at the same time. I was planning on doubling back and figuring out why you do these things, my newbness tires still needs some more milage
right now I'm trying to compile ncruses-6.1 and python-2.7.15, what a pain
edit: ignored them in the sense that I'm trying to learn and I want to understand what I'm doing when I do it, typically when I run into an error I'll try to see if I can fix it, If I don't have the insight or knowledge I'll look at the patch notes, if I see some other not-yet-used patches, I wait to see If I can figure out why you patched what you did. If everything passes and I get the compile done I sort of make a note of it and move on to the next 200 projects I have lined up

I will circle back soon!