clarification

You said:
Did the 'configure' and 'make' go ok? Sounds like its running the .so files I compiled on Knoppix which wouldn't be compatible with Ubuntu.

--
My response:
How do i keep it from running the .so files if I try to use a different ilnux than knoppix?

are you saying that i can

oops

i automatically download the

oops

how do i keep it from

how do i keep it from running the .so files when i do comfigure and make.
and how do i runit2? is this python?

If not yet done, configure

i tried using this to get runit going.


Create the following directories and symbolic links:

# mkdir -p /etc/runit/runsvdir/default
# mkdir -p /etc/runit/runsvdir/single
# ln -s /etc/sv/getty-5 /etc/runit/runsvdir/single/
# ln -s default /etc/runit/runsvdir/current

Copy the contents of /var/service/ to /etc/runit/runsvdir/current/ and replace /var/service/ with a symbolic link:

# cp -pR /var/service/* /etc/runit/runsvdir/current/
# mv -f /var/service /var/service.old && ln -s /etc/runit/runsvdir/current /var/service

You have now created two runlevels: default and single. The current runlevel is default. It is safe to remove /var/service.old/ if you don't need it anymore.


this is what the comp said

@ubuntu:~$ mkdir -p /etc/runit/runsvdir/default
@ubuntu:~$ mkdir -p /etc/runit/runsvdir/single
@ubuntu:~$ ln -s /etc/sv/getty-5 /etc/runit/runsvdir/single/
ln: creating symbolic link `/etc/runit/runsvdir/single/getty-5' to `/etc/sv/getty-5': File exists
@ubuntu:~$ ln -s default /etc/runit/runsvdir/current
ln: creating symbolic link `/etc/runit/runsvdir/current/default' to `default': Permission denied
@ubuntu:~$ cp -pR /var/service/* /etc/runit/runsvdir/current/
cp: cannot stat `/var/service/*': No such file or directory


what do i do to configure my system to get runit going? and
what do i need to avoid activating the .so files when i configure and make the swlpc folder?

I'm unsure what you are

I'm unsure what you are doing. What are you doing with symbolic links? Also not sure what you mean by 'activating the .so files'.

What happens when you type 'gcc' in Ubuntu? Does it say its unrecognized? Could be that Ubuntu doesnt have 'gcc' therefore when you configure and make it doesnt work.

A suggestion I'd make before starting with SWLPC is to get this extremely simple C program (the hello.c one - stuff before 'The Code') to compile and run at:

http://web.cecs.pdx.edu/~bjorn/CS200/linux_tutorial/

I don't think you understand the basics yet regarding Linux and the above might help.

i automatically download the

i automatically download the gcc compiler. (learned from past attempts that this is a missing feature on ubuntu). i think it's
sudo apt-get install gcc build-essential
or something like that, anyway.

you had mentioned in an earlier post that you thought perhaps when i used configure and make and tried to runit2, that i had somehow activated the ".so files" from your knoppix build that wouldn't be compatible with ubuntu. so if i'm going to use ubuntu, i need to know how to avoid activating the .so files. :)

as far as the symbollic links, i believe the info was trying to explain how to install runit on the version of linux you're working with (in this case, the version i'm working with). runit is not listed as a usable feature on ubuntu, it's there as a package, but it isn't marked with the little ubuntu symbol, which typically means you either have other steps you need to take to install it, or something else is wrong. ubuntu runit, runit run and runit series, are all the same, they have no direct ubuntu install (and neither does rungetty). other events must transpire first, to prepare the computer to use them, i'm assuming.

do you happen to know what those would be?

This is the result of

This is the result of running configure and make on the swlpc folder

@ubuntu:~/Desktop/swlpcsourceforge$ ./configure --host='i686-pc-linux
>
> ./make --host='i686-pc-linux

( i edited out some of it so you could see where the error occured, quicker)

creating ./config.status
./config.status: 19: ./make: not found
./config.status: 22: ./make: not found
./config.status: 39: ./make: not found
exit: 39: Illegal number: 1 1 2 15

  1. Protect against being on the right side of a sed subst in config.status.

sed s/%@/@@/

======================

I added more gcc packages and this was the result, different config.status numbers, same error message ./make: not found:

./config.status: 18: ./make: not found
./config.status: 20: ./make: not found
./config.status: 36: ./make: not found
exit: 36: Illegal number: 1 1 2 15

  1. Protect against being on the right side of a sed subst in config.status.

sed s/%@/@@/

========

seems ./make has a few problems

ah some progressisvi'rm

ah some progress

isvi'
rm -f *.o
rm -f elvis?.uue
rm -f elvis?.sh
rm -f core
rm -f linkelv.unx
make[1]: Leaving directory `Desktop/swlpcsourceforge/extprog/elvisvi'
make[1]: Entering directory `Desktop/swlpcsourceforge/extprog/elvisvi'
gcc -DNO_SHIFT_FKEYS -O2 -c -o blk.o blk.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o cmd1.o cmd1.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o cmd2.o cmd2.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o ctype.o ctype.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o curses.o curses.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o cut.o cut.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o ex.o ex.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o input.o input.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o main.o main.c
main.c: In function ‘main’:
main.c:60: warning: return type of ‘main’ is not ‘int’
gcc -DNO_SHIFT_FKEYS -O2 -c -o misc.o misc.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o modify.o modify.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o move1.o move1.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o move2.o move2.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o move3.o move3.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o move4.o move4.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o move5.o move5.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o opts.o opts.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o recycle.o recycle.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o redraw.o redraw.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o regexp.o regexp.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o regsub.o regsub.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o system.o system.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o tio.o tio.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o tmp.o tmp.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o vars.o vars.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o vcmd.o vcmd.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o vi.o vi.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o unix.o unix.c
gcc -s -DNO_SHIFT_FKEYS -O2 -o ""elvis blk.o cmd1.o cmd2.o ctype.o curses.o cut.o ex.o input.o main.o misc.o modify.o move1.o move2.o move3.o move4.o move5.o opts.o recycle.o redraw.o regexp.o regsub.o system.o tio.o tmp.o vars.o vcmd.o vi.o unix.o -ltermcap
/usr/bin/ld: cannot find -ltermcap
collect2: ld returned 1 exit status
make[1]: *** [linkelv.unx] Error 1
make[1]: Leaving directory `Desktop/swlpcsourceforge/extprog/elvisvi'
make: *** [extprog] Error 2

=

but more problems with make. it can't find "ltermcap"
attempting to install termcap library (this is the only solution i found)

@ubuntu:~/Desktop/swlpcsource

@ubuntu:~/Desktop/swlpcsourceforge$ autoconf
@ubuntu:~/Desktop/swlpcsourceforge$ make
cd lpvm; make
make[1]: Entering directory `Desktop/swlpcsourceforge/lpvm'
gcc -MM -DLinux -DMALLOC_NOmalloc -DSECURE debug_malloc.c error.c fatal.c hash.c stack.c stack_alloc.c stralloc.c strncpy.c value.c -I. -I../GC > .depend
make all
make[2]: Entering directory `Desktop/swlpcsourceforge/lpvm'
mv ../lib/liblpvm.so.2.0.6 ../lib/liblpvm.so.2.0.6~
gcc -g -O2 -Wall -I. -I../lpvm -I../GC -I../lpc -I../runtime -shared -o ../lib/liblpvm.so.2.0.6 ./debug_malloc.o ./error.o ./fatal.o ./hash.o ./stack.o ./stack_alloc.o ./stralloc.o ./strncpy.o ./value.o -lz -ldl -lcrypt -L../lib
rm ../lib/liblpvm.so
ln -s ../lib/liblpvm.so.2.0.6 ../lib/liblpvm.so
make[2]: Leaving directory `Desktop/swlpcsourceforge/lpvm'
make[1]: Leaving directory `Desktop/swlpcsourceforge/lpvm'
cd lpc; make
make[1]: Entering directory `Desktop/swlpcsourceforge/lpc'
gcc -MM -DLinux -DMALLOC_NOmalloc -DSECURE build.c lexical.c lexer.c compile.c yyerror.c lang.c build.c lexical.c lexer.c compile.c yyerror.c mud.c -I. -I../GC -I../lpvm -I../runtime -I../lpc > .depend
mv ../lib/liblpc.so.2.0.6 ../lib/liblpc.so.2.0.6~
gcc -g -O2 -Wall -I. -I../lpvm -I../GC -I../lpc -I../runtime -shared -o ../lib/liblpc.so.2.0.6 ./build.o ./lexical.o ./lexer.o ./compile.o ./yyerror.o ./lang.o -lz -ldl -lcrypt -L../lib
rm ../lib/liblpc.so
ln -s ../lib/liblpc.so.2.0.6 ../lib/liblpc.so
mv ../lib/libmud.so.2.0.6 ../lib/libmud.so.2.0.6~
gcc -g -O2 -Wall -I. -I../lpvm -I../GC -I../lpc -I../runtime -shared -o ../lib/libmud.so.2.0.6 ./build.o ./lexical.o ./lexer.o ./compile.o ./yyerror.o ./mud.o
rm ../lib/libmud.so
ln -s ../lib/libmud.so.2.0.6 ../lib/libmud.so
make[1]: Leaving directory `Desktop/swlpcsourceforge/lpc'
cd runtime; make install
make[1]: Entering directory `Desktop/swlpcsourceforge/runtime'
gcc -MM -DLinux -DMALLOC_NOmalloc -DSECURE -I. -I../GC -I../lpvm -I../runtime -I../lpc mud_efun.c simulate.c base_funs.c apply.c class.c consts.c ehash.c fsecure.c hash.c object.c otable.c shared.c trans.c NOmalloc.c backend.c call_out.c comm_mud.c dgram.c extern_prog.c main.c mud_funs.c stats.c > depend.tmp
sed -e 's+^.*:+obj/Linux/&+' depend.tmp > obj/Linux/.depend
make all
make[2]: Entering directory `Desktop/swlpcsourceforge/runtime'
gcc -g -O2 -Wall -I. -I../lpvm -I../GC -I../lpc -I../runtime -rdynamic -Xlinker -rpath -Xlinker Desktop/swlpcsourceforge/runtime/../lib obj/Linux/mud_efun.o obj/Linux/simulate.o obj/Linux/base_funs.o obj/Linux/apply.o obj/Linux/class.o obj/Linux/consts.o obj/Linux/ehash.o obj/Linux/fsecure.o obj/Linux/hash.o obj/Linux/object.o obj/Linux/otable.o obj/Linux/shared.o obj/Linux/trans.o obj/Linux/NOmalloc.o obj/Linux/backend.o obj/Linux/call_out.o obj/Linux/comm_mud.o obj/Linux/dgram.o obj/Linux/extern_prog.o obj/Linux/main.o obj/Linux/mud_funs.o obj/Linux/stats.o -DLinux -DMALLOC_NOmalloc -DSECURE -o debug -lz -ldl -lcrypt -L../lib -llpvm -lz -lmud
obj/Linux/mud_efun.o: In function `list_files':
/ramdisk/home/knoppix/swlpc-2.0.6/runtime/mud_efun.c:1954: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/ramdisk/home/knoppix/swlpc-2.0.6/runtime/mud_efun.c:1954: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
gcc -g -O2 -Wall -I. -I../lpvm -I../GC -I../lpc -I../runtime -Xlinker -rpath -Xlinker Desktop/swlpcsourceforge/runtime/../lib obj/Linux/simulate.o obj/Linux/base_funs.o obj/Linux/apply.o obj/Linux/class.o obj/Linux/consts.o obj/Linux/ehash.o obj/Linux/fsecure.o obj/Linux/hash.o obj/Linux/object.o obj/Linux/otable.o obj/Linux/shared.o obj/Linux/trans.o obj/Linux/NOmalloc.o obj/Linux/comm_lpc.o obj/Linux/lpc.o obj/Linux/script_efun.o -DLinux -DMALLOC_NOmalloc -DSECURE -o lpc -lz -ldl -lcrypt -L../lib -llpvm -lz -llpc
make[2]: Leaving directory `Desktop/swlpcsourceforge/runtime'
mv ../bin/shat ../bin/shat~
mv debug ../bin/shat
mv lpc ../bin
make[1]: Leaving directory `Desktop/swlpcsourceforge/runtime'
cd modules; make install
make[1]: Entering directory `Desktop/swlpcsourceforge/modules'
cp *.so ../mlib/modules
cp *.lpc ../mlib/modules
cp crypt.so ../mlib/secure
cp crypt.lpc ../mlib/secure
make[1]: Leaving directory `Desktop/swlpcsourceforge/modules'
cd extprog/elvisvi; make clean; make
make[1]: Entering directory `Desktop/swlpcsourceforge/extprog/elvisvi'
rm -f *.o
rm -f elvis?.uue
rm -f elvis?.sh
rm -f core
rm -f linkelv.unx
make[1]: Leaving directory `Desktop/swlpcsourceforge/extprog/elvisvi'
make[1]: Entering directory `Desktop/swlpcsourceforge/extprog/elvisvi'
gcc -DNO_SHIFT_FKEYS -O2 -c -o blk.o blk.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o cmd1.o cmd1.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o cmd2.o cmd2.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o ctype.o ctype.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o curses.o curses.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o cut.o cut.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o ex.o ex.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o input.o input.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o main.o main.c
main.c: In function ‘main’:
main.c:60: warning: return type of ‘main’ is not ‘int’
gcc -DNO_SHIFT_FKEYS -O2 -c -o misc.o misc.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o modify.o modify.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o move1.o move1.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o move2.o move2.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o move3.o move3.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o move4.o move4.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o move5.o move5.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o opts.o opts.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o recycle.o recycle.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o redraw.o redraw.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o regexp.o regexp.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o regsub.o regsub.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o system.o system.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o tio.o tio.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o tmp.o tmp.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o vars.o vars.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o vcmd.o vcmd.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o vi.o vi.c
gcc -DNO_SHIFT_FKEYS -O2 -c -o unix.o unix.c
gcc -s -DNO_SHIFT_FKEYS -O2 -o ""elvis blk.o cmd1.o cmd2.o ctype.o curses.o cut.o ex.o input.o main.o misc.o modify.o move1.o move2.o move3.o move4.o move5.o opts.o recycle.o redraw.o regexp.o regsub.o system.o tio.o tmp.o vars.o vcmd.o vi.o unix.o -ltermcap
system.o: In function `filter':
system.c:(.text+0x1b2): warning: the use of `mktemp' is dangerous, better use `mkstemp'
elvis linked.
cp elvis ..; cp elvis ../sockets
done.
make[1]: Leaving directory `Desktop/swlpcsourceforge/extprog/elvisvi'

===================

i think it worked? not sure. no error message just a warning about mktemp vs. mkstemp
and another warning about return type of ‘main’ is not ‘int’. does that mean those have to be fixed first or no? how do i runit if it's okay?

i wonder if it would help if

i wonder if it would help if you included the version of linux you used to build it, with the various development files, and a grub or lilo to start it from boot up, like wubi does, in your swlpcsourceforge package? of course, i know you can access your windows desktop via the disk on the desktop of the linux, but i'm not sure if it's possible to run the exes once you're on the windows desktop. this is really quite frustrating.

it's like shooting in the dark with the variations that have taken place since you originally created swlpc. like the fact ltermcap has been removed from many of the newer linux versions and has to be downloaded and configured and all that, before you can even type make in the swlpcsourceforge folder, runit and runit2 appear to have been changed and/or ugraded to something else, as well. these things are not even available in the development kits suggested for various linux versions now. and even though runit is in the packages list, it isn't fully functional and ltermcap isn't in the list at all. when the suggestion pops up to sudo install runit, it gets half way through the install and pops up a ... couldn't be fully installed message.

i give up. :D

Could be you need to install

Could be you need to install 'make' aswell into ubuntu. Says in the errors you posted 'make not found' or something. Looks like 'configure' is working.

make is installed. :(

make is installed. :(
configure is installed.
runit won't install.
had to download ltermcap to desktop and install it, wasn't sure i did it right but seemed to finish the make and configure processes after that, but then i couldn't runit because runit won't install on it. it's been changed to something else. don't recall the name right off the top of my head, but i do believe i installed the alternate but it wouldn't run the program. i've read up on it and it seems runit no longer works on newer versions of linux. i suspect this is one of many hurdles that would be in the future for getting swlpc to work, since i don't have the foggiest notion what other files you had that will influence whether it can be booted up at all or modified, once it is booted up. i have a brother-in-law who is a wiz with linux - he works with linux for a living, apparently. i'm going to call him and get some advice on this. then i should have a better idea of what i'm working with.

runit2 is a script I wrote

runit2 is a script I wrote myself for SWLPC. Its not a standard Linux script. Maybe you need to type 'bash runit2' or 'bash runit'.

Otherwise while in the swlpc directory in the shell type:

bin/shat -m mlib 3300 3301 3302 3303

Then if that works type:

telnet localhost 3302

are you saying that i can

are you saying that i can circumvent having to type runit2 by typing that other line you suggested?

Yes.

Yes.