Hello all,
These days I'm trying compiling MegaGlest, but get stucked by running setupBuildDeps.sh
The console output is:
=================================
Unsupported Linux distribution.
Please report a bug at http://bugs.megaglest.org providing the following information:
--- snip ---
SVN version: 4514
LSB support: 0
Distribution: Redhat
Release: unknown release version
Codename: Fedora release 18 (Spherical Cow)
Architecture: x86_64
--- snip ---
For now, you may want to take a look at the build hints on the MegaGlest wiki at http://wiki.megaglest.org/
If you can come up with something which works for you, please report back to us, too. Thanks!
=================================
After that I've read the content of the sh-file, and found:
1. line 36 and 37:
if [ -e /etc/fedora-release ]; then distribution='Fedora'; release='unknown release version'; codename=`cat /etc/fedora-release`; fi
if [ -e /etc/redhat-release ]; then distribution='Redhat'; release='unknown release version'; codename=`cat /etc/redhat-release`; fi
in my system(fedora 18 x86_64, don't have lsb_release), there is not only an /etc/fedora-release, but also an /etc/redhat-release. As a result, I think, after these two lines are executed, the distribution will be "Redhat".
2. line 266:
"Redhat" is commented. So I think this might be the reason that I've got an error report.
3. I'm trying run the command in line 250 directly. However yum reports that it cannot find packages named "libxml2-dev" and "libircclient-dev".
So I've tried "libxml2-devel" and "libircclient-devel".
And luckily it works.
So actually the problems might have already been solved, but I think the "setupBuildDeps.sh" should be modified to meet the needs of new version of Fedora.
Thanks for taking time to read the report.
Greetings
Ideamelon