Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

Build error on Fedora 16

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


hobbes1069 at gmail

Oct 19, 2011, 6:13 AM

Post #1 of 13 (1419 views)
Permalink
Build error on Fedora 16

Hopefully someone will know what's wrong pretty quickly, but I'm
getting an error when building mythtv for Fedora 16 using the latest
0.24/fixes and the RPM Fusion SRPM.

This doesn't affected Fedora 14 & 15 so I assume this cropped up due
to an updated version of a build requirement, most likely QT?

Here's the error:

/usr/lib64/qt4/bin/moc -DMMX -D_GNU_SOURCE -DUSING_VDPAU -DUSING_X11
-DUSE_JOYSTICK_MENU -DUSE_LIRC -DUSING_XRANDR -DUSE_OPENGL_PAINTER
-DUSING_QTWEBKIT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SQL_LIB -DQT_XML_LIB
-DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore
-I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtOpenGL
-I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtWebKit
-I/usr/include -I/usr/include -I/usr -I../libmythdb -I../.. -I..
-I../../external/FFmpeg -I/usr/X11R6/include -I. mythprogressdialog.h -o
moc_mythprogressdialog.cpp
mythrender_opengl.cpp: In function 'int __glCheck__(const QString&, const
char*, int)':
mythrender_opengl.cpp:38:347: error: 'gluErrorString' was not declared in this
scope

I am a Fedora and RPM Fusion packager, but not a programmer, so any
pointers would be appreciated as this is a bit beyond my ability to
troubleshoot.

Thanks,
Richard
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-dev


marynya at compuserve

Oct 19, 2011, 8:47 AM

Post #2 of 13 (1406 views)
Permalink
Re: Build error on Fedora 16 [In reply to]

Richard

Make sure that you have "ffmpeg-devel" installed although it could be a
version incompatibility, of course.

Mike

_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-dev


hobbes1069 at gmail

Oct 19, 2011, 8:52 AM

Post #3 of 13 (1400 views)
Permalink
Re: Build error on Fedora 16 [In reply to]

On Wed, Oct 19, 2011 at 10:47 AM, Michael Hughes <marynya [at] compuserve> wrote:
> Richard
>
> Make sure that you have "ffmpeg-devel" installed although it could be a
> version incompatibility, of course.

Hmm... I thought myth used it's own internal version of ffmpeg?

Thanks,
Richard
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-dev


robert.mcnamara at gmail

Oct 19, 2011, 9:01 AM

Post #4 of 13 (1401 views)
Permalink
Re: Build error on Fedora 16 [In reply to]

On Wed, Oct 19, 2011 at 8:52 AM, Richard Shaw <hobbes1069 [at] gmail> wrote:
>> Make sure that you have "ffmpeg-devel" installed although it could be a
>> version incompatibility, of course.
>
> Hmm... I thought myth used it's own internal version of ffmpeg?
>
> Thanks,
> Richard

It does. Installing ffmpeg development packages will have no effect,
as they are not used. Your issue looks more like missing GL
development headers.

Robert
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-dev


mark.kendall at gmail

Oct 19, 2011, 9:02 AM

Post #5 of 13 (1401 views)
Permalink
Re: Build error on Fedora 16 [In reply to]

On 19 October 2011 14:13, Richard Shaw <hobbes1069 [at] gmail> wrote:
> Hopefully someone will know what's wrong pretty quickly, but I'm
> getting an error when building mythtv for Fedora 16 using the latest
> 0.24/fixes and the RPM Fusion SRPM.
>
> This doesn't affected Fedora 14 & 15 so I assume this cropped up due
> to an updated version of a build requirement, most likely QT?
>
> Here's the error:
>
> /usr/lib64/qt4/bin/moc -DMMX -D_GNU_SOURCE -DUSING_VDPAU -DUSING_X11
> -DUSE_JOYSTICK_MENU -DUSE_LIRC -DUSING_XRANDR -DUSE_OPENGL_PAINTER
> -DUSING_QTWEBKIT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SQL_LIB -DQT_XML_LIB
> -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
> -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore
> -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtOpenGL
> -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtWebKit
> -I/usr/include -I/usr/include -I/usr -I../libmythdb -I../.. -I..
> -I../../external/FFmpeg -I/usr/X11R6/include -I. mythprogressdialog.h -o
> moc_mythprogressdialog.cpp
> mythrender_opengl.cpp: In function 'int __glCheck__(const QString&, const
> char*, int)':
> mythrender_opengl.cpp:38:347: error: 'gluErrorString' was not declared in this
> scope
>
> I am a Fedora and RPM Fusion packager, but not a programmer, so any
> pointers would be appreciated as this is a bit beyond my ability to
> troubleshoot.

