[Tack-devel] Trouble Installing ACK
Moved to https://github.com/davidgiven/ack
Brought to you by:
dtrg
From: Arun R. <aru...@sl...> - 2006-07-24 15:27:07
|
Hi! I am involved in a project to build a backend for a forth based microprocessor. Since I am new to compiler design, my project guide has suggested use of ACK as it has a stack based intermediate representation EM. I am trying to install ACK in my linux system. Here is what I have done... 1) downloaded and extracted ack-5.6.tar.bz2 to my home directory. 2) created a directory ack in tmp (/tmp/ack) to be used as configuration directory. 3) from the directory /tmp/ack I ran the first script (as suggested in the install manual) and gave the following options a) ACK source root /home/username/ack-5.6/ b) root of configuration tree /tmp/ack/ c) ACK binary root /home/username/Project/ACK d) system type ANY e) running on system : yes f) Default machine : em22 (EM with 2byte wide integers and pointers) g) Unix target system SYS_V h) limit installation : no i) Library : libsysV_2 And then I run the INSTALL script that is generated. However, I get the following error cp: cannot create regular file `/tmp/ack//lang/cem/cemcom.ansi/Parameters': No such file or directory I did some investigation to find that the only directory that is created by the INSTALL script is the (/tmp/ack/)bin with the ack_sys, cp_dir, create_dir, mk_makefile and TakeAction executable script. Interestingly the size of the file dir_list in /tmp/ack/ is 0 bytes. A little more digging into mk_config script in the first directory of the source root, it has the line : cd $SRC_HOME find . -type d -perm -555 -print > $CONFIG/dir_list I tried the "find" command line manually and saw that due to the "perm -555" option, no directory list is generated!! Evidently, because of the lack of any entries in the dir_list file, no tree structure is created in the configuration root and hence all copy and move or create operation fail. Could you please confirm that "perm -555" is indeed the correct option? If so, what should be done to get a correct installation? Thanks in advance Arun Ramachandran Student Institute for System Level Integration Livingston UK |