From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,1242cbb54077a233 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!t7g2000yqa.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: Compile c2ada Date: Sat, 28 Feb 2009 09:10:36 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <70r63iFhufucU1@mid.individual.net> NNTP-Posting-Host: 82.20.239.213 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1235841037 12831 127.0.0.1 (28 Feb 2009 17:10:37 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 28 Feb 2009 17:10:37 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t7g2000yqa.googlegroups.com; posting-host=82.20.239.213; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:3852 Date: 2009-02-28T09:10:36-08:00 List-Id: On Feb 27, 10:00=A0pm, georg wrote: > I was trying to compile the program c2ada (http:// > c2ada.wiki.sourceforge.net/). I have changed the path and file names of > the script "Makefile". > > I started "make" with no parameters and got the following error message: > > gcc -g -Wall -Wimplicit -Wretun-type -DDEBUG -DHAVE_CONFIG_H -I/usr/ > include/python2.6 -DPPATH=3D\"/usr/bin/c2ada/branches/portability:/usr/li= b/ > python2.6\" -c -o htype.o htype.c > htype.c: In function 'main': > htype.c:116: warning: unused variable 'p' > gcc htype.o -o htype > ./hostinfo hostinfo.h > make: execvp: ./hostinfo: Permission denied > make: *** [hjostinfo] Error 127 > > The file "hostinfo" is stored in the directory /usr/bin/c2ada/branches/ > portability. > > What could the problem be and what can I do about it? Hmm, hostinfo is supposed to be executable -- here I get $ svn proplist -v hostinfo Properties on 'hostinfo': svn:executable : * If yours isn't, then maybe your working copy is out of date? maybe your svn doesn't understand the executable property? Anyway, "chmod +x hostinfo" should do the trick. BTW, building software in /usr/bin/c2ada is not standard practice! more typical to build in ~/c2ada (& then install in /usr/bin if you must ..)