LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-28-2003, 03:03 PM   #46
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30

i understand micro420 found his rpm, but can we please keep this thread open because i'd like to learn how to compile software.


i start with a question here:
if ./configure goes well (which means it found all ur libraies and everything)
does make should be going well as well?

or there case ..configure ok, but make isn't ok?

-sirpelidor
 
Old 10-28-2003, 03:48 PM   #47
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by sirpelidor


i start with a question here:
if ./configure goes well (which means it found all ur libraies and everything)
does make should be going well as well?

or there case ..configure ok, but make isn't ok?

-sirpelidor
Not necessarily. If you look at my output when I tried to install Superkaramba, I used ./configure and at the end, it said everything was good to go and for me to run the 'make' command. THen when I did the 'make' command, it says I was missing things. So I would not rely on the ./configure after my own personal experience. What is it you are looking for? Maybe we can find the RPM for you?
 
Old 10-28-2003, 04:49 PM   #48
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
try to install mplayer to watch M$'s stream such as *.avi, *.asx, *.*.wvm all the junks on the internet.

downloaded mplayer, read doc, doc said would be nice if i have this and that (like bunutil, xfree86, lame, directfb, etc)

installed most of the software which was required from mandrake update and mandrake install. and found don't have directfb, so went to www.directfb.org and download.

./configure, it said was missing some libraries, then found out i need the <library verson> -devel.rpm packages w/ *.h header in order for compiler to recongizes, so got that fixed, and run ./configure again, everything looking good.

so i go: make
at the beginning everything looks good, alot of yes and yes and yes, then at the last few lines, i got this:


idirectfbvideoprovider_v4l.c: In function `v4l_stop':
idirectfbvideoprovider_v4l.c:1005: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared (first use in this function)
idirectfbvideoprovider_v4l.c:1005: (Each undeclared identifier is reported only once
idirectfbvideoprovider_v4l.c:1005: for each function it appears in.)
idirectfbvideoprovider_v4l.c: In function `wait_for_buffer':
idirectfbvideoprovider_v4l.c:1096: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared (first use in this function)
idirectfbvideoprovider_v4l.c: In function `V4L2_Thread':
idirectfbvideoprovider_v4l.c:1123: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared (first use in this function)
idirectfbvideoprovider_v4l.c:1141: structure has no member named `m'
idirectfbvideoprovider_v4l.c: In function `v4l2_playto':
idirectfbvideoprovider_v4l.c:1267: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared (first use in this function)
idirectfbvideoprovider_v4l.c:1272: structure has no member named `field'
idirectfbvideoprovider_v4l.c:1272: `V4L2_FIELD_INTERLACED' undeclared (first use in this function)
idirectfbvideoprovider_v4l.c:1302: structure has no member named `memory'
idirectfbvideoprovider_v4l.c:1302: `V4L2_MEMORY_MMAP' undeclared (first use in this function)
idirectfbvideoprovider_v4l.c:1307: structure has no member named `memory'
idirectfbvideoprovider_v4l.c:1307: `V4L2_MEMORY_OVERLAY' undeclared (first use in this function)
idirectfbvideoprovider_v4l.c:1309: incompatible types in assignment
idirectfbvideoprovider_v4l.c:1354: structure has no member named `m'
make[3]: *** [idirectfbvideoprovider_v4l.lo] Error 1
make[3]: Leaving directory `/home/allen/downloads/DirectFB-0.9.20/interfaces/IDirectFBVideoProvider'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/allen/downloads/DirectFB-0.9.20/interfaces'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/allen/downloads/DirectFB-0.9.20'
make: *** [all-recursive-am] Error 2


not exactly sure what i went wrong, believe ./configure went pretty good because i did put all the stuff it was asked for, and ./configure had no complain (it asked for png, mpeg,..etc)

i know it will be alot easier if i do found rpm packages, but while looking for rpm, i'd like to learn how compile , make, make install, because i do intend to write open programs for the linux world. learning how to compile works, and to get it works on my machine would be my first step.

thank you
 
Old 10-28-2003, 05:40 PM   #49
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
Yes, learning to compile works....

I think you chose the wrong program to learn to compile. Why don't you go to www.linuxgames.org and get some cheesy little game and try that? I have yet to get one simple game working that is maybe only like 200 kb in size. Good luck!

For Mplayer, I installed it easily with the Mandrake Control Center. I noticed you are using 9.0 though so I don't know if it's the same.

I found the "All-in-one" codec pack on the mplayer website and I am able to play all media files, inclusing the windows wmv and asx format you mention.
 
Old 10-28-2003, 05:41 PM   #50
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
Yes, learning to compile works....

I think you chose the wrong program to learn to compile. Why don't you go to www.linuxgames.org and get some little game and try that? I have yet to get one simple game working that is maybe only like 200 kb in size. I think that will be a good enough challenge for you to compile! Good luck!

For Mplayer, I installed it easily with the Mandrake Control Center. I noticed you are using 9.0 though so I don't know if it's the same. I am using 9.1

I found the "All-in-one" codec pack on the mplayer website and I am able to play all media files, inclusing the windows wmv and asx format you mention. The codec pack is in the RPM format.
 
Old 10-28-2003, 06:21 PM   #51
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
since u've installed Mplayer easily w/ mandrake control center, would u plz walk me through where u downloaded the rpm, and how u get it work? and how to install those codecs?

also does ur mplayer plug and play w/ ur browser? so that i can click on the webpage and view *.asx formats?

thanks in advance

p.s:
as for diff between mdk 9.0 and 9.1, i believe the only diff is the kernel, and according to the linux book i was reading, the only time you really need to update the kernel is when u have new hardware and your old one doesn't support it. therefore u need new kernel, otherwise as long as the libraries, securities, and bug fix up-to-date, and ur hardwares are perfectly fine with ur current kernel, i don't think u need to update linux that often.

thanks

-sirpelidor
 
  


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
Attention all newbs! check this out KezzerDrix General 1 04-02-2005 08:00 AM
What totorials would newbs want? RestInPieces General 43 10-10-2004 05:41 PM
Wine, Compiling Problems, and RH9 SUCKS! thcmwz Linux - Software 2 11-07-2003 11:14 AM
stupid question...Not for newbs though... digitaldeity Slackware 2 08-20-2003 10:07 PM
Newbs - you gotta try this! peeples Linux - Newbie 1 11-12-2002 05:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 02:55 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