LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2003, 04:31 PM   #16
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64

After that you can play around with "Installed" and "Not Installed" packages to see if you need something.. a player, a game, an emulator. It's a pretty cool piece of software IMHO
 
Old 07-23-2003, 04:33 PM   #17
james3mg
LQ Newbie
 
Registered: Jul 2003
Location: Arizona
Distribution: Redhat 9.0
Posts: 25

Original Poster
Rep: Reputation: 15
should I install the wx-GTK-devel in the development/libraries category, or wx-GTK or -gl or -stc or -xrc, all in the system environment/libraries category?
 
Old 07-23-2003, 04:35 PM   #18
james3mg
LQ Newbie
 
Registered: Jul 2003
Location: Arizona
Distribution: Redhat 9.0
Posts: 25

Original Poster
Rep: Reputation: 15
And BTW, thanks for your dedicated help...I'm obviously learning linux, and this is a HUGE help.
 
Old 07-23-2003, 04:37 PM   #19
james3mg
LQ Newbie
 
Registered: Jul 2003
Location: Arizona
Distribution: Redhat 9.0
Posts: 25

Original Poster
Rep: Reputation: 15
oh...I already have wx-GTK-2.4.1 in the environment/libraries category installed, but it apparently wasn't what I needed, since bochs hasn't been installing.

Is it safe to install all of them, or something equally drastic, then removing those which I didn't need later?
 
Old 07-23-2003, 04:43 PM   #20
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
I usually install all of them. For some reason, the packages called something-devel are share libraries for development purposes (guess again, I'm pretty new at linux too, but I love it). In your case, I believe devel would work. It's hard for something go wrong though. If you installed a package that you don't need, you can also remove it with synaptic pretty easy.

Get wxGTK under system environment/libraries first and try installing bochs. If does not work, try installing wxGTK-devel under development/libraries

And you are the most welcome It's the less I can do to LQ. If it was not this forum, Linux would only be a couple of dust CD's today forgotthen somewhere under my messy bed and I would be using M$ ...eek
 
Old 07-23-2003, 04:46 PM   #21
james3mg
LQ Newbie
 
Registered: Jul 2003
Location: Arizona
Distribution: Redhat 9.0
Posts: 25

Original Poster
Rep: Reputation: 15
Well, I went ahead and installed all of them then, but I still get

error: Failed dependencies:
libwx_gtk-2.3.so.2 is needed by bochs-2.0.2-1

Why? Why? Why? :-) Any other packages I might need?
 
Old 07-23-2003, 04:56 PM   #22
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
hmmmm, we need a little more luck here . I'm totally running out of options . Have you ever compiled from source? Perhaps that could be a solution...
I will try to install bochs rpm in my machine. If also fails in my machine, we have a problem with that package Hold on buddy...
 
Old 07-23-2003, 05:12 PM   #23
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
I DID COMPILING IT FROM SOURCE...WHOHOOO... Actually, the rpm seems to be buggy. Anyway, this will be a great learning for you . I will write soon how to compile. Just want to tell you that it worked, and that I'm working on it brb
 
Old 07-23-2003, 05:17 PM   #24
james3mg
LQ Newbie
 
Registered: Jul 2003
Location: Arizona
Distribution: Redhat 9.0
Posts: 25

Original Poster
Rep: Reputation: 15
ok great...thanks

I knew I'd have to learn this pretty soon, but I wanted to get my computer dedicated linux before I went full-in for the learning aspects (like compiling)...something I couldn't do until I get applications I need (most notably AutoCAD) runable in Linux. Hopefully, if bochs is what it appears to be, this will be the last step and I'll be taking the plunge - no more dual-boot :-)

Bochs looks like a neat program anyway...I installed the old DOS on a windows ME machine earlier using the windows bochs. I like the way it works...Wine wasn't doing it for me.

"Talk" to you soon...thanks for the help. Looking forward to geting true proficiency at something...the ability to compile from source will, no doubt, be huge in my linux experience :-)
 
Old 07-23-2003, 05:23 PM   #25
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Here is what we will do. Compiling from source. Again, I think this work we have done here is great for learning. With Linux, when something goes wrong, we don't waste time or anything.... but we do, learn a lot and there's always another way to do everything.

First thing you've got to do, is to download the tarball package . Get this one here:

http://twtelecom.dl.sourceforge.net/...s-2.0.2.tar.gz

As you can see, the file ends with a tar.gz. That means we have a gunziped tarball, roughly saying. First thing we got to do with that, is to unzip it

Code:
gunzip bochs-2.0.2.tar.gz
Note that now you have a bigger file with .tar only. Now we have a tarball. To untar it, type:

Code:
tar -xvf bochs-2.0.2.tar
A directory will be created named bochs-2.0.2. Type:

Code:
cd bochs-2.0.2
Inside this folder, there're loads of documents. The most important is README Read this always before compiling anything. Always...
Most of the programs though, compiles with 3 commands, described bellow:

Code:
./configure
This will check for the components installed at your computer. It's usually here that error messages are reported. If it happens, write down the errors and install the needed packages with synaptic. Now, type:

Code:
make
This will do most of the compiling job. Erros can also appear here, but it's not common. Turn into root now with "su" command and type

Code:
make install
This does the final process of compiling and creating the needed files. Although not necessary, it's always good to type

Code:
make clean
to clean unecessary files created during the compiling process. If you ever need to uninstall this program, go into this folder where you've uncompressed the file and type

Code:
make uninstall
That's all about it. You should be able to run bochs by typing bochs at the terminal. This is my installed version:


Bochs x86 Emulator 2.0.2
January 21, 2003
========================================================================
00000000000i[ ] reading configuration from .bochsrc
------------------------------
Bochs Configuration: Main Menu
------------------------------

This is the Bochs Configuration Interface, where you can describe the
machine that you want to simulate. Bochs has already searched for a
configuration file (typically called bochsrc.txt) and loaded it if it
could be found. When you are satisfied with the configuration, go
ahead and start the simulation.

You can also start bochs with the -q option to skip these menus.

1. Restore factory default configuration
2. Read options from...
3. Edit options
4. Save options to...
5. Begin simulation
6. Quit now

If you can make all this process, you've just mastered how to install programs thru rpm and source, so you are a Linux guru and I hope if it works, you tell me what bochs is used for, cause I've never heard of it before

Good luck

Last edited by Mega Man X; 07-23-2003 at 05:31 PM.
 
Old 07-23-2003, 05:27 PM   #26
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Bed time now . Compiling takes a long...so, I will check here tomorrow. Cya
 
Old 07-23-2003, 05:49 PM   #27
james3mg
LQ Newbie
 
Registered: Jul 2003
Location: Arizona
Distribution: Redhat 9.0
Posts: 25

Original Poster
Rep: Reputation: 15
OH YEAH!!!!

OH YEAH!!!!

WOO-HOO!!!!!

You're awesome...it worked perfectly! So that's all it is, huh? I got scared off by people talking about how to compile Linux itself from source code. Great stuff. Thanks so much for your help.

OK, I owe you at least an explanation of what Bochs is now...

Bochs appears to run a workstation on any other workstation (not positive I have all my terms 100% right). That is, while I'm running RedHat, I can start up Bochs, and it pops up in its own happy little window, runs through its own custom BIOS, and boots whatever OS you have installed on "its" drive. Now the big difference is how it runs the drive. Instead of needing its own partition and whatever, it just puts a FILE on your hard drive the size of the hard drive you want to simulate. So on my ME workstation at work, I had it make a 1gb file called c.img, pointed it to that as the hard drive, and I was able to boot it, format it and install DOS6.22 on it. And it's just a file, so you can take it from computer to computer and retain everything (provided you have a way to transfer a file that large). So what I'm doing in Linux to get my CAD to work is I'm going to make about a 750mg hard drive, install WinME as minimally as possible on it, then install CAD on that. No running programs in linux through a translator, they can just run on their native OSes. And unlike Wine and other programs, you can see the desktop, the start button, etc...you have access to all the control panels and everything built into windows that you don't with other emulators. The drawback is that I can't transfer a file from Linux to Windows unless I go through the network, and back to my computer, or burn it to a CD, as I understand it. Interesting toy...here's hoping it works as promised. Since I've only installed Dos thus far, I can't tell you too much more.

Thanks again for the help - I learned stuff today I'll use forever now :-)

Michael
 
Old 07-24-2003, 03:57 AM   #28
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Thumbs up We all did it

WOHOOO!!!

Thanks a lot for your replying Michael. I really enjoyed working together with you in this mission . It's nice when we get replies such as "it worked" or "it didn't", so other peoples surfing the net or searching the forum might use this later as reference. This "bochs" really turned into a bit of challenge. But at the end of working we all have learned a lot. You've got the basics of installing programs, which is the place where usually Linux starters/rookies give up, thus, very very important and I've learned a lot about a new cool emulator that will be handy and that I've never heard before . I believe into the Linux chain... you know... when someone needs help, I try to explain as detailed as I can, so they get happy and, next time a friend or someone in forums like this face the same problem, they will help for sure, as I will recommend bochs to somebody too . (but surely not the rpm package of it...ghehe)
It was not hard was it? Linux is no Dragon with 7 heads as the one in Dungeon and Dragons, neither takes so long to learn as Dragon Ball saga after the DragonBalls...LOL (well, I'm no nerd, but I love Dragonball and games...ghehe)
Well, I will read some docs about bochs now. Thanks again for the replies and the tips.
Farewell for now my friend. I will always be here around .

Alex

Last edited by Mega Man X; 07-24-2003 at 04:24 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Apt, RPM and Dependancies in Redhat 9 Rounan Linux - Software 9 04-13-2008 10:55 AM
RPM Circular Dependancies - Another Way? Kilo Linux - General 3 02-19-2004 12:35 PM
rpm says missing dependancies but I do have the files davoman Linux - Software 7 11-25-2003 07:16 AM
RPM dependancies are met, but... bestmehr Linux - General 3 11-14-2003 04:07 PM
rpm dependancies j-charles Linux - Newbie 1 09-26-2001 12:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration