Re: [Fink-devel] Build issue with anjuta-2.24.2-2 on 10.5.8

2010-09-27 Thread Daniel Macks


On Mon, 27 Sep 2010 20:49:06  0200, Remi Mommsen  wrote:
Hi,
  >
  > On Sep 27, 2010, at 8:08 PM, Hanspeter Niederstrasser wrote:
  >
  > > On 9/27/10 1:58 PM, Alexander Hansen wrote:
  > >> -BEGIN PGP SIGNED MESSAGE-
  > >> Hash: SHA1
  > >>
  > >> (Tested on 10.5.8/PowerPC, Xcode 3.1.4, Xquartz 2.5.3)
  > >> Looks like another case of .la files hiding a multitude of sins:
  > >>
  > >> ... 
  > >> libtool: link: gcc  -o .libs/libanjuta-gtodo.so -bundle  .libs/plugin.o
  > >> .libs/add_edit_item.o .libs/callback.o .libs/debug_printf.o
  > >> .libs/egg-datetime.o .libs/eggtrayicon.o .libs/export.o
  > >> .libs/interface.o .libs/libgtodo.o .libs/list_tooltip.o
  > >> .libs/mcategory.o .libs/notification.o .libs/preferences.o
  > >> .libs/tasklists.o .libs/todo_db.o .libs/tray-icon.o   -L/sw/lib
  > >> - -L/usr/X11/lib -L/sw/lib/gnome-vfs2.16 /sw/lib/libxslt.dylib -lpthread
  > >> /sw/lib/libiconv.dylib -lm ../../libanjuta/.libs/libanjuta.dylib
  > >> - -L/usr/lib /sw/lib/libgnomeui-2.dylib /usr/X11/lib/libSM.dylib
  > >> /usr/X11/lib/libICE.dylib /sw/lib/libbonoboui-2.dylib
  > >> /sw/lib/gnome-vfs2.16/libgnomevfs-2.dylib /sw/lib/libgnomecanvas-2.dylib
  > >> /sw/lib/libgnome-2.dylib /sw/lib/libpopt.dylib /sw/lib/libbonobo-2.dylib
  > >> /sw/lib/libbonobo-activation.dylib /sw/lib/libORBit-2.dylib
  > >> /sw/lib/libart_lgpl_2.dylib /sw/lib/libgconf-2.dylib
  > >> /sw/lib/libgthread-2.0.dylib /sw/lib/libglade-2.0.dylib
  > >> /sw/lib/libgtk-x11-2.0.dylib /sw/lib/libxml2.dylib
  > >> /sw/lib/libgdk-x11-2.0.dylib /sw/lib/libatk-1.0.dylib
  > >> /sw/lib/pango-ft219/lib/libpangoft2-1.0.dylib
  > >> /sw/lib/libgdk_pixbuf-2.0.dylib
  > >> /sw/lib/pango-ft219/lib/libpangocairo-1.0.dylib /sw/lib/libcairo.dylib
  > >> /sw/lib/pango-ft219/lib/libpango-1.0.dylib
  > >> /sw/lib/freetype219/lib/libfreetype.dylib
  > >> /usr/X11/lib/libfontconfig.1.4.3.dylib /usr/lib/libiconv.dylib
  > >> /usr/X11/lib/libfreetype.dylib -lz /usr/lib/libexpat.dylib
  > >> /sw/lib/libgio-2.0.dylib /sw/lib/libgobject-2.0.dylib
  > >> /sw/lib/libgmodule-2.0.dylib /sw/lib/libglib-2.0.dylib
  > >> /sw/lib/libintl.dylib -lutil
  > >> Undefined symbols:
  > >>   "_XUngrabServer", referenced from:
  > >>   _egg_tray_icon_update_manager_window in eggtrayicon.o
  > >
  > > It also has a missing Dependency on gconf2 (gconftool-2 
executable) to satisfy ./configure and for the PostInstScript. 
  >
  > Thanks for the reports. However, I fear that I don't have time to 
work on it in the coming weeks. Beside, I do not have access to 10.5 
anymore. Thus, feel free to fix whatever you deem necessary, or scrap 
the package for now. 
 
I'll give it a shot tonight; stay tuned to your local fink-devel station... 
 
dan
 

--
Daniel Macks
  dma...@netspace.org



--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
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

Re: [Fink-devel] Build issue with anjuta-2.24.2-2 on 10.5.8

2010-09-27 Thread Remi Mommsen
Hi,

On Sep 27, 2010, at 8:08 PM, Hanspeter Niederstrasser wrote:

> On 9/27/10 1:58 PM, Alexander Hansen wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>> 
>> (Tested on 10.5.8/PowerPC, Xcode 3.1.4, Xquartz 2.5.3)
>> Looks like another case of .la files hiding a multitude of sins:
>> 
>> ...
>> libtool: link: gcc  -o .libs/libanjuta-gtodo.so -bundle  .libs/plugin.o
>> .libs/add_edit_item.o .libs/callback.o .libs/debug_printf.o
>> .libs/egg-datetime.o .libs/eggtrayicon.o .libs/export.o
>> .libs/interface.o .libs/libgtodo.o .libs/list_tooltip.o
>> .libs/mcategory.o .libs/notification.o .libs/preferences.o
>> .libs/tasklists.o .libs/todo_db.o .libs/tray-icon.o   -L/sw/lib
>> - -L/usr/X11/lib -L/sw/lib/gnome-vfs2.16 /sw/lib/libxslt.dylib -lpthread
>> /sw/lib/libiconv.dylib -lm ../../libanjuta/.libs/libanjuta.dylib
>> - -L/usr/lib /sw/lib/libgnomeui-2.dylib /usr/X11/lib/libSM.dylib
>> /usr/X11/lib/libICE.dylib /sw/lib/libbonoboui-2.dylib
>> /sw/lib/gnome-vfs2.16/libgnomevfs-2.dylib /sw/lib/libgnomecanvas-2.dylib
>> /sw/lib/libgnome-2.dylib /sw/lib/libpopt.dylib /sw/lib/libbonobo-2.dylib
>> /sw/lib/libbonobo-activation.dylib /sw/lib/libORBit-2.dylib
>> /sw/lib/libart_lgpl_2.dylib /sw/lib/libgconf-2.dylib
>> /sw/lib/libgthread-2.0.dylib /sw/lib/libglade-2.0.dylib
>> /sw/lib/libgtk-x11-2.0.dylib /sw/lib/libxml2.dylib
>> /sw/lib/libgdk-x11-2.0.dylib /sw/lib/libatk-1.0.dylib
>> /sw/lib/pango-ft219/lib/libpangoft2-1.0.dylib
>> /sw/lib/libgdk_pixbuf-2.0.dylib
>> /sw/lib/pango-ft219/lib/libpangocairo-1.0.dylib /sw/lib/libcairo.dylib
>> /sw/lib/pango-ft219/lib/libpango-1.0.dylib
>> /sw/lib/freetype219/lib/libfreetype.dylib
>> /usr/X11/lib/libfontconfig.1.4.3.dylib /usr/lib/libiconv.dylib
>> /usr/X11/lib/libfreetype.dylib -lz /usr/lib/libexpat.dylib
>> /sw/lib/libgio-2.0.dylib /sw/lib/libgobject-2.0.dylib
>> /sw/lib/libgmodule-2.0.dylib /sw/lib/libglib-2.0.dylib
>> /sw/lib/libintl.dylib -lutil
>> Undefined symbols:
>>   "_XUngrabServer", referenced from:
>>   _egg_tray_icon_update_manager_window in eggtrayicon.o
> 
> It also has a missing Dependency on gconf2 (gconftool-2 executable) to 
> satisfy ./configure and for the PostInstScript.

Thanks for the reports. However, I fear that I don't have time to work on it in 
the coming weeks. Beside, I do not have access to 10.5 anymore. Thus, feel free 
to fix whatever you deem necessary, or scrap the package for now.

Remi


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
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


Re: [Fink-devel] Build issue with anjuta-2.24.2-2 on 10.5.8

