Linux noob needs help

Associate
Joined
13 Jan 2007
Posts
2,424
Location
Belfast,Northern Ireland
My first venture into linux due to uni work:

Currently I have set up debian on vmware and that all works fine. I have installed a thing called pintos and currently trying to patch something called bochs.

Now to do this I am in the root terminal as the notes say i need to be :)

I am typing:

debian:/home/nick/Desktop/pintos/src/misc# env SRCDIR=/home/nick/Desktop PINTOSDIR=home/nick/Desktop/pintos DSTDIR=/usr/local sh ./bochs-2.2.6-build.sh

and get this mass of errors:

tar: /home/nick/Desktop/bochs-2.2.6.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
cat: home/nick/Desktop/pintos/src/misc/bochs-2.2.6-ms-extensions.patch: No such file or directory
cat: home/nick/Desktop/pintos/src/misc/bochs-2.2.6-big-endian.patch: No such file or directory
cat: home/nick/Desktop/pintos/src/misc/bochs-2.2.6-jitter.patch: No such file or directory
cat: home/nick/Desktop/pintos/src/misc/bochs-2.2.6-triple-fault.patch: No such file or directory
cat: home/nick/Desktop/pintos/src/misc/bochs-2.2.6-solaris-tty.patch: No such file or directory
cat: home/nick/Desktop/pintos/src/misc/bochs-2.2.6-page-fault-segv.patch: No such file or directory
cat: home/nick/Desktop/pintos/src/misc/bochs-2.2.6-paranoia.patch: No such file or directory
cat: home/nick/Desktop/pintos/src/misc/bochs-2.2.6-gdbstub-ENN.patch: No such file or directory
./bochs-2.2.6-build.sh: line 31: ../configure: No such file or directory
./bochs-2.2.6-build.sh: line 37: ../configure: No such file or directory

Simple really, I have the directories wrong....but I dont. Im staring at the files in those positions right now. I have downloaded nothing but pintos and bochs and shoved them on the desktop.

I've tried farting around and removing the 'Desktop' bit but no change really, just says its missing different things.

Any ideas where im going wrong?
 
Dont use env to export your environment variables, use export instead - env just lists the current globally exported variables.

Try this:

debian:/home/nick/Desktop/pintos/src/misc# export SRCDIR=/home/nick/Desktop PINTOSDIR=home/nick/Desktop/pintos DSTDIR=/usr/local

debian:/home/nick/Desktop/pintos/src/misc# ./bochs-2.2.6-build.sh

export is exactly same syntax as when you used env, just replace env with export and remove the "sh ./bochs-2.2.6-build.sh" off the end and hit return.

Then run the shell script.
 
tar: /home/nick/Desktop/bochs-2.2.6.tar.gz: Cannot open: No such file or directory

Doesn't that need to be gunzipped before tar will read it? Not used Debian before, but I'm presuming Debian tar is GNU tar and needs to be gunzipped first...
 
Learn something new every day, didn't know that. Then again I spend my days fixing HPUX 10.20 machines, so something new and fancy like Debian is a bit lah-de-dah!
 
lol well I read another thread on here and someone mentioned PING which i've never used and I'm surrounded by Linux (Red Hat Enterprise AS, CentOS 5.3), SQL Server, Windows Server and VMWare vSphere/Xenserver, SAN's, Powervaults etc

Embarassing!
 
OK I don't feel so bad now :D

It's very easy to get tied into the commands that you need to do your job, so if you're not diagnosing network faults then you could quite easily go without using it.

Incidentally OP, can you do a:

Code:
ls -la /home/nick/Desktop/bochs-2.2.6.tar.gz

Weird that the error message gave an absolute path, that should be enough to find it - provided the file is there.
 
Sorry I completely forgot about this thread.

I had someone that did their masters in linux play with it and even he couldn't get it working. Seemed like issues between debian and pintos/bochs (the programs i was trying to use.)

I fresh machine with xubuntu seems to have done the trick. Thank you for the help
 
No probs

Cant believe you had to re-install the whole OS though! nightmare mate.

Tried PING today, very cool! pretty much like Ghost but doesn't like CIFS/UNC paths too well (that branch past the root filesystem) or $ signs for admin access.
 
Back
Top Bottom