i've already found 2 typos Code: TGT=noip2 CC=gcc PREFIX=/usr/local CONFDIR=[COLOR="Red"]${PREFIX}[/COLOR]/etc BINDIR=${PREFIX}/bin # these defines are for Linux LIBS= ARCH=linux # for Mac OS X and BSD systems that have getifaddr(), uncomment the next line #ARCH=bsd_with_getifaddrs # for early BSD systems without getifaddrs(), uncomment the next line #ARCH=bsd # for solaris, uncomment the next two lines # LIBS=-lsocket -lnsl # ARCH=sun ${TGT}: Makefile ${TGT}.c ${CC} -Wall -g -O2 -D${ARCH} -DPREFIX=/"${PREFIX}/" ${TGT}.c -o ${TGT} ${LIBS} install: ${TGT} if [ ! -d ${BINDIR} ]; then mkdir -p ${BINDIR};fi if [ ! -d ${CONFDIR} ]; then mkdir -p ${CONFDIR};fi cp ${TGT} ${BINDIR}/${TGT} ${BINDIR}/${TGT} -C -c /tmp/no-ip2.conf mv /tmp/no-ip2.conf ${CONFDIR}/no-ip2.conf package: ${TGT} rm -f *.bak mv ${TGT} binaries/${TGT}-`uname -s`-32bit rcp gemini:/local/src/noip-2.0/${TGT} binaries/${TGT}-`uname -s`-64bit cd ..; tar zcvf /tmp/noip-2.1.tgz noip-2.0/* clean: rm -f *o rm -f ${TGT} rm -f binaries/* basically the 2 typo i found were \ instead of / the error output is here Code: dave@dave-desktop:~/Desktop/noip-duc-linux/noip-2.1.7$ make gcc -Wall -g -O2 -Dlinux -DPREFIX=/"/usr/local/" noip2.c -o noip2 dave@dave-desktop:~/Desktop/noip-duc-linux/noip-2.1.7$ sudo make install [sudo] password for dave: if [ ! -d /usr/local/bin ]; then mkdir -p /usr/local/bin;fi if [ ! -d /usr/local/etc ]; then mkdir -p /usr/local/etc;fi cp noip2 /usr/local/bin/noip2 /usr/local/bin/noip2 -C -c /tmp/no-ip2.conf Auto configuration for Linux client of no-ip.com. Connect to dynupdate.no-ip.com timed out Network must be operational to create configfile. Ending! mv /tmp/no-ip2.conf /usr/local/etc/no-ip2.conf mv: cannot stat `/tmp/no-ip2.conf': No such file or directory make: *** [install] Error 1 dave@dave-desktop:~/Desktop/noip-duc-linux/noip-2.1.7$ BTW: what does the item in red do ?, tried google & wiki but google doesn't do symbols, this is doing my head in now
You've not given enough information on what files you're editing or what you're even doing, please be more thorough in future. Now it seems you're editing a Makefile, $PREFIX is a variable.
PREFIX=/usr/local CONFDIR=${PREFIX}/etc PREFIX looks like a string variable, so confdir could also look like this: CONFDIR=/usr/local/etc and you would get the same result I believe. Not really sure what I'm talking about... but it looks like there is no response from dynupdate.no-ip.com, which timed out the connection, which then didn't create a config file. Then when it tried to copy the non-existant config file you got: mv: cannot stat `/tmp/no-ip2.conf': No such file or directory And because of that it can't make! You probably knew all that already, but I wasn't really sure what you're asking...
sorry, yes it's a makefile, basically i'm trying to install noip-duc-linux, but i found 2 errors in the script, the whole point is i'm trying to get DDNS working on my new router, i don't really understand DDNS and then i have to start debugging a script :beer:, that explains a lot. & yes i agree bull i agree, but, it's moving not copying[ot]simply misreading it[/ot] :agree: help with debugging the makefile BTW: thank you