[{"data":1,"prerenderedAt":259},["ShallowReactive",2],{"Categories":3,"NavIndexCategoriesCountFooter":203,"content-\u002F2007\u002F03\u002F07\u002Ffink-selfupdate-fails-due-to-cc1plus-update\u002F":204},[4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,68,70,71,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202],{"category":5},"System Administration",{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},"Software Development",{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":27},{"category":27},{"category":67},"Drones & RC",{"category":69},"DIY Projects",{"category":67},{"category":72},"Photography",{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":67},{"category":67},{"category":72},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":5},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":67},{"category":67},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":72},{"category":67},{"category":138},"3D Printing - Laser Cutting - CNC",{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":5},{"category":138},{"category":27},{"category":27},{"category":138},{"category":138},{"category":72},{"category":158},"Photography,3D Printing - Laser Cutting - CNC",{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":67},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":181},"Home Assistant",{"category":181},{"category":72},{"category":27},{"category":27},{"category":72},{"category":138},{"category":5},{"category":72},{"category":72},{"category":138},{"category":27},{"category":181},{"category":181},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},191,{"id":205,"title":206,"body":207,"category":244,"date":245,"description":246,"embedImage":244,"extension":247,"image":244,"intro":244,"meta":248,"navigation":249,"path":250,"seo":251,"series":244,"sitemap":252,"stem":253,"tags":254,"__hash__":258},"content\u002F2007\u002F03\u002F07\u002Ffink-selfupdate-fails-due-to-cc1plus-update.md","fink selfupdate fails due to cc1plus update",{"type":208,"value":209,"toc":241},"minimark",[210,224,235,238],[211,212,213,223],"p",{},[214,215,222],"a",{"href":216,"rel":217,"target":221},"http:\u002F\u002Ffink.sf.net",[218,219,220],"nofollow","noopener","noreferer","_blank","fink"," update was failing with the following error about head missing a -n option:",[225,226,231],"pre",{"className":227,"code":229,"language":230},[228],"language-text","cc1plus: warning: \"-Wbad-function-cast\" is valid for C\u002FObjC but not for \n C++\n cursesfile=`echo \"#include \u003Ccurses.h>\" | \\\n       gcc-3.3 -E - | grep \"curses.h\" | head -n 1 | \\\n       sed -e \"s\u002F^[^\"]*\"\u002F\u002F; s\u002F\".*$\u002F\u002F\"`; \\\n if [ \"$cursesfile\" = \"\" ]; then echo \"can\"t find curses file\"; exit 1; \n fi; \\\n perl \u002Fsw\u002Fsrc\u002Fdpkg-1.10.21-215\u002Fdpkg-1.10.21\u002Fdselect\u002Fmkcurkeys.pl \n keyoverride $cursesfile > curkeys.h\n Unknown option: n\n Usage: head [-options] \u003Curl>...\n  -m \u003Cmethod>   use method for the request (default is \"HEAD\")\n  -f            make request even if head believes method is illegal\n  -b \u003Cbase>     Use the specified URL as base\n  -t \u003Ctimeout>  Set timeout value\n  -i \u003Ctime>     Set the If-Modified-Since header on the request\n  -c \u003Cconttype> use this content-type for POST, PUT, CHECKIN\n  -a            Use text mode for content I\u002FO\n  -p \u003Cproxyurl> use this as a proxy\n  -P            don\"t load proxy settings from environment\n  -H \u003Cheader>   send this HTTP header (you can specify several)\n\n  -u            Display method and URL before any response\n  -U            Display request headers (implies -u)\n  -s            Display response status code\n  -S            Display response status chain\n  -e            Display response headers\n  -d            Do not display content\n  -o \u003Cformat>   Process HTML content in various ways\n\n  -v            Show program version\n  -h            Print this message\n\n  -x            Extra debugging output\n can\"t find curses file\n","text",[232,233,229],"code",{"__ignoreMap":234},"",[211,236,237],{},"It turns out that the issue is that when you install perl LWP it installs HEAD, GET and POST into \u002Fusr\u002Fbin. Mac OSX uses HFS+ which is case insensitive - this then overwrites the normal head utility.",[211,239,240],{},"I moved the HEAD\u002FGET\u002FPOST utilities to \u002Fusr\u002Flocal\u002Fbin and grabbed the head utility from a different mac box - this solved the problem.",{"title":234,"searchDepth":242,"depth":242,"links":243},2,[],null,"2007-03-07 08:45:00 +0100","fink update was failing with the following error about head missing a -n option:","md",{},true,"\u002F2007\u002F03\u002F07\u002Ffink-selfupdate-fails-due-to-cc1plus-update",{"title":206,"description":246},{"loc":250},"2007\u002F03\u002F07\u002Ffink-selfupdate-fails-due-to-cc1plus-update",[255,222,256,257],"mac","lwp","head","p5xUagPw5jtRDk9mkLBkWe_56G-ZrLsf_6FeOZ1ET5g",1775293016465]