2010-09-27 Thread Hanspeter Niederstrasser
On 9/27/10 1:58 PM, Alexander Hansen wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> (Tested on 10.5.8/PowerPC, Xcode 3.1.4, Xquartz 2.5.3)
> Looks like another case of .la files hiding a multitude of sins:
>
> ...
> libtool: link: gcc  -o .libs/libanjuta-gtodo.so -bundle  .libs/plugin.o
> .libs/add_edit_item.o .libs/callback.o .libs/debug_printf.o
> .libs/egg-datetime.o .libs/eggtrayicon.o .libs/export.o
> .libs/interface.o .libs/libgtodo.o .libs/list_tooltip.o
> .libs/mcategory.o .libs/notification.o .libs/preferences.o
> .libs/tasklists.o .libs/todo_db.o .libs/tray-icon.o   -L/sw/lib
> - -L/usr/X11/lib -L/sw/lib/gnome-vfs2.16 /sw/lib/libxslt.dylib -lpthread
> /sw/lib/libiconv.dylib -lm ../../libanjuta/.libs/libanjuta.dylib
> - -L/usr/lib /sw/lib/libgnomeui-2.dylib /usr/X11/lib/libSM.dylib
> /usr/X11/lib/libICE.dylib /sw/lib/libbonoboui-2.dylib
> /sw/lib/gnome-vfs2.16/libgnomevfs-2.dylib /sw/lib/libgnomecanvas-2.dylib
> /sw/lib/libgnome-2.dylib /sw/lib/libpopt.dylib /sw/lib/libbonobo-2.dylib
> /sw/lib/libbonobo-activation.dylib /sw/lib/libORBit-2.dylib
> /sw/lib/libart_lgpl_2.dylib /sw/lib/libgconf-2.dylib
> /sw/lib/libgthread-2.0.dylib /sw/lib/libglade-2.0.dylib
> /sw/lib/libgtk-x11-2.0.dylib /sw/lib/libxml2.dylib
> /sw/lib/libgdk-x11-2.0.dylib /sw/lib/libatk-1.0.dylib
> /sw/lib/pango-ft219/lib/libpangoft2-1.0.dylib
> /sw/lib/libgdk_pixbuf-2.0.dylib
> /sw/lib/pango-ft219/lib/libpangocairo-1.0.dylib /sw/lib/libcairo.dylib
> /sw/lib/pango-ft219/lib/libpango-1.0.dylib
> /sw/lib/freetype219/lib/libfreetype.dylib
> /usr/X11/lib/libfontconfig.1.4.3.dylib /usr/lib/libiconv.dylib
> /usr/X11/lib/libfreetype.dylib -lz /usr/lib/libexpat.dylib
> /sw/lib/libgio-2.0.dylib /sw/lib/libgobject-2.0.dylib
> /sw/lib/libgmodule-2.0.dylib /sw/lib/libglib-2.0.dylib
> /sw/lib/libintl.dylib -lutil
> Undefined symbols:
>"_XUngrabServer", referenced from:
>_egg_tray_icon_update_manager_window in eggtrayicon.o

It also has a missing Dependency on gconf2 (gconftool-2 executable) to 
satisfy ./configure and for the PostInstScript.

Hanspeter

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
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


[Fink-devel] Build issue with anjuta-2.24.2-2 on 10.5.8

2010-09-27 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

(Tested on 10.5.8/PowerPC, Xcode 3.1.4, Xquartz 2.5.3)
Looks like another case of .la files hiding a multitude of sins:

...
libtool: link: gcc  -o .libs/libanjuta-gtodo.so -bundle  .libs/plugin.o
.libs/add_edit_item.o .libs/callback.o .libs/debug_printf.o
.libs/egg-datetime.o .libs/eggtrayicon.o .libs/export.o
.libs/interface.o .libs/libgtodo.o .libs/list_tooltip.o
.libs/mcategory.o .libs/notification.o .libs/preferences.o
.libs/tasklists.o .libs/todo_db.o .libs/tray-icon.o   -L/sw/lib
- -L/usr/X11/lib -L/sw/lib/gnome-vfs2.16 /sw/lib/libxslt.dylib -lpthread
/sw/lib/libiconv.dylib -lm ../../libanjuta/.libs/libanjuta.dylib
- -L/usr/lib /sw/lib/libgnomeui-2.dylib /usr/X11/lib/libSM.dylib
/usr/X11/lib/libICE.dylib /sw/lib/libbonoboui-2.dylib
/sw/lib/gnome-vfs2.16/libgnomevfs-2.dylib /sw/lib/libgnomecanvas-2.dylib
/sw/lib/libgnome-2.dylib /sw/lib/libpopt.dylib /sw/lib/libbonobo-2.dylib
/sw/lib/libbonobo-activation.dylib /sw/lib/libORBit-2.dylib
/sw/lib/libart_lgpl_2.dylib /sw/lib/libgconf-2.dylib
/sw/lib/libgthread-2.0.dylib /sw/lib/libglade-2.0.dylib
/sw/lib/libgtk-x11-2.0.dylib /sw/lib/libxml2.dylib
/sw/lib/libgdk-x11-2.0.dylib /sw/lib/libatk-1.0.dylib
/sw/lib/pango-ft219/lib/libpangoft2-1.0.dylib
/sw/lib/libgdk_pixbuf-2.0.dylib
/sw/lib/pango-ft219/lib/libpangocairo-1.0.dylib /sw/lib/libcairo.dylib
/sw/lib/pango-ft219/lib/libpango-1.0.dylib
/sw/lib/freetype219/lib/libfreetype.dylib
/usr/X11/lib/libfontconfig.1.4.3.dylib /usr/lib/libiconv.dylib
/usr/X11/lib/libfreetype.dylib -lz /usr/lib/libexpat.dylib
/sw/lib/libgio-2.0.dylib /sw/lib/libgobject-2.0.dylib
/sw/lib/libgmodule-2.0.dylib /sw/lib/libglib-2.0.dylib
/sw/lib/libintl.dylib -lutil
Undefined symbols:
  "_XUngrabServer", referenced from:
  _egg_tray_icon_update_manager_window in eggtrayicon.o

The missing symbol appears to have been defined in libX11.dylib.

It'd also be good to have the package use Fink's expat and fontconfig.

I'm not sure whether fink's libiconv.dylib or /usr/lib/libiconv.dylib
wins in the linker line as it appears above.  Similarly for
libfreetype.dylib.
- -- 
Alexander Hansen
Fink User Liaison
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyg2zIACgkQB8UpO3rKjQ/tZgCgoKYW9+gceOvgVrLdyO2jGd/l
r8UAn3W68LuL+oLo4mT5pggmNqKQ1Dkz
=7avI
-END PGP SIGNATURE-

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
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


Re: [Fink-devel] R and its packages

2010-09-27 Thread David R. Morrison
Anyway, I suspect from your error message that you are using 10.6-i386.  The R 
environment, on the other hand, is making calls to gcc with no arch flag so it 
defaults to x86_64, and your libraries are not compatible with that...

  -- Dave


On Sep 27, 2010, at 9:43 PM, David R. Morrison wrote:

> Are you using the i386 or x86_64 architecture of fink?
> 
> On Sep 27, 2010, at 9:35 PM, BABA Yoshihiko wrote:
> 
>> Hi all,
>> 
>> I installed r-base, then tried to install its packages inside R environment, 
>> with the error below. The binary version of R didn't have such error. Would 
>> it be Fink's problem?
>> 
>> 
>> 
>> 
>> R version 2.11.0 (2010-04-22)
>> Copyright (C) 2010 The R Foundation for Statistical Computing
>> ISBN 3-900051-07-0
>> 
>> R is free software and comes with ABSOLUTELY NO WARRANTY.
>> You are welcome to redistribute it under certain conditions.
>> Type 'license()' or 'licence()' for distribution details.
>> 
>>   Natural language support but running in an English locale
>> 
>> R is a collaborative project with many contributors.
>> Type 'contributors()' for more information and
>> 'citation()' on how to cite R or R packages in publications.
>> 
>> Type 'demo()' for some demos, 'help()' for on-line help, or
>> 'help.start()' for an HTML browser interface to help.
>> Type 'q()' to quit R.
>> 
>> > install.packages("sp")
>> --- Please select a CRAN mirror for use in this session ---
>> Loading Tcl/Tk interface ... done
>> trying URL 'http://essrc.hyogo-u.ac.jp/cran/src/contrib/sp_0.9-69.tar.gz'
>> Content type 'application/x-gzip' length 536637 bytes (524 Kb)
>> opened URL
>> ==
>> downloaded 524 Kb
>> 
>> * installing *source* package ‘sp’ ...
>> ** libs
>> gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include  
>> -I/sw/include-fPIC  -g -O2 -c Rcentroid.c -o Rcentroid.o
>> gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include  
>> -I/sw/include-fPIC  -g -O2 -c gcdist.c -o gcdist.o
>> gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include  
>> -I/sw/include-fPIC  -g -O2 -c init.c -o init.o
>> gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include  
>> -I/sw/include-fPIC  -g -O2 -c pip.c -o pip.o
>> gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include  
>> -I/sw/include-fPIC  -g -O2 -c pip2.c -o pip2.o
>> gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include  
>> -I/sw/include-fPIC  -g -O2 -c sp_xports.c -o sp_xports.o
>> gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include  
>> -I/sw/include-fPIC  -g -O2 -c surfaceArea.c -o surfaceArea.o
>> gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include  
>> -I/sw/include-fPIC  -g -O2 -c zerodist.c -o zerodist.o
>> gcc -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined 
>> dynamic_lookup -single_module -multiply_defined suppress -L/sw/lib -o sp.so 
>> Rcentroid.o gcdist.o init.o pip.o pip2.o sp_xports.o surfaceArea.o 
>> zerodist.o -F/sw/Library/Frameworks/R.framework/.. -framework R -lintl 
>> -Wl,-framework -Wl,CoreFoundation
>> ld: warning: in /sw/Library/Frameworks/R.framework/R, file was built for 
>> i386 which is not the architecture being linked (x86_64)
>> ld: warning: in /sw/lib/libintl.dylib, file was built for i386 which is not 
>> the architecture being linked (x86_64)
>> installing to 
>> /sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp/libs
>> ** R
>> ** data
>> ** demo
>> ** inst
>> ** preparing package for lazy loading
>> ** help
>> *** installing help indices
>> ** building package indices ...
>> ** testing if installed package can be loaded
>> Error in dyn.load(file, DLLpath = DLLpath, ...) : 
>>   unable to load shared library 
>> '/sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp/libs/sp.so':
>>   
>> dlopen(/sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp/libs/sp.so,
>>  6): no suitable image found.  Did find:
>>  
>> /sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp/libs/sp.so:
>>  mach-o, but wrong architecture
>> ERROR: loading failed
>> * removing 
>> ‘/sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp’
>> 
>> The downloaded packages are in
>>  
>> ‘/private/var/folders/FF/FFUvwZUMHNy0Shp4TusaJk+++TI/-Tmp-/RtmpRd78TR/downloaded_packages’
>> Updating HTML index of packages in '.Library'
>> Warning message:
>> In install.packages("sp") :
>>   installation of package 'sp' had non-zero exit status
>> > 
>> 
>> 
>> -- 
>> BABA Yoshihiko
>> http://homepage.mac.com/babayoshihiko
>> --
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev___

Re: [Fink-devel] R and its packages

2010-09-27 Thread David R. Morrison
Are you using the i386 or x86_64 architecture of fink?

On Sep 27, 2010, at 9:35 PM, BABA Yoshihiko wrote:

> Hi all,
> 
> I installed r-base, then tried to install its packages inside R environment, 
> with the error below. The binary version of R didn't have such error. Would 
> it be Fink's problem?
> 
> 
> 
> 
> R version 2.11.0 (2010-04-22)
> Copyright (C) 2010 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
> 
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
> 
>   Natural language support but running in an English locale
> 
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
> 
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
> 
> > install.packages("sp")
> --- Please select a CRAN mirror for use in this session ---
> Loading Tcl/Tk interface ... done
> trying URL 'http://essrc.hyogo-u.ac.jp/cran/src/contrib/sp_0.9-69.tar.gz'
> Content type 'application/x-gzip' length 536637 bytes (524 Kb)
> opened URL
> ==
> downloaded 524 Kb
> 
> * installing *source* package ‘sp’ ...
> ** libs
> gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include  
> -I/sw/include-fPIC  -g -O2 -c Rcentroid.c -o Rcentroid.o
> gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include  
> -I/sw/include-fPIC  -g -O2 -c gcdist.c -o gcdist.o
> gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include  
> -I/sw/include-fPIC  -g -O2 -c init.c -o init.o
> gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include  
> -I/sw/include-fPIC  -g -O2 -c pip.c -o pip.o
> gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include  
> -I/sw/include-fPIC  -g -O2 -c pip2.c -o pip2.o
> gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include  
> -I/sw/include-fPIC  -g -O2 -c sp_xports.c -o sp_xports.o
> gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include  
> -I/sw/include-fPIC  -g -O2 -c surfaceArea.c -o surfaceArea.o
> gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include  
> -I/sw/include-fPIC  -g -O2 -c zerodist.c -o zerodist.o
> gcc -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined 
> dynamic_lookup -single_module -multiply_defined suppress -L/sw/lib -o sp.so 
> Rcentroid.o gcdist.o init.o pip.o pip2.o sp_xports.o surfaceArea.o zerodist.o 
> -F/sw/Library/Frameworks/R.framework/.. -framework R -lintl -Wl,-framework 
> -Wl,CoreFoundation
> ld: warning: in /sw/Library/Frameworks/R.framework/R, file was built for i386 
> which is not the architecture being linked (x86_64)
> ld: warning: in /sw/lib/libintl.dylib, file was built for i386 which is not 
> the architecture being linked (x86_64)
> installing to 
> /sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp/libs
> ** R
> ** data
> ** demo
> ** inst
> ** preparing package for lazy loading
> ** help
> *** installing help indices
> ** building package indices ...
> ** testing if installed package can be loaded
> Error in dyn.load(file, DLLpath = DLLpath, ...) : 
>   unable to load shared library 
> '/sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp/libs/sp.so':
>   
> dlopen(/sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp/libs/sp.so,
>  6): no suitable image found.  Did find:
>   
> /sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp/libs/sp.so:
>  mach-o, but wrong architecture
> ERROR: loading failed
> * removing 
> ‘/sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp’
> 
> The downloaded packages are in
>   
> ‘/private/var/folders/FF/FFUvwZUMHNy0Shp4TusaJk+++TI/-Tmp-/RtmpRd78TR/downloaded_packages’
> Updating HTML index of packages in '.Library'
> Warning message:
> In install.packages("sp") :
>   installation of package 'sp' had non-zero exit status
> > 
> 
> 
> -- 
> BABA Yoshihiko
> http://homepage.mac.com/babayoshihiko
> --
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev___
> 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

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
ac

[Fink-devel] R and its packages

2010-09-27 Thread BABA Yoshihiko
Hi all,

I installed r-base, then tried to install its packages inside R environment,
with the error below. The binary version of R didn't have such error. Would
it be Fink's problem?




R version 2.11.0 (2010-04-22)
Copyright (C) 2010 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> install.packages("sp")
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL 'http://essrc.hyogo-u.ac.jp/cran/src/contrib/sp_0.9-69.tar.gz'
Content type 'application/x-gzip' length 536637 bytes (524 Kb)
opened URL
==
downloaded 524 Kb

* installing *source* package ‘sp’ ...
** libs
gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include
 -I/sw/include-fPIC  -g -O2 -c Rcentroid.c -o Rcentroid.o
gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include
 -I/sw/include-fPIC  -g -O2 -c gcdist.c -o gcdist.o
gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include
 -I/sw/include-fPIC  -g -O2 -c init.c -o init.o
gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include
 -I/sw/include-fPIC  -g -O2 -c pip.c -o pip.o
gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include
 -I/sw/include-fPIC  -g -O2 -c pip2.c -o pip2.o
gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include
 -I/sw/include-fPIC  -g -O2 -c sp_xports.c -o sp_xports.o
gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include
 -I/sw/include-fPIC  -g -O2 -c surfaceArea.c -o surfaceArea.o
gcc -std=gnu99 -I/sw/Library/Frameworks/R.framework/Resources/include
 -I/sw/include-fPIC  -g -O2 -c zerodist.c -o zerodist.o
gcc -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined
dynamic_lookup -single_module -multiply_defined suppress -L/sw/lib -o sp.so
Rcentroid.o gcdist.o init.o pip.o pip2.o sp_xports.o surfaceArea.o
zerodist.o -F/sw/Library/Frameworks/R.framework/.. -framework R -lintl
-Wl,-framework -Wl,CoreFoundation
ld: warning: in /sw/Library/Frameworks/R.framework/R, file was built for
i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libintl.dylib, file was built for i386 which is not
the architecture being linked (x86_64)
installing to
/sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp/libs
** R
** data
** demo
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared library
'/sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp/libs/sp.so':
  
dlopen(/sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp/libs/sp.so,
6): no suitable image found.  Did find:
/sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp/libs/sp.so:
mach-o, but wrong architecture
ERROR: loading failed
* removing
‘/sw/Library/Frameworks/R.framework/Versions/2.11/Resources/library/sp’

The downloaded packages are in
‘/private/var/folders/FF/FFUvwZUMHNy0Shp4TusaJk+++TI/-Tmp-/RtmpRd78TR/downloaded_packages’
Updating HTML index of packages in '.Library'
Warning message:
In install.packages("sp") :
  installation of package 'sp' had non-zero exit status
>


-- 
BABA Yoshihiko
http://homepage.mac.com/babayoshihiko
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev___
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