Help w install, makefile on linux
Hi, I am an absolute newbie at linux. I am trying to install something using a makefile that looks like this
====== include Options all: cd $(HERE)/UA ; make cd $(HERE)/Misc ; make cd $(HERE)/EE ; make Linux /bin/rm -f Options /bin/ln -s OptionsLinux Options /bin/rm -f SystemChoice.h /bin/ln -s SystemLinux.h SystemChoice.h /bin/rm -f UA/cmisc.o cd $(HERE)/UA ; make cd $(HERE)/Misc ; make cd $(HERE)/EE ; make I get the following error msg when I do Sudo make linux sudo make linux /bin/rm -f Options /bin/ln -s OptionsLinux Options /bin/rm -f SystemChoice.h /bin/ln -s SystemLinux.h SystemChoice.h /bin/rm -f UA/cmisc.o cd /UA ; make cd: 1: can't cd to /UA make[1]: Entering directory `/usr/local/src/makee_5.2.4-sep08' cd /usr/local/src/makee_5.2.4-sep08/UA ; make make[2]: Entering directory `/usr/local/src/makee_5.2.4-sep08/UA' what could I be doing differently. TIA |
Since it says it can't cd to UA, always make sure it exists, and echo $HERE to make sure the path is correct. Also, I recommend you just CD to $HERE, instead of using $() to avoid confusion with your make file.
Cheers, Josh |
All times are GMT -5. The time now is 01:39 AM. |