DBG-CLI on OS X |
|
Has anyone managed to get dbg-cli to compile on OS X? Any tips would be much appreciated.
Thanks. |
||||||||||||
|
Site Admin
|
Feel free to post the problems you encoutnered here
|
||||||||||||
|
Site Admin
|
I think the post below is relevant to the problem
problems-compiling-dbg-cli-t514.html |
||||||||||||
|
|
I think its just a matter of specifying where the libs are
i have readline.h and history.h in /sw/include/readline/ How do i tell configure where to look? Thanks |
||||||||||||
|
|
Grrr. I've changed the code to use an absolute path to readline and history
/sw/include/readline/... and now i get a whole bunch of /sw/include/readline/history.h:120: error: syntax error before `(' token /sw/include/readline/history.h:124: error: syntax error before `(' token /sw/include/readline/history.h:129: error: syntax error before `(' token /sw/include/readline/history.h:134: error: syntax error before `(' token /sw/include/readline/history.h:139: error: syntax error before `(' token /sw/include/readline/history.h:149: error: syntax error before `(' token /sw/include/readline/history.h:154: error: syntax error before `(' token /sw/include/readline/history.h:161: error: syntax error before `(' token /sw/include/readline/history.h:168: error: syntax error before `(' token /sw/include/readline/history.h:175: error: syntax error before `(' token /sw/include/readline/history.h:180: error: syntax error before `(' token /sw/include/readline/history.h:184: error: syntax error before `(' token /sw/include/readline/history.h:187: error: syntax error before `(' token /sw/include/readline/history.h:203: error: syntax error before `(' token /sw/include/readline/history.h:208: error: syntax error before `(' token /sw/include/readline/history.h:216: error: syntax error before `(' token /sw/include/readline/history.h:220: error: syntax error before `(' token /sw/include/readline/history.h:240: error: syntax error before `*' token Help! |
||||||||||||
|
Site Admin
|
must be a broken readline, then
Where did you take it from ? |
||||||||||||
|
|
readline is fine. It's part of the fink os x tree and it is used in other stuff which compiles fine with it.
I've just downloaded and built readline from elsewhere. Still the same problem. |
||||||||||||
|
Site Admin
|
if readline is fine, why there are so many errors in its file ?
|
||||||||||||
|
|
If there are so many errors why does it build properly and other stuff which uses it build properly
|
||||||||||||
|
|
I am having problems as well. After fixing the path issues for finding readline, etc. in /sw and not /usr, I know get the following:
I have tried reordering the -I flags, but to no avail. Any help out there? Thanks! |
||||||||||||||
|
Site Admin
|
Since there is getopt() available with unistd.h, it's easier to remove #include getopt.h from all the dbg-cli sources
|
||||||||||||
|
DBG-CLI on OS X |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by