From: sjw <simon.j.wright@mac.com>
Subject: Re: Compile c2ada
Date: Sat, 28 Feb 2009 09:10:36 -0800 (PST)
Date: 2009-02-28T09:10:36-08:00 [thread overview]
Message-ID: <ae783c63-46e7-44f6-8cbc-8cc4bbd55eb8@t7g2000yqa.googlegroups.com> (raw)
In-Reply-To: 70r63iFhufucU1@mid.individual.net
On Feb 27, 10:00 pm, georg <nob...@nowhere.com> 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=\"/usr/bin/c2ada/branches/portability:/usr/lib/
> 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 ..)
next prev parent reply other threads:[~2009-02-28 17:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-27 22:00 Compile c2ada georg
2009-02-28 17:10 ` sjw [this message]
2009-02-28 19:37 ` Pascal Obry
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox