Opened 16 years ago

Closed 15 years ago

#18784 closed submission (fixed)

create rpy2

Reported by: nerdling (Jeremy Lavergne) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: blb@…, mamoll (Mark Moll)
Port: rpy2

Description

Attached is the Portfile as far as I could get: It needs some fixes.

Attachments (4)

Portfile (1.4 KB) - added by nerdling (Jeremy Lavergne) 16 years ago.
Portfile.blb (1.3 KB) - added by blb@… 15 years ago.
Portfile
py26-rpy2_build.err (8.2 KB) - added by nerdling (Jeremy Lavergne) 15 years ago.
debug build phase, stderr
py26-rpy2_configure.err (4.0 KB) - added by nerdling (Jeremy Lavergne) 15 years ago.
debug configure phase, stderr

Download all attachments as: .zip

Change History (14)

Changed 16 years ago by nerdling (Jeremy Lavergne)

Attachment: Portfile added

comment:1 Changed 16 years ago by blb@…

Cc: blb@… added; snc@… removed

The problem I ran into with rpy2 was that the libtool from R may be wrong in how it's using -dylib_file...

comment:2 Changed 16 years ago by jmroot (Joshua Root)

Type: enhancementsubmission

comment:3 Changed 16 years ago by (none)

Milestone: Port Submissions

Milestone Port Submissions deleted

comment:4 Changed 15 years ago by blb@…

With the patch from #20222, I'm able to get this latest Portfile for rpy2 on python 2.6 working fine.

Changed 15 years ago by blb@…

Attachment: Portfile.blb added

Portfile

comment:5 Changed 15 years ago by nerdling (Jeremy Lavergne)

I just gave it another spin at building and got back command 'ccache' failed.

Does R/Python work with ccache enabled in macports?

comment:6 Changed 15 years ago by nerdling (Jeremy Lavergne)

ccache /usr/bin/gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DR_INTERFACE_PTRS=1 -DCSTACK_DEFNS=1 -DRIF_HAS_RSIGHAND=1 -I/opt/local/lib/R/include -Irpy/rinterface -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c rpy/rinterface/r_utils.c -o build/temp.macosx-10.5-i386-2.6/rpy/rinterface/r_utils.o
ccache /usr/bin/gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DR_INTERFACE_PTRS=1 -DCSTACK_DEFNS=1 -DRIF_HAS_RSIGHAND=1 -I/opt/local/lib/R/include -Irpy/rinterface -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c rpy/rinterface/rinterface.c -o build/temp.macosx-10.5-i386-2.6/rpy/rinterface/rinterface.o
In file included from rpy/rinterface/rinterface.c:70:
/opt/local/lib/R/include/R_ext/Rdynload.h:26: warning: function declaration isn't a prototype
rpy/rinterface/rinterface.c:104: warning: 'interrupt_R' defined but not used
rpy/rinterface/rinterface.c:2676: warning: 'externalMethods' defined but not used
ccache /usr/bin/gcc-4.0 -L/opt/local/lib -bundle -undefined dynamic_lookup build/temp.macosx-10.5-i386-2.6/rpy/rinterface/array.o build/temp.macosx-10.5-i386-2.6/rpy/rinterface/r_utils.o build/temp.macosx-10.5-i386-2.6/rpy/rinterface/rinterface.o -L/opt/local/lib/R/lib -L/opt/local/lib/R/modules -L/opt/local/lib/R/lib -L/opt/local/lib/R/modules -lR -o build/lib.macosx-10.5-i386-2.6/rpy2/rinterface/rinterface.so -L/opt/local/lib/R/lib -lR -dylib_file libRblas.dylib:/opt/local/lib/R/lib/libRblas.dylib -L/opt/local/lib/R/lib -lRlapack -L/opt/local/lib/R/lib -lRblas
ld: library not found for -lR -dylib_file libRblas.dylib:/opt/local/lib/R/lib/libRblas.dylib
collect2: ld returned 1 exit status
error: command 'ccache' failed with exit status 1

comment:7 in reply to:  5 Changed 15 years ago by blb@…

Replying to snc@…:

I just gave it another spin at building and got back command 'ccache' failed.

Does R/Python work with ccache enabled in macports?

Sounds like it may not, try

configure.ccache no

comment:8 in reply to:  6 Changed 15 years ago by nerdling (Jeremy Lavergne)

Replying to snc@…:

I tried running it again after changing the configure and doing a clean: Still no dice.

I wonder if python26 needs to be recompiled without ccache.

Changed 15 years ago by nerdling (Jeremy Lavergne)

Attachment: py26-rpy2_build.err added

debug build phase, stderr

Changed 15 years ago by nerdling (Jeremy Lavergne)

Attachment: py26-rpy2_configure.err added

debug configure phase, stderr

comment:9 Changed 15 years ago by mamoll (Mark Moll)

Cc: mmoll@… added

Cc Me!

comment:10 Changed 15 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

Created in r55961.

Note: See TracTickets for help on using tickets.