[mythtv-users] another mythplugins make problem -- FIXED: uglyhack

Mark Kundinger mkundinger at yahoo.com
Sat Oct 1 18:51:54 UTC 2005



--- Robin Gilks <g8ecj at gilks.org> wrote:

> 
> >> I had the exact same problem, and I was able to compile and
> install by
> >> first copying mythconfig.make to subfolders like mythdvd/mythdvd,
> >> mythdvd/mtd, mythdvd/i18n, mythmusic/mythmusic, etc.
> >>
> >> I also had my source in a home directory of a user.  I wonder if
> the
> >> makefiles don't like something about our source locations?
> >>
> >> But hey, you know that old saying "If it's ugly, but it works,
> then at
> >> least my DVDs will play"
> >>
> >>
> >> --- Pete Clarke <pete at devilincarnate.eclipse.co.uk> wrote:
> >
> > :-)
> >
> > It must be something to do with where we put the source, as it must
> have
> > worked for someone!
> >
> > Compiled fine for me too, after the hack.
> >
> > Just wish I could get my kde dev libs installed without
> uninstalling half
> > my system :(...looks like mythbrowser will have to wait until I
> screw
> > something  up badly enough for a complete system rebuild! lol
> >
> > Marius
> >
> >>
> >>> >
> >>> >> ...
> >>> >>>>>>>> Just tried to compile mythplugins (todays svn)
> >>> >>>>>>>>
> >>> >>>>>>>> get a couple of lines through make, then:
> >>> >>>>>>>>  Entering directory
> >>> >>>>>>>>
> >>> `/home/mythtv/tmp/mythtv.svn.050929/mythplugins/mythdvd/mythdvd'
> >>> >>>>>>>> make[2]: *** No rule to make target `mythconfig.mak',
> needed
> >>> by
> >>> >>>>>>>> `Makefile'.  Stop.
> >>> >>>>>>>> make[2]: Leaving directory
> >>> >>>>>>>>
> >>> `/home/mythtv/tmp/mythtv.svn.050929/mythplugins/mythdvd/mythdvd'
> >>> >>>>>>>> make[1]: *** [sub-mythdvd] Error 2
> >>> >>>>>>>> make[1]: Leaving directory
> >>> >>>>>>>> `/home/mythtv/tmp/mythtv.svn.050929/mythplugins/mythdvd'
> >>> >>>>>>>> make: *** [sub-mythdvd] Error 2
> >>> >>>>>
> >>> >>>>> I get the same error - have done since about mid
> September...
> >>> >>>>> SVN from 15th built fine, since then I get the above error
> >>> too...
> >>> >>>
> >>> >>
> >>> >> OK, as nobody said: "DON'T!"
> >>> >>
> >>> >> I simply copied the mythconfig.bak link into all the program
> >>> subdirs
> >>> >> containing a .pro file.
> >>> >>
> >>> >> Everything compiled fine.
> >>> >>
> >>> >> Certainly not the most elegant way of fixing it, but a lot
> easier
> >>> than
> >>> >> tinkering with the config script.
> >>> >>
> >>> >> Hope this at least points to what's wrong.
> >>> >>
> >>> >> Cheers
> >>> >>
> >>> >
> >>> > Sound to me like you didn't run the configure script. Thats
> what it
> >>> does -
> >>> > it creates the config.pro files...
> >>>
> >>> It's not the .pro files that are missing from the dirs, it's the
> >>> mythconfig.mak files.
> >>>
> >>>
> 
> I think you may be asking yourself the wrong question. Its not so
> much why
> doesn't the mythconfig.mak file get copied to the directories but why
> don't you have a symlink at the top level of the plugins directory to
> where mythconfig.mak lives on your system.
> 
> Where is lives depends on how you installed the main mythtv app - in
> my
> case its in /usr/local/include/mythtv/mythconfig.mak and thats
> certainly
> the case having built the main app from SVN.
> 
> As far as I can see, qmake uses the .pro files to create the
> Makefiles in
> each directory and grep'ing them gives me (eg. in mythdvd):
> 
> # grep mythconfig.mak Makefile
> DIST       = /usr/local/include/mythtv/mythconfig.mak \
> Makefile: mythdvd.pro  /usr/qt/3/mkspecs/linux-g++/qmake.conf
> /usr/local/include/mythtv/mythconfig.mak \
> 
> YMMV
> 


Well, it appears that that is where the problem lies.  My Makefile in
the mythdvd/mythdvd directory only said:

DIST    = mythconfig.mak \

However, I did run configure and "qmake mythplugins.pro" just like the
instructions said.  So I'm stumped.


More information about the mythtv-users mailing list