Re: libdv1394 & PKG_CONFIG: READY TO GIVE UP!!
Brought to you by:
aeb,
bencollins
From: Dan D. <da...@de...> - 2001-07-28 16:22:35
|
On Sat, 28 Jul 2001 04:49:04 Michael P. Shimko wrote: > Can't compile libdv 0.8 or 0.9: > > Should I give up and buy a (ugh) Windows PC?? So I can edit/create video > CDs??? Well, you will surely be more productive on Windows 2000 where video post-production is king now. Linux multimedia is quite infant and experimental. You pretty much have to have some coding ability and good diagnosis skills unless all you are interested in is using Gimp. MP3 wares on Linux are pretty decent too. In the future, much of this work will be built into the distributions. For example, quite a bit of our packages and leading edge stuff like gstreamer are making their way into the Debain unstable packages repository. There was recently announced a multimedia distro based on Debian called Demudi. The errors below are what you get when you need to add the line "#define <time.h>" to the headers.h file. Yes, there is already a <sys/time.h>, but because of changes to glibc you will need <time.h>. +-DRD-+ > My system: Redhat 7.1 w/2.4.6 kernel (no other upgrades) > > libdv0.8 fails: > > ./configure (completes successfully) > > make (fails): Here's the "DUMP" > ... > /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g > -O2 -I . -I > .. -Wall -O2 -g -I/usr/include/glib-1.2 -I/usr/lib/glib/include > -I/usr/include/gtk-1.2 > -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -c > headers.c > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -I . -I .. -Wall -O2 -g > -I/usr/include/glib-1.2 > -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 > -I/usr/lib/glib/include -I/usr/X11R6/include -c headers.c -o headers.o > headers.c:52: warning: `struct tm' declared inside parameter list > headers.c:52: warning: its scope is only this definition or declaration, > which is > probably not what you want. > headers.c: In function `write_timecode_13': > headers.c:56: dereferencing pointer to incomplete type > headers.c:57: dereferencing pointer to incomplete type > headers.c:58: dereferencing pointer to incomplete type > headers.c: At top level: > headers.c:65: warning: `struct tm' declared inside parameter list > headers.c:74: warning: `struct tm' declared inside parameter list > headers.c:85: warning: `struct tm' declared inside parameter list > headers.c: In function `write_timecode_62': > headers.c:89: dereferencing pointer to incomplete type > headers.c:90: dereferencing pointer to incomplete type > headers.c:91: dereferencing pointer to incomplete type > headers.c: At top level: > headers.c:94: warning: `struct tm' declared inside parameter list > headers.c: In function `write_timecode_63': > headers.c:98: dereferencing pointer to incomplete type > headers.c:99: dereferencing pointer to incomplete type > headers.c:100: dereferencing pointer to incomplete type > headers.c: At top level: > headers.c:104: warning: `struct tm' declared inside parameter list > headers.c: In function `write_subcode_blocks': > headers.c:127: warning: passing arg 2 of `write_timecode_13' from > incompatible pointer > type > headers.c:128: warning: passing arg 2 of `write_timecode_13' from > incompatible pointer > type > headers.c:130: warning: passing arg 2 of `write_timecode_62' from > incompatible pointer > type > headers.c:131: warning: passing arg 2 of `write_timecode_62' from > incompatible pointer > type > headers.c:133: warning: passing arg 2 of `write_timecode_63' from > incompatible pointer > type > headers.c:134: warning: passing arg 2 of `write_timecode_63' from > incompatible pointer > type > headers.c:136: warning: passing arg 2 of `write_timecode_13' from > incompatible pointer > type > headers.c:137: warning: passing arg 2 of `write_timecode_13' from > incompatible pointer > type > headers.c:139: warning: passing arg 2 of `write_timecode_62' from > incompatible pointer > type > headers.c:140: warning: passing arg 2 of `write_timecode_62' from > incompatible pointer > type > headers.c:142: warning: passing arg 2 of `write_timecode_63' from > incompatible pointer > type > headers.c:143: warning: passing arg 2 of `write_timecode_63' from > incompatible pointer > type > headers.c: At top level: > headers.c:156: warning: `struct tm' declared inside parameter list > headers.c: In function `write_vaux_blocks': > headers.c:192: warning: passing arg 2 of `write_timecode_60' from > incompatible pointer > type > headers.c:193: warning: passing arg 2 of `write_timecode_61' from > incompatible pointer > type > headers.c:194: warning: passing arg 2 of `write_timecode_62' from > incompatible pointer > type > headers.c:195: warning: passing arg 2 of `write_timecode_63' from > incompatible pointer > type > headers.c:197: warning: passing arg 2 of `write_timecode_60' from > incompatible pointer > type > headers.c:198: warning: passing arg 2 of `write_timecode_61' from > incompatible pointer > type > headers.c:199: warning: passing arg 2 of `write_timecode_62' from > incompatible pointer > type > headers.c:200: warning: passing arg 2 of `write_timecode_63' from > incompatible pointer > type > headers.c: In function `write_meta_data': > headers.c:246: warning: implicit declaration of function `localtime' > headers.c:246: warning: assignment makes pointer from integer without a > cast > headers.c:251: warning: passing arg 4 of `write_subcode_blocks' from > incompatible > pointer type > headers.c:253: warning: passing arg 3 of `write_vaux_blocks' from > incompatible pointer > type > make[2]: *** [headers.lo] Error 1 > make[2]: Leaving directory `/usr/src/redhat/SOURCES/DV/libdv-0.8/libdv' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/redhat/SOURCES/DV/libdv-0.8' > make: *** [all-recursive-am] Error 2 > > libdv0.9: > > Requires pkg-config >= 0.7 sourceforge only has 0.6! Bummers! > > So here I am, 11:00 pm July 27, 2001 , stuck. Back to square ONE. > Personally, I'm tired of being on the bleeding edge of development (Win2k > & Linux), > I feel like trashing everything that's a "chip" inside it....sorry. I'm > exhausted from > all the effort that I have to put into this just to "try" to produce a > video cd. > > last try, thanks. > > Michael > > PS: There's no going back to RH 6.2 for me, tried it twice, doesn't > work. > > > Michael Shimko wrote: > > > I'll use libdv0.8, thanks for the tip! > > > > Dan Dennedy wrote: > > > > > BTW, when I compile Kino with libdv 0.9, Kino segfaults immediately. > > > Others are reporting this as well as MMX detection problems. As a > Kino > > > developer, I will try to track down the problems over the weekend. In > > > the meantime, I recommend libdv 0.8, and you might need to add > "#include > > > <time.h>" to its headers.h file to build it. > > > > > > +-DRD-+ > > > > > > Michael P. Shimko wrote: > > > > > > > I'm trying to install/compile KINO 0.44 which requrires libavc and > libdv, but I > > > > get an error when trying to configure libdv-0.9: > > > > ... > > > > checking for pkg-config... no > > > > *** The pkg-config script could not be found. Make sure it is > > > > *** in your path, or set the PKG_CONFIG environment variable > > > > *** to the full path to pkg-config. > > > > configure: error: Library requirements (glib >= 1.2.4 gtk+ >= > 1.2.4) not met; > > > > consider adjusting the PKG_CONFIG_PATH environment variable if your > libraries > > > > are in a nonstandard prefix so pkg-config can find them. > > > > [root@localhost libdv-0.9]# ls /usr/local > > > > > > > > So this is new to the development of software on linux??? Where > can I get > > > > it???? > > > > > > > > > > > > Thanks! > > > > > > > > Michael > > > > > > > > > > > > _______________________________________________ > > > > mailing list Lin...@li... > > > > http://lists.sourceforge.net/lists/listinfo/linux1394-user > > > > > > > > _______________________________________________ > > mailing list Lin...@li... > > http://lists.sourceforge.net/lists/listinfo/linux1394-user > > |