so i figured out the way to resolve this problem. i am putting our own
_structs.h into /sw/include folder and it is compiling from there, but now i
am facing a new problem when i am running fink -m --build-as-nobody rebuild
cilk
Upto make it is working fine but at time of make install it is giving error
PERMISSION DENIED because it requires sudo access *how to give sudo access
to make install in .info file?*
When i am trying out to run as sudo fink -m --build-as-nobody i am getting
following error
*Can't locate Fink/Services.pm in @INC (@INC contains:
/Library/Perl/Updates/5.8.8
/System/Library/Perl/5.8.8/darwin-thread-multi-2level
/System/Library/Perl/5.8.8 /Library/Perl/5.8.8/darwin-thread-multi-2level
/Library/Perl/5.8.8 /Library/Perl
/Network/Library/Perl/5.8.8/darwin-thread-multi-2level
/Network/Library/Perl/5.8.8 /Network/Library/Perl
/System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6 /Library/Perl/5.8.1 .)
at /var/tmp/tmp.1.ewQn2i line 2.*
*
*
*
*
On Tue, Mar 2, 2010 at 10:50 PM, Peter O'Gorman <pe...@pogma.com> wrote:
> On 03/02/2010 10:34 AM, Pranay Airan wrote:
> > So here is what i figure out
> >
> > if you see line 97, 111,112, 125, 135, 136 of _structs.h they are
> > declaring variables without names just like 39; 39; etc when i commented
> > those lines i am able to compile
>
> gcc allows anonymous bitfields like this, unfortunately, your compiler
> doesn't, so it'll probably need its own patched copy of the header.
>
> Peter
>
> >
> > On Tue, Mar 2, 2010 at 9:56 PM, Peter O'Gorman <pe...@pogma.com
> > <mailto:pe...@pogma.com>> wrote:
> >
> > On 03/02/2010 09:56 AM, Pranay Airan wrote:
> > > hello
> > >
> > > We have been trying to package CILK through FINK. In this process,
> in
> > > order to port it on to MAC OSX, we require gcc. So, we installed
> XCODE
> > > 3.1.4 on our machine. Now while running Makefile of CILK, we
> > > encountered errors while trying to compiling example .cilk files
> ...
> > > * This is due to some syntax errors in
> > /usr/include/mach/i386/_structs.h
> > > which the cilkc compiler is failing to read..*
> > > We however modified _struucts.h header file to make our cilk files
> > > compile and run on our machine..
> > >
> > > We think it as a bug in _structs.h
> >
> > What are the errors? What do you think the bug is? How did you modify
> > _structs.h? No you can not patch it in the process of packaging, if
> you
> > need a modified _structs.h, mkdir -p mach/i386 in the build dir and
> put
> > your modified _structs.h there (making sure, of course, that the
> build
> > dir is in the -I paths).
> >
> > Bugs in Apple headers, compilers etc. should be reported to
> > https://bugreport.apple.com
> >
>
--
Thanks
Pranay Airan
Mtech. IIIT-B
(91) 9036297912
The hardest work in the world is that which should have been done yesterday.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel