I am trying to run the staff solution of server.c but I get an error that I need to install rsplib=legacy-wrappers. What does it mean? I just updated the appliance and restarted it, but problem is still there. Thank you.
There are two separate errors here.
No such file or directory.
The reason for this error is likely because you are not running the command from the
~/Dropbox/pset6directory, which should contain a
publicfolder if you've followed all the previous steps. The command you typed in will have the
serverprogram look for a
publicdirectory relative to the directory you are currently located in.
You can run
cd Dropbox/pset6and try again, or specify an absolute path to the
publicfolder if you insist on running the program from a different location.
The program 'server' is currently not installed. To run 'server' please ask your administrator to install the package 'rsplib-legacy-wrappers'.
To run the staff solution of
serveryou must provide an absolute path to the staff's implementation of the program. If you don't, the operating system will assume that you are trying to run an uninstalled Ubuntu package by the same name.
To run the staff version, you need to be in your own pset6 directory (where
public is) and then run this:
jharvard@ubuntu (~/Dropbox/CS50/pset6): ~cs50/pset6/server -p 8080 public
Your first try you were in the root directory; your second try you were in the staff directory. Make sure you are in the directory where you've unzipped the pset6 files.