Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble installing #1

Open
SUNGOLDSV opened this issue Jan 2, 2021 · 1 comment
Open

Trouble installing #1

SUNGOLDSV opened this issue Jan 2, 2021 · 1 comment

Comments

@SUNGOLDSV
Copy link

~/toshset master
❯ ./configure
loading cache ./config.cache
checking host system type... x86_64-pc-linux-gnu
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  -s) works... yes
checking whether the C compiler (gcc  -s) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
creating ./config.status
creating Makefile

Configure finished. Do 'make' to compile.

~/toshset master
❯ make
mkdir bin.Linux_5.4.86-1-ltsx86_64
cd bin.Linux_5.4.86-1-ltsx86_64; make -f ../Makefile ARCHDEP=TRUE arch-all
make[1]: Entering directory '/home/sungold/toshset/bin.Linux_5.4.86-1-ltsx86_64'
gcc -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE -M ../kernelInterface.c >kernelInterface.d
gcc -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE -M ../wildmat.c >wildmat.d
gcc -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE -M ../hci.c >hci.d
gcc -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE -M ../sci.c >sci.d
g++ -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE -DCPLUSPLUS -M ../cdsMath.cc >cdsMath.d
g++ -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE -DCPLUSPLUS -M ../cdsSStream.cc >cdsSStream.d
g++ -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE -DCPLUSPLUS -M ../toshibaIDs.cc >toshibaIDs.d
g++ -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE -DCPLUSPLUS -M ../cdsString.cc >cdsString.d
g++ -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE -DCPLUSPLUS -M ../cdsList.cc >cdsList.d
g++ -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE -DCPLUSPLUS -M ../toshset.cc >toshset.d
gcc -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE \
	-DVERSION=\"1.76\" -DBINDIR=\"/usr/local/bin\" -c ../sci.c
../sci.c:100:19: warning: ‘rcsid’ defined but not used [-Wunused-const-variable=]
  100 | static const char rcsid[]="$Id: sci.c,v 1.9 2004-04-30 18:18:36 schwitrs Exp $";
      |                   ^~~~~
gcc -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE \
	-DVERSION=\"1.76\" -DBINDIR=\"/usr/local/bin\" -c ../hci.c
../hci.c:60:19: warning: ‘rcsid’ defined but not used [-Wunused-const-variable=]
   60 | static const char rcsid[]="$Id: hci.c,v 1.7 2004-04-20 20:42:21 schwitrs Exp $";
      |                   ^~~~~
gcc -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE \
	-DVERSION=\"1.76\" -DBINDIR=\"/usr/local/bin\" -c ../wildmat.c
gcc -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE \
	-DVERSION=\"1.76\" -DBINDIR=\"/usr/local/bin\" -c ../kernelInterface.c
g++ -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE -DCPLUSPLUS \
	-DVERSION=\"1.76\" -DBINDIR=\"/usr/local/bin\" -c ../toshset.cc
g++ -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE -DCPLUSPLUS \
	-DVERSION=\"1.76\" -DBINDIR=\"/usr/local/bin\" -c ../cdsList.cc
g++ -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE -DCPLUSPLUS \
	-DVERSION=\"1.76\" -DBINDIR=\"/usr/local/bin\" -c ../cdsString.cc
g++ -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE -DCPLUSPLUS \
	-DVERSION=\"1.76\" -DBINDIR=\"/usr/local/bin\" -c ../toshibaIDs.cc
g++ -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE -DCPLUSPLUS \
	-DVERSION=\"1.76\" -DBINDIR=\"/usr/local/bin\" -c ../cdsSStream.cc
g++ -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE -DCPLUSPLUS \
	-DVERSION=\"1.76\" -DBINDIR=\"/usr/local/bin\" -c ../cdsMath.cc
ln -s ../direct64.c direct.c
gcc -Wall -DLINUX  -I.. -DUSE_KERNEL_INTERFACE \
	-DVERSION=\"1.76\" -DBINDIR=\"/usr/local/bin\" -c direct.c
g++ -s -g -o toshset sci.o hci.o wildmat.o kernelInterface.o toshset.o cdsList.o cdsString.o toshibaIDs.o cdsSStream.o cdsMath.o direct.o
make[1]: Leaving directory '/home/sungold/toshset/bin.Linux_5.4.86-1-ltsx86_64'
cd bin.Linux_5.4.86-1-ltsx86_64; make -f ../Makefile ARCHDEP=TRUE all
make[1]: Entering directory '/home/sungold/toshset/bin.Linux_5.4.86-1-ltsx86_64'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/sungold/toshset/bin.Linux_5.4.86-1-ltsx86_64'

~/toshset master
❯ sudo make install
[sudo] password for sungold:
cd bin.Linux_5.4.86-1-ltsx86_64; make -f ../Makefile ARCHDEP=TRUE install
make[1]: Entering directory '/home/sungold/toshset/bin.Linux_5.4.86-1-ltsx86_64'
/pm/sleep.d/
make[1]: /pm/sleep.d/: No such file or directory
make[1]: *** [../Makefile:308: install] Error 127
make[1]: Leaving directory '/home/sungold/toshset/bin.Linux_5.4.86-1-ltsx86_64'
make: *** [Makefile:257: install] Error 2
@tatokis
Copy link
Owner

tatokis commented Jan 2, 2021

The install target never really worked, nor do I feel it's worth investing time in fixing it.
Just run the binary directly /home/sungold/toshset/bin.Linux_5.4.86-1-ltsx86_64 or copy it to /usr/local/bin/ and rename it to something more sensible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants