#29135: readline: error: 'LC_CTYPE' undeclared ------------------------------+--------------------------------------------- Reporter: bbarth@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: readline ------------------------------+--------------------------------------------- Comment(by bbarth@…): Thanks for the info. Here's an update with some success and more questions: I got the directory, did a "sudo su -" and cded there. Then I did a "make". And got the following which is the same as in the logs. {{{ rye:readline-6.2 root# make rm -f complete.o /usr/bin/gcc-4.2 -c -DHAVE_CONFIG_H -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -pipe -O2 -arch x86_64 complete.c complete.c: In function 'rl_username_completion_function': complete.c:2045: warning: assignment makes pointer from integer without a cast complete.c:2048: error: dereferencing pointer to incomplete type complete.c:2048: error: dereferencing pointer to incomplete type complete.c:2062: error: dereferencing pointer to incomplete type complete.c:2066: error: dereferencing pointer to incomplete type complete.c:2066: error: dereferencing pointer to incomplete type complete.c: In function 'rl_filename_completion_function': complete.c:2141: error: nested functions are disabled, use -fnested- functions to re-enable complete.c:2141: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token complete.c:2141: error: 'directory' undeclared (first use in this function) complete.c:2141: error: (Each undeclared identifier is reported only once complete.c:2141: error: for each function it appears in.) complete.c:2141: error: 'DIR' undeclared (first use in this function) complete.c:2141: error: expected expression before ')' token complete.c:2158: error: expected expression before ')' token complete.c:2258: warning: assignment makes pointer from integer without a cast complete.c:2260: error: dereferencing pointer to incomplete type complete.c:2261: error: dereferencing pointer to incomplete type complete.c:2293: error: expected expression before ')' token complete.c:2321: error: dereferencing pointer to incomplete type complete.c:2334: error: dereferencing pointer to incomplete type }}} Then, I looked in config.log, copied the configure line, ran it, and reran make. At that point, it built just fine! Can I ask port to install this now that it's built? Does that provide you any hints? -- Ticket URL: <https://trac.macports.org/ticket/29135#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS