Paul Gress wrote: > Hi all, > > I have snv93 installed on my laptop and having trouble installing some > additional software. The software has an install script that uses the > command "uname -p" to determine if sparc of i386. Well on my laptop > this command returns nothing, as in blank output. Does anybody know > where this information is stored or accessed or how ti fix this > problem. Because of this I cannot install the software. I also cannot > edit the install script as there is to much binary data. > > Thanks for any help, > OK, digging a little deeper using the truss command it appears sysinfo(2) has the information.
On my Sparc machine it returns: sysinfo(SI_ARCHITECTURE, "sparc", 257) On my laptop (X64) it returns: sysinfo(SI_ARCHITECTURE, "", 257) So now the question is how do I get sysinfo to output the correct info (i386). Paul _______________________________________________ opensolaris-help mailing list [email protected]
