Operating Systems > Linux and UNIX
Help me! I'm spoiled by Win98 but i want Linux!
emh:
Lennon, just so we can help you a bit more, could you tell us the last part of the terminal output of one of the programs you were trying to compile? My gut reaction is to concur with Doogie, that the program you tried to install wasn't made very well. However, there might be missing packages that configure didn't detect as well. Telling us the last part of the "make" output can help us help you figure out what is wrong, especially if, as you say, it seems to be happening with every tar.gz file you've tried to run "make" on.
By the way, referring all the way back to the RPM you told us you had right in the message right after my last message, this is actually what's called a source RPM, identified by "src.rpm" at the end. You can't install this like a regular RPM. What you have to do is log in as root, go to the directory that the src.rpm is in, and type "rpm --rebuild packagename.src.rpm" Then it compiles and creates RPMs that can be installed like normal.
Lennon:
Nope :(
I tried that RPM again, the way you told me and i got this:
(This is the exact screen, with all the commands i typed)
---------------------------------------------------------
[root@localhost tmp]# rpm --rebuild linuxvideostudio-0.1.7-1.src.rpm
Installing linuxvideostudio-0.1.7-1.src.rpm
error: failed build dependencies:
gtk+-devel is needed by linuxvideostudio-0.1.7-1
gdk-pixbuf-devel is needed by linuxvideostudio-0.1.7-1
mjpegtools-devel is needed by linuxvideostudio-0.1.7-1
[root@localhost tmp]#
---------------------------------------------------------
I also tried messing around with the tar.gz files, and here are the messages i got on the screen:
first i did ./confgigure and then "make" command:
---------------------------------------------------------
kmplayerview.cpp:377: invalid use of undefined type 'struct ArtsL::SoundServerV2'
kmplayerview.h:39: forward declaration of 'struct Arts::SoundServerV2'
kmplayerview.cpp: In member function 'void KmplayerView::SetVolume(int)':
...(some more similar stuff)
make [3]: *** [kmplayerview.lo] Error 1
make [3]: Leaving directory '/home/john/tmp/kmp/kmplayer/kmplayer'
make [2]: *** [all-recursive] Error 1
make [2]: Leaving directory '/home/john/tmp/kmp/kmplayer/kmplayer'
make [1]: *** [all-recursive] Error 1
make [1]: Leaving directory '/home/john/tmp/kmp/kmplayer'
make: *** [all] Error 2
[root@localhost kmplayer]#
---------------------------------------------------------
There should that be enough for someone to help me? I think its these "dependencies" shit i need to work around. I'll also get some other tar.gz stuff and try make them work, just to be sure...
On the good side of things, WWW is doing Awesome on Linux. Galeon is great. I am wondering if i can set up http or ftp presentations ... you know like http://123.12.123.12:80 or something. And how do i find my IP on Linux?
Lennon:
Another thing:
I just downloaded some amsn program, cos i wanna chat online, or at least try to. So i got the pure rpm file, not the .src.rpm. I instllaed it, it told me something like "To satisfy dependancies amsn has to be installed" (?) and then the progress bar was going and it told me something about it not having the GDP signature. I clicked OK anyway.
So its installed, and i type amsn in the console and it tells me:
Error in open script: could
n't open "dirname" no such file or directory
while executing
"open" something " r "
...some code...
invoked from within
"cmsn_draw_about"
invoked from within
if { some more code ...
}
... file path and line 2684 something...
I believe you dont need it more precise then that. I can't find any executables by the way. I'm not even sure what an executable looks like in Linux :-}
Then i tried installing some "trackballs" game i downloaded from sourceforge.net, recent version, and after it told me about GDP signature missing it goes
Conflicts detected:
libGLcore.so.1 is needed by trackballs-0.9.0-1mdk
libguile.so.12 is needed by trackballs-0.9.0-1mdk
libSDL_image-1.2.so.0 is needed by trackballs-0.9.0-1mdk
libSDL_mixer-1.2.so.0 is needed by trackballs-0.9.0-1mdk
libSDL_ttf-2.0.so.0 is needed by trackballs-0.9.0-1mdk
Is it just me or does everybody have it so hard when they start out?
[ April 09, 2003: Message edited by: Lennon ]
Calum:
quote:Originally posted by Lennon:
Nope :(
I tried that RPM again, the way you told me and i got this:
(This is the exact screen, with all the commands i typed)
---------------------------------------------------------
[root@localhost tmp]# rpm --rebuild linuxvideostudio-0.1.7-1.src.rpm
Installing linuxvideostudio-0.1.7-1.src.rpm
error: failed build dependencies:
gtk+-devel is needed by linuxvideostudio-0.1.7-1
gdk-pixbuf-devel is needed by linuxvideostudio-0.1.7-1
mjpegtools-devel is needed by linuxvideostudio-0.1.7-1
[root@localhost tmp]#
---------------------------------------------------------
--- End quote ---
okay, what's happening here is that the rpm program has a database which records all the packages you have installed. to save space, time and processing time most linux packages depend upon you having some other linux packages already installed. What is happening here is that rpm is having a look in its database and it is checking the list of required packages (required by the program you are trying to install) with the list of what is installed on your system. if all the requirements are not met, then it won't install the program (because it knows the program won't run anyway).
Now there's a wrinkle. if you installed a package, let's say it was mjpegtools-devel, in a way other than using rpm, like for instance you installed it from source code or other method, then rpm will have no mention of it in the rpm database, so the upshot is, the package is installed, but rpm doesn't know about it and will still not allow the install to go ahead. if this is the case, you can put "--force --nodeps" after "rpm -Uvh" and it will install without checking for dependencies*. this might work, but it might not. even if you do have the errant package installed, if you didn't install it from an rpm, it might not even be in the right directory for your rpm program to find it. this is why it is best if at all possible to use only rpm packages on an rpm based linux system.
in this case, the dependencies you need probably aren't installed already (i say this totally off the top of my head) what i'd do is look on the linux install CDs and see if you can find them on there, if so install them, if not, you'll need to fire up google and download them from somewhere.
it took me a long time to get used to installing stuff in linux when i first started. i could install some things easily, but it took months for me to figure out how to install other things (mplayer for example, or at least to get it to install how i wanted it to).
it might be worth looking into "urpmi" if you use mandrake. i never really used it much, but it's a mandrake specific rpm tool, with a lot of extra features that rpm doesn't have (so i hear) type "man urpmi" to find out more about it.
hope that helps with this rpm stuff anyway.
* if you are installing a source rpm, like this one, then you must have these packages installed or it simply cannot install. the reason is that a source rpm contains source code, and those dependencies are required to actually create the binary program that goes on your hard drive, if the dependencies are not there, the binary program literally cannot be created)
[ April 09, 2003: Message edited by: Calum: crusader for peace & freedom ]
Lennon:
OK so i need to FIND these RPMs for that thing to work:
gtk+-devel
gdk-pixbuf-devel
mjpegtools-devel
What if even these RPMs dont install :/ then i'm screwed i suppose?
And what about my other rpm problems (last post)?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version