mudlet-makers team mailing list archive
-
mudlet-makers team
-
Mailing list archive
-
Message #02124
[Bug 819636] Re: Mudlet doesn't build on Fedora
<phonon> is a Qt include and different from the phonon package. Qt has
forked phonon so it's not the same. You need to install the Qt-phonon
package or whatever package contains this in fedora. As a refrence Linux
packages you may look at the official Mudlet packages for Debian and
Ubuntu.
** Changed in: mudlet
Status: New => Won't Fix
--
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/819636
Title:
Mudlet doesn't build on Fedora
Status in Mudlet the MUD client:
Won't Fix
Bug description:
Attempting to build Mudlet 2.0-rc5+ (specifically, mudlet-HEAD-24bbfa4.tar.gz)
on Fedora 14 (x86_64).
The build fails on a missing header file <phonon> in mudlet.h, even
though the Phonon development package is installed (latest available
version = 4.5.0). Examination of the installed Phonon headers shows
that indeed, there is none named "phonon" or even "phonon.h". I was
able to work around this by changing mudlet.h to include Phonon's
MediaObject header instead of a nonexistant "phonon" header.
I also modified TLuaInterpreter.cpp and TTrigger.cpp to altogether
remove failing inclusions of <phonon>, since these files' existing
inclusion of mudlet.h made inclusion of <phonon> redundant.
Those changes were sufficient to compile all the sources -- albeit with many warnings -- but the build then failed while trying to link. Evidently,
1) the hunspell library in Fedora 14 needs to be linked as "-lhunspell-1.2" instead of "-lhunspell", and
2) zlib needs to be explicitly included in the link for it to succeed on Fedora 14
Once those changes were in place, Mudlet built and ran successfully.
I attach a patch showing precisely the changes described above, but I
anticipate that it probably will break the build on some other
systems.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/819636/+subscriptions
References