go DanBrwn go!
make sure you are using compatible sources for example if you downloaded the latest source(or even the 0.8.2 source) then you can't use the same contrib lib as listed in the CygwinCompileEnvironmentRevB.pdf file because that will be too outdated. So, make sure you have a reasonably same-dated contrib lib installed. I know for sure that the 0.8.2 source will compile with either the 20050606 or the 20050624 contribs. You have a very recent svn source.. which contrib(just to make sure since you dont want to run alot of stuff to only realize you have incompatible packages)?
here's some more general info:
..create the ./bootstrap and ./configure files
you do not do this.. actually these files are existing and you will call them through the building process. View them in the vlc-trunk they are called
bootstrap and
configure. The look of ./bootstrap in a configurationing script is a direct shell command meaning run the bootstrap(bootstrap) file in the current directory(./). Later you will use a similarly looking situation in no time you will be typing ./vlc to run the successfully built program.
The concept is like this. You need to "bootstrap" the environment to be able to run "configure" successfully.. otherwise various environment variable and such will not be there and you will not get very far. It's a common situation to make 1 file to achieve all this work. So you will create 1 file perhaps called "config_setup" or "my_vlc_builder_starter_upper" or whatever.. This file will contain the command calls to the existing bootstrap and configure files(supplied by the developers in the source code already) and also passing various parameters to those files. It is all alot of typing and information to run the "bootstrap" and "configure" files, so the "config-setup" is created for it.
I'm sure you are very close with all this.. create that file(like you probably already have) and have it in your
cygwin\home\myusername\ directory. You are ready.. fire up cygwin and change directories to the vlc-trunk:
now run that custom "builder_starter_upper" file which is located in the parent directory of where you are now(vlc-trunk). By the way, you put that file in the vlc parent directory so there is no need of adding files to the vlc codebase. Normally these calls to bootstrap and configuration might just be lines you directly type into the bash while in the trunk directory but in this case it's a substantial amount of needed typing so you throw it all into a file instead. So, run your "config_setup" or whatever you call it like this:
(if it was a file named "vlc-kicker-script". the
../ means parent directory.)
everything should go fine from that point for the next maybe 2 hours or something.. -and hey better not let your screen saver kick on or you're asking for trouble to maybe happen! -and after all this stuff you are ready to simple type:
(with no twisted parameters)
a couple points about the situation
use the current
readme.win32 source file to see how to built a good "bash-kicking-vlc-shooter-make-starter-thing" script. And don't try to configure for a debug and release version at the same time
reboot cygwin after the bootstrapped configuration session. So, don't just type
make right away. I've actually found rebooting the machine is successful every time whereas sometimes I end up with the blue screen of death if I only restart cygwin, and definately it dies like clockwork if I don't even restart cygwin. This issue may be an issue with cygwin on win98 or this old machine.. who knows, but be aware of that possibility of corruption due to nothing other than the environment. I believe there is an easy environment memory fixing command listed in the cygwin FAQ. Anyway, bring cygwin up again and change directories again(you might just press the up arrow to bring up the bash history of when you typed it 2 commands ago
![Wink ;)](./images/smilies/icon_wink.gif)
).
you can use a cleaning command(among others) via a developer-provided file called toolbox(in the vlc root). You can type
./toolbox --help(after you changed to the vlc directory of course) to check out some of its qualities. it's a ./bootstrap ./configure make cleaner:
so a recap:
- *use compatible packages.
*make a successfully-usable non-conflicting configurationing script.
*tweak the cygwin environment(or your building process by rebooting) to raise the possibility of success.