A short question about compiling again
A short question about compiling again
If i have already compiled a given item (alsa driver in this case) and then want to recompile it do I just simply compile it again or do I have to do something to get rid of the originally compiled version..?? thanks in advance keith |
make clean
gets rid of the old, mostly gcc usually notices which files and stuff have been changed, and you don't usually have to make clean. you can just make. but if something isn't working, you should redo with a make clean to check if that was it. |
Thanks whansard
Ok let me see if I understand this I originally downloaded the alsa drivers, utils and lib and compiled them my self with no luck, searching through the help pages on the site I found this script http://myweb.cableone.net/eviltwin69/ALSA.html it basally runs all the ./configure make install for all the packages, this is the script ------------------------------------------------------------------------- clear echo echo echo "Making ALSA drivers" echo echo bzip2 -d alsa-driver*.tar.bz2 2>/dev/null tar -xvf alsa-driver*.tar cd alsa-driver-* ./configure --with-isapnp=no --with-cards=ens1371,emu10k1,ice1712 --with-sequencer=yes make install ./snddevices chmod 666 /dev/dsp* /dev/mixer* /dev/sequencer* /dev/midi* cd .. find . -name alsa-driver\* -a -type d -exec rm -rf {} \; cat >~/.asoundrc <<EOF pcm.ice1712 { type hw card 0 } ctl.ice1712 { type hw card 0 } EOF echo echo echo "Making ALSA libraries" echo echo bzip2 -d alsa-lib*.tar.bz2 2>/dev/null tar -xvf alsa-lib*.tar cd alsa-lib* ./configure make install cd .. find . -name alsa-lib\* -a -type d -exec rm -rf {} \; echo echo echo "Making ALSA OSS compatibility" echo echo bzip2 -d alsa-oss*.tar.bz2 2>/dev/null tar -xvf alsa-oss*.tar cd alsa-oss* ./configure --disable-alsatest make install cd .. find . -name alsa-oss\* -a -type d -exec rm -rf {} \; echo echo echo "Making ALSA tools" echo echo bzip2 -d alsa-tools*.tar.bz2 2>/dev/null tar -xvf alsa-tools*.tar cd alsa-tools* cd envy24* ./configure --disable-alsatest make install cd ../as10k1 ./configure make install cd ../.. find . -name alsa-tools\* -a -type d -exec rm -rf {} \; echo echo echo "Making ALSA utilities" echo echo bzip2 -d alsa-utils*.tar.bz2 tar -xvf alsa-utils*.tar cd alsa-utils* ./configure --disable-alsatest make install cd .. find . -name alsa-utils\* -a -type d -exec rm -rf {} \; ------------------------------------------------------------------------- would I just add make clean above the make install (all of them) that apear in the above script?? eg -- of script make clean make install --rest of script thanks again |
Just skip the the "make clean". "./configure" should be quite fine to give the Makefile's a newer timestamp. Or, run "make clean" before the script.
|
All times are GMT -5. The time now is 04:10 AM. |