Do you have libglu installed? or liblu-dev? (or whatever they are
called on Fedora)

regards

Mark
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-dev


hobbes1069 at gmail

Oct 19, 2011, 9:29 AM

Post #6 of 13 (1419 views)
Permalink
Re: Build error on Fedora 16 [In reply to]

On Wed, Oct 19, 2011 at 11:02 AM, Mark Kendall <mark.kendall [at] gmail> wrote:
> Do you have libglu installed? or liblu-dev? (or whatever they are
> called on Fedora)

Yes, I believe the package is 'mesa-libGLU-devel' which also pulls in
mesa-libGL. It's in fedora and it's in the build requirements. I would
think missing this package would break building on Fedora 14 and 15,
but so far this problem only affects Fedora 16.

I tried looking at the changelog between the version of mesa in Fedora
15 and 16 but didn't see anything that jumped out at me. They are the
same version but different release. F-15 is using release 1 (the
bottom entry) and F-16 is using release 4. Details below:

* Fri Sep 09 2011 Adam Jackson <ajax [at] redhat> 7.11-4
- mesa-7.11-generic-wmb.patch: Add generic write memory barrier macro for
non-PC arches.

* Thu Sep 08 2011 Adam Jackson <ajax [at] redhat> 7.11-3
- Add khrplatform-devel subpackage so {EGL,GLES}-devel are usable

* Wed Aug 03 2011 Michel Salim <salimma [at] fedoraproject> - 7.11-2
- Rebuild against final LLVM 2.9 release.

* Tue Aug 02 2011 Adam Jackson <ajax [at] redhat> 7.11-1
- Mesa 7.11
- Redo the driver arch exclusion, yet again. Dear secondary arches: unless
it's an on-motherboard driver like i915, all PCI drivers are to be built
for all PCI arches.

Thanks,
Richard
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-dev


hobbes1069 at gmail

Oct 20, 2011, 12:42 PM

Post #7 of 13 (1388 views)
Permalink
Re: Build error on Fedora 16 [In reply to]

Ok, as I mentioned I'm not a c programmer so bear with me.

I've done some research into the issue and I *THINK* I know what's
wrong, but for the life of my (if I'm right) I don't know why the
builds for F14 and F15 work.

The function(?) gluErrorString is defined in /usr/include/GL/glu.h but
I can not find a "-I/usr/include/GL" anywhere in the build log.

In configure there's this excerpt:

if enabled x11; then
check_libx gl_lib GL/gl.h glBegin -lGL || check_libx gl_lib
GL/gl.h glBegin -lopengl32 || disable opengl
check_libx glu_lib GL/glu.h gluBeginSurface -lGLU || disable opengl
fi

but it looks like this is only responsible for adding the library (-lGLU)

Additionally the only reference to glu.h in the entire source tree is
in the above snippet. Please refer back to line #1 of this email
before I make this statement. (In other words, be nice to me! :)

Wouldn't there need to be an #include <glu.h> or <GL/glu.h> in
mythrender_opengl.h (or some other file)?

Thanks,
Richard
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-dev


mark.kendall at gmail

Oct 20, 2011, 1:06 PM

Post #8 of 13 (1382 views)
Permalink
Re: Build error on Fedora 16 [In reply to]

On 20 October 2011 20:42, Richard Shaw <hobbes1069 [at] gmail> wrote:
> Ok, as I mentioned I'm not a c programmer so bear with me.
>
> I've done some research into the issue and I *THINK* I know what's
> wrong, but for the life of my (if I'm right) I don't know why the
> builds for F14 and F15 work.
>
> The function(?) gluErrorString is defined in /usr/include/GL/glu.h but
> I can not find a "-I/usr/include/GL" anywhere in the build log.
>
> In configure there's this excerpt:
>
> if enabled x11; then
>    check_libx gl_lib GL/gl.h glBegin -lGL || check_libx gl_lib
> GL/gl.h glBegin -lopengl32 || disable opengl
>    check_libx glu_lib GL/glu.h gluBeginSurface -lGLU || disable opengl
> fi
>
> but it looks like this is only responsible for adding the library (-lGLU)
>
> Additionally the only reference to glu.h in the entire source tree is
> in the above snippet. Please refer back to line #1 of this email
> before I make this statement. (In other words, be nice to me! :)
>
> Wouldn't there need to be an #include <glu.h> or <GL/glu.h> in
> mythrender_opengl.h (or some other file)?

Richard

Much of the OpenGL setup/code/includes is handled by Qt - as we rely
on Qt's OpenGL code to handle a lot of the platform specific setup.
This has, to date, just worked:)

Given that this code has been removed in master (and hence 0.25) and
appears to be working correctly for most, I would simply either add in
the appropriate header or remove the offending code.

regards

Mark
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-dev


hobbes1069 at gmail

Oct 20, 2011, 1:08 PM

Post #9 of 13 (1378 views)
Permalink
Re: Build error on Fedora 16 [In reply to]

On Thu, Oct 20, 2011 at 3:06 PM, Mark Kendall <mark.kendall [at] gmail> wrote:
> Much of the OpenGL setup/code/includes is handled by Qt - as we rely
> on Qt's OpenGL code to handle a lot of the platform specific setup.
> This has, to date, just worked:)
>
> Given that this code has been removed in master (and hence 0.25) and
> appears to be working correctly for most, I would simply either add in
> the appropriate header or remove the offending code.

I tried adding "#include <GL/glu.h>" to mythrender_opengl.cpp so we'll
see what happens. Building usually takes about 45 minutes.

Thanks,
Richard
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-dev


hobbes1069 at gmail

Oct 20, 2011, 2:33 PM

Post #10 of 13 (1367 views)
Permalink
Re: Build error on Fedora 16 [In reply to]

On Thu, Oct 20, 2011 at 3:08 PM, Richard Shaw <hobbes1069 [at] gmail> wrote:
> On Thu, Oct 20, 2011 at 3:06 PM, Mark Kendall <mark.kendall [at] gmail> wrote:
>> Much of the OpenGL setup/code/includes is handled by Qt - as we rely
>> on Qt's OpenGL code to handle a lot of the platform specific setup.
>> This has, to date, just worked:)
>>
>> Given that this code has been removed in master (and hence 0.25) and
>> appears to be working correctly for most, I would simply either add in
>> the appropriate header or remove the offending code.
>
> I tried adding "#include <GL/glu.h>" to mythrender_opengl.cpp so we'll
> see what happens. Building usually takes about 45 minutes.

That fixed it! Should this be added to git? I do have a github account.

Thanks,
Richard
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-dev


hobbes1069 at gmail

Oct 20, 2011, 3:39 PM

Post #11 of 13 (1382 views)
Permalink
Re: Build error on Fedora 16 [In reply to]

I can't win!

Now I'm having an issue building mythweather because of a problem with
perl module DateTime::Format::ISO8601...

Richard
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-dev


gjhurlbu at gmail

Oct 20, 2011, 3:55 PM

Post #12 of 13 (1369 views)
Permalink
Re: Build error on Fedora 16 [In reply to]

On Thu, Oct 20, 2011 at 3:39 PM, Richard Shaw <hobbes1069 [at] gmail> wrote:
> I can't win!
>
> Now I'm having an issue building mythweather because of a problem with
> perl module DateTime::Format::ISO8601...

So install it.
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-dev


hobbes1069 at gmail

Oct 20, 2011, 3:57 PM

Post #13 of 13 (1380 views)
Permalink
Re: Build error on Fedora 16 [In reply to]

On Thu, Oct 20, 2011 at 5:55 PM, Gavin Hurlbut <gjhurlbu [at] gmail> wrote:
> On Thu, Oct 20, 2011 at 3:39 PM, Richard Shaw <hobbes1069 [at] gmail> wrote:
>> I can't win!
>>
>> Now I'm having an issue building mythweather because of a problem with
>> perl module DateTime::Format::ISO8601...
>
> So install it.

I said I wasn't a programmer, not an idiot :)

There's actually a problem with the module in Fedora 16

https://bugzilla.redhat.com/show_bug.cgi?id=747752

Richard
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.