Re: dvdauthor-0.7.0 and fribidi-0.19.2

Dennis Veatch <[email protected]>
Newsgroups gmane.comp.multimedia.dvdauthor.user
Message-ID <2121234.nd9Fo4GAAN@sidney>
On Wednesday, October 12, 2011 9:28:35 PM Dennis Veatch wrote:
> On Thursday, October 13, 2011 1:39:58 PM Lawrence D'Oliveiro wrote:
> > Yes, here I think is where a crucial difference lies. When I do the
> > 
> > build:
> >     checking for FRIBIDI... yes
> >     checking for FriBidiParType... yes
> > 
> > but from your build log:
> >     checking for FRIBIDI... yes
> >     checking for FriBidiParType... no
> > 
> > So of course that preprocessor definition of FriBidiParType is
> > triggered in src/compat.h, leading to the compilation error in
> > subreader.c when it includes fribidi/fribidi.h.
> > 
> > Looking at what the configure script is doing, it is checking for the
> > 
> > existence of that type by (first) trying to compile a program like this:
> >     #include <fribidi/fribidi-bidi-types.h>
> >     
> >     int main()
> >     
> >       {
> >       
> >         if (sizeof (FriBidiParType))
> >         
> >            return 0;
> >       
> >       } /*main*/
> > 
> > Can you try compiling that on your system (no need to run it, just use
> > “gcc -c”), and see if that completes without error?
> > 
> > Lawrence
> 
> root@sidney /usr/src/dvdauthor/src # gcc -c subreader.c
> In file included from /usr/include/fribidi/fribidi.h:35:0,
>                  from subreader.c:50:
> /usr/include/fribidi/fribidi-common.h:65:28: fatal error: glib/gmacros.h: No
> such file or directory
> compilation terminated.
> 
> And /usr/include/glib-2.0/glib/gmacros.h <-- lives there.
> 
> On a side note;
> The distro in use is Lunar-Linux and they have since moved on to gcc-4.6.1.
> I attach a compile log of the process. Most just depreciated warnings.
> > ------------------------------------------------------------------------
> > ----
> Dennis
> 

Just a little more info here. Looking at the dvdauthor config.log I see this;

configure:5111: checking for FriBidiParType
configure:5111: gcc -c  -O2 -march=native -pipe  conftest.c >&5
In file included from /usr/include/fribidi/fribidi-bidi-types.h:36:0,
                 from conftest.c:29::65:28: fatal error: glib/gmacros.h: No 
such file or directory
compilation terminated.
configure:5111: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DVDAuthor"
| #define PACKAGE_TARNAME "dvdauthor"
| #define PACKAGE_VERSION "0.7.0"
| #define PACKAGE_STRING "DVDAuthor 0.7.0"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "dvdauthor"
| #define VERSION "0.7.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE__BOOL 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_STRNDUP 1
| #define HAVE_GETOPT_LONG 1
| #define HAVE_MAGICK 1
| #define HAVE_FONTCONFIG 1
| #define HAVE_FRIBIDI 1
| /* end confdefs.h.  */
| #include <fribidi/fribidi-bidi-types.h>
| 
| int
| main ()
| {
| if (sizeof (FriBidiParType))
| 	 return 0;
|   ;
|   return 0;
| }

It seems /usr/include/fribidi/fribidi-common.h cannot find glib/gmacros.h. On 
Lunar that is in /usr/include/glib-2.0/glib/gmacros.h. So I tried changing the 
the fribidi includes to glib-2.0/glib to no effect.

I noticed fribidi has --with-glib=no,yes,auto so set it to --with-glib=no, 
recompiled fribidi then dvdauthor and all went well.

To me this is looking like a fribidi problem. I'll go bother them for a bit.

-- 
Dennis Veatch
Lunar-Linux Developer
http://lunar-linux.org

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Dvdauthor-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.