Hi, Just did a big system upgrade and reinstall, and tried to compile mplayer :) There was sdl install problems etc, but it was very hard to find out the reason... after some modification to ./configure i got it. Now the main point. ./configure needs a big rewrite. I can see 2 possible solution: 1. move to autoconf (but NOT automake+libtool) --> need someone with enough autoconf experience to make it and then maintaining(!) it as we don't know autoconf... 2. rewrite (parts of) current ./configure script. current one is a big hack. initially it checked only a few things but for now it is too complex and redundant. - the new script should have a few general function to check existance if libraries and their includes, as big part of ccurrent script does only this. it would be a big cleanup of the script. - method of writting to config.h|mak files should changed too, either echo "..." >> config.h or the autoconf-method, eg. replacing @envvar@ strings in a template config.h.in with value of the given environment variable. it could make things much simpler and readable. - user output (prints) should be rewritten, to be somehoe usefull. now it runs the detection routines, then parse command line options (so many detection is unneeded if overriden by user, and also no option dependency check at all) and finally it prints lines like Checking for XXX... Yes|No depending on previous result or option. This should be changed, new script should output things depending on result: Checking for XXX... Yes (autodetected|enabled) No (disabled|lib not found|headers not found|sample compilation failed|depends on YYY) - help should show defaults (no|autodetect|yes) - output of checks and sample compilations should be written to a file, (config.log), instead of /dev/null. so users can check what's the prob, and also attach it for bugreports. --> need someone who makes these (or parts of it) and send us patches. As the core team is busy with code development, we has no time to play with scripts. Also someone who makes it should know portability issues, and -if possible- use only /bin/sh features, no bash or csh/ksh extras. A'rpi / Astral & ESP-team -- mailto:arpi@thot.banki.hu http://esp-team.scene.hu _______________________________________________ Mplayer-users mailing list Mplayer-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mplayer-users
participants (1)
-
Arpi