>>Has anyone successfully built RG under gcc 4.x?  I'm running FC4 (t3)
>>and I've yet to get it to build without errors.  The latest problem
>>seems to be with the LIRC code:

>I'd bet that's just some lib or conditional build problem.  The code is
a
>>brand new user contribution, hastily doctored up and patched in, and is
not
>well-tested.

I have contributed the code, and I don't have gcc 4. I am at work now and
can't really look at anything. What I did *not* test was what happens when
using autotools with rg HEAD (I'm not sure about the status of autotools
support for HEAD, as it did not work for me last time I tried it, so I looked
only at the scons build, taking it as a replacement for autotools). 
-> Do the autotools scripts somehow automatically compile new .cpp source
files without #HAVE_LIRC?

If scons has been used here my diagnosis:

>lirccommander.moc.cpp:22: error: ?LircCommander? has not been declared

It seems that scons has been reconfigured and used haveLirc, otherwise there
would be no generated lirccommander.moc.cpp:

rosegarden/gui/SConscript
if myenv.has_key('LIRC_SOURCES'):  # <-- did succeed
        rgSources += lircSources 

If I see anything right with my python code, this meaans that 

/rosegarden/scons_admin/kde.py
conf.CheckLibWithHeader('lirc_client', 'lirc/lirc_client.h', 'C', 'int 
lirc_init();')

has succeeded (LIRC library present on the build system).

This I a situation I tested and that worked with gcc 3.3.5. However, if you're
using scons, you can always disable LIRC with

scons configure nolirc=1

This situation I tested on a fresh checkout, too, and there was no 
lirccommander.moc.cpp
generated.

=> As long as gcc 4.x understands the C++-Syntax I used, I have no clue what
really happened.

Regards
  Toni



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to