in reply to libmpeg3

This problem is with the C library, rather than the perl module. If there are no pointers in the docs to possible problems with your system, it looks like you are in for some C hacking on the header file mpeg3io.h.

Usually finessing the header files is not too bad, if you know the rudiments of C. Otherwise, check for an RPM or whatever SUSE uses. Good luck!

-Mark

Replies are listed 'Best First'.
Re: Re: libmpeg3
by khudgins (Sexton) on Oct 10, 2002 at 16:47 UTC
    Since SuSE is RPM-based, you can always go to rpmfind.net to find RPMs. It'll help you manually solve dependency issues as well.

    Also, make sure you've got the latest stable version of the library - if you've downloaded a development version, expecially a daily snapshot, you're likely to have issues with underdeveloped code.

      ok, so I got libmpeg3-devel installed and I noticed /usr/include/libmpeg3 appear (which is good) But CPAN still has complaints: "Compiling libmpeg3 wrapper....libmpeg3.c:494: libmpeg3.h: No such file or directory" This looks ambiguous to me. is it libmpeg3.h that's missing? or something refferred to instead libmpeg3.c that is missing? libmpeg3.h is under /usr/include/libmpeg3- should it be somewhere else? Here is everything cpan says: http://www.nevada.edu/~lolofie/nee.html

        libmpeg3.c:494: libmpeg3.h: No such file or directory" This looks ambiguous to me. is it libmpeg3.h that's missing?

        Yes! Line 494 of libmpeg3.c is #include "libmpeg3.h" and the error message is telling you that the compiler cannot find the file.

        As you are certain that the file does exist on your system, this suggests that your include path does not have the correct directories set up.

        I'm not familiar with gcc or linux, but looking at the output you referenced, the only include path specified is -I/usr/lib/perl5/5.6.1/i586-linux/CORE so as a 'quick fix' you could try copying libmpeg3.h into that dir and see how you get on.

        There is almost certainly a better way of doing this. Eg. Adding /usr/include/libmpeg3 to the appropriate environment var (include?), but I'm unsure of that.


        Cor! Like yer ring! ... HALO dammit! ... 'Ave it yer way! Hal-lo, Mister la-de-da. ... Like yer ring!