LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RPM dependancies (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-dependancies-74952/)

Mega Man X 07-23-2003 03:31 PM

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

james3mg 07-23-2003 03:33 PM

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?

james3mg 07-23-2003 03:35 PM

And BTW, thanks for your dedicated help...I'm obviously learning linux, and this is a HUGE help.

james3mg 07-23-2003 03:37 PM

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?

Mega Man X 07-23-2003 03:43 PM

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 :)

james3mg 07-23-2003 03:46 PM

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?

Mega Man X 07-23-2003 03:56 PM

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...

Mega Man X 07-23-2003 04:12 PM

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 ;)

james3mg 07-23-2003 04:17 PM

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 :-)

Mega Man X 07-23-2003 04:23 PM

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 :D

Good luck

Mega Man X 07-23-2003 04:27 PM

Bed time now :(. Compiling takes a long...so, I will check here tomorrow. Cya ;)

james3mg 07-23-2003 04:49 PM

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

Mega Man X 07-24-2003 02:57 AM

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


All times are GMT -5. The time now is 12:27 PM.