![](/uploads/1/2/7/3/127342314/332328869.jpg)
Greetings:I have been trying to install ggobi with the ultimate goal of using itwithin R. I am having difficulty which appears to be related to gcc notallowing -shared as an option with Mac OS X. Can anyone suggest how Ican overcome this problem?I am using a 15' flat-panel iMac, Mac OSX 10.2.4, Apple's X11 beta 3.The gory details of the attempted installation follow:I downloaded ggobi, ggobi0.99-10.tar.gz and gunzipped and tarred it assu to get the directory /usr/local/lib/ggobi and within that directoryI didsudo./configure -with-xml -enable-embedand got:loading cache./config.cachechecking for gtk-config. (cached) /sw/bin/gtk-configSetting gtk flagschecking for uname. (cached) /usr/bin/unamechecking for install.
(cached) /usr/bin/installchecking for gcc. (cached) gccchecking whether the C compiler (gcc ) works. Yeschecking whether the C compiler (gcc ) is a cross-compiler. Nochecking whether we are using GNU C. (cached) yeschecking whether gcc accepts -g. (cached) yesChecking flag for linking shared librariesSHLIB linker flags: -sharedwithxml: yeschecking for xml2-config.
See ggobi.org alternatives GGobi data visualization system. Who is using GGobi? Related projects. See what's going on in your data. Download GGobi for Windows, Mac and Linux. GGobi is an open source visualization program for exploring high-dimensional data. It provides highly dynamic.
(cached) /sw/bin/xml2-configHave xml-config: /sw/bin/xml2-configUSEXML:= USEXML=2XML Version:= 2checking for uname. Jan de Leeuw In MacOS X you can build either dynamic libraries (foo.dylib), which are to be linked against, or bundles (foo.so) which are to be loaded at run time (plugins, packages). Most ELF based systems dont distinguish the two. So in R, for instance, you make libR.dylib and Rgnome.so or tcltk.so. For dylibs you need the flag -dynamiclib, for bundles you need -bundle (but more, because you need to tell the linker what to do about undefined symbols). See the configure files for R for more details.
In MacOS X you can build either dynamic libraries (foo.dylib), which areto be linked against, or bundles (foo.so) which are to be loaded at runtime (plugins, packages). Most ELF based systems dont distinguish thetwo.So in R, for instance, you make libR.dylib and Rgnome.so or tcltk.so.For dylibs you need the flag -dynamiclib, for bundles you need -bundle(but more, because you need to tell the linker what to do aboutundefinedsymbols). See the configure files for R for more details.I'll look at ggobi, which I have running, but I am not sure what Ineededto do.
On Tuesday, March 18, 2003, at 08:35 AM, Dennis A. Wolf wrote:Greetings:I have been trying to install ggobi with the ultimate goal of using itwithin R. I am having difficulty which appears to be related to gccnot allowing -shared as an option with Mac OS X. Can anyone suggesthow I can overcome this problem?I am using a 15' flat-panel iMac, Mac OSX 10.2.4, Apple's X11 beta 3.The gory details of the attempted installation follow:I downloaded ggobi, ggobi0.99-10.tar.gz and gunzipped and tarred itas su to get the directory /usr/local/lib/ggobi and within thatdirectory I didsudo./configure -with-xml -enable-embedand got:loading cache./config.cachechecking for gtk-config. (cached) /sw/bin/gtk-configSetting gtk flagschecking for uname.
(cached) /usr/bin/unamechecking for install. (cached) /usr/bin/installchecking for gcc.
(cached) gccchecking whether the C compiler (gcc ) works. Yeschecking whether the C compiler (gcc ) is a cross-compiler. Nochecking whether we are using GNU C. (cached) yeschecking whether gcc accepts -g.
(cached) yesChecking flag for linking shared librariesSHLIB linker flags: -sharedwithxml: yeschecking for xml2-config. (cached) /sw/bin/xml2-configHave xml-config: /sw/bin/xml2-configUSEXML:= USEXML=2XML Version:= 2checking for uname. Duncan Temple Lang I have been meaning to add this to the GGobi configuration, and will get to it now that I know there is at least a small level of interest.
For the moment, you can run configure and then edit Makeconf and edit the value of SHLIBLDFLAGS. We parameterized it because we knew this would arise, just never got to putting all the pieces together.
Also, just as a pointer for simplicity, if you untar the ggobi distribution and then from within the top-level directory untar Rggobi, you could install. I have been meaning to add this to the GGobi configuration, and willget to it now that I know there is at least a small level of interest.For the moment, you can run configure and then edit Makeconf and editthe value of SHLIBLDFLAGS.
We parameterized it because we knew thiswould arise, just never got to putting all the pieces together.Also, just as a pointer for simplicity, if you untar the ggobidistribution and then from within the top-level directoryuntar Rggobi, you could install both in one step as./configure -with-ROf course, we'll have to fix the configuration to get the -shared flag right.Jan de Leeuw wrote. In MacOS X you can build either dynamic libraries (foo.dylib), which areto be linked against, or bundles (foo.so) which are to be loaded at runtime (plugins, packages). Most ELF based systems dont distinguish thetwo.So in R, for instance, you make libR.dylib and Rgnome.so or tcltk.so.For dylibs you need the flag -dynamiclib, for bundles you need -bundle(but more, because you need to tell the linker what to do aboutundefinedsymbols).
See the configure files for R for more details.I'll look at ggobi, which I have running, but I am not sure what Ineededto do. On Tuesday, March 18, 2003, at 08:35 AM, Dennis A. Wolf wrote:Greetings:I have been trying to install ggobi with the ultimate goal of using itwithin R. I am having difficulty which appears to be related to gccnot allowing -shared as an option with Mac OS X. Can anyone suggesthow I can overcome this problem?I am using a 15' flat-panel iMac, Mac OSX 10.2.4, Apple's X11 beta 3.The gory details of the attempted installation follow:I downloaded ggobi, ggobi0.99-10.tar.gz and gunzipped and tarred itas su to get the directory /usr/local/lib/ggobi and within thatdirectory I didsudo./configure -with-xml -enable-embedand got:loading cache./config.cachechecking for gtk-config. (cached) /sw/bin/gtk-configSetting gtk flagschecking for uname.
(cached) /usr/bin/unamechecking for install. (cached) /usr/bin/installchecking for gcc. (cached) gccchecking whether the C compiler (gcc ) works. Yeschecking whether the C compiler (gcc ) is a cross-compiler. Nochecking whether we are using GNU C. (cached) yeschecking whether gcc accepts -g. (cached) yesChecking flag for linking shared librariesSHLIB linker flags: -sharedwithxml: yeschecking for xml2-config.
(cached) /sw/bin/xml2-configHave xml-config: /sw/bin/xml2-configUSEXML:= USEXML=2XML Version:= 2checking for uname. Wolf I looked around in the Makeconf file in R and found SHLIBLDFLAGS= -bundle -flatnamespace -undefined suppress I edited the Makeconf that was created when ggobi was configured and replaced -shared with the above. The error I got was tourpp.c:31: header file 'malloc.h' not found Does this have anything to do with the revised flags? Any suggestions on how to proceed? Computer Sciences and Mathematics Division Oak Ridge National Laboratory POB 2008, Building 6011, MS.
![Ggobi Ggobi](/uploads/1/2/7/3/127342314/662433574.jpg)
I looked around in the Makeconf file in R and foundSHLIBLDFLAGS= -bundle -flatnamespace -undefined suppressI edited the Makeconf that was created when ggobi was configured andreplaced -shared with the above. The error I got wastourpp.c:31: header file 'malloc.h' not foundDoes this have anything to do with the revised flags? Any suggestionson how to proceed?Thanks!Dennis A. Wolf, Ph.D.Computer Sciences and Mathematics DivisionOak Ridge National LaboratoryPOB 2008, Building 6011, MS 6418Oak Ridge, TN phone: (865) 574-6326fax: (865) 576-3513email: [email protected] full details from configure and make are:qedmac 1106 sudo./configure -with-xml -with-R -enable-embedloading cache./config.cachechecking for gtk-config.
(cached) /sw/bin/gtk-configSetting gtk flagschecking for uname. (cached) /usr/bin/unamechecking for install.
(cached) /usr/bin/installchecking for gcc. (cached) gccchecking whether the C compiler (gcc ) works.
Yeschecking whether the C compiler (gcc ) is a cross-compiler. Nochecking whether we are using GNU C. (cached) yeschecking whether gcc accepts -g. (cached) yesChecking flag for linking shared librariesSHLIB linker flags: -sharedwithxml: yeschecking for xml2-config. (cached) /sw/bin/xml2-configHave xml-config: /sw/bin/xml2-configUSEXML:= USEXML=2XML Version:= 2checking for R. (cached) /usr/local/bin/Rchecking for uname.
Date: Tue, 18 Mar 2003 10:27:01 -0800From: Jan de Leeuw Subject: Re: R-SIG-Macggobi and Mac OS XTo: 'Dennis A. Wolf' Cc: [email protected]: Content-Type: text/plain; charset=US-ASCII; format=flowedIn MacOS X you can build either dynamic libraries (foo.dylib), whichareto be linked against, or bundles (foo.so) which are to be loaded at runtime (plugins, packages). Most ELF based systems dont distinguish thetwo.So in R, for instance, you make libR.dylib and Rgnome.so or tcltk.so.For dylibs you need the flag -dynamiclib, for bundles you need -bundle(but more, because you need to tell the linker what to do aboutundefinedsymbols). See the configure files for R for more details.I'll look at ggobi, which I have running, but I am not sure what Ineededto do. On Tuesday, March 18, 2003, at 08:35 AM, Dennis A. Wolf wrote:Greetings:I have been trying to install ggobi with the ultimate goal of using itwithin R.
I am having difficulty which appears to be related to gccnot allowing -shared as an option with Mac OS X. Can anyone suggesthow I can overcome this problem?I am using a 15' flat-panel iMac, Mac OSX 10.2.4, Apple's X11 beta 3.The gory details of the attempted installation follow:I downloaded ggobi, ggobi0.99-10.tar.gz and gunzipped and tarred itas su to get the directory /usr/local/lib/ggobi and within thatdirectory I didsudo./configure -with-xml -enable-embedand got:loading cache./config.cachechecking for gtk-config. (cached) /sw/bin/gtk-configSetting gtk flagschecking for uname. (cached) /usr/bin/unamechecking for install. (cached) /usr/bin/installchecking for gcc. (cached) gccchecking whether the C compiler (gcc ) works.
Yeschecking whether the C compiler (gcc ) is a cross-compiler. Nochecking whether we are using GNU C. (cached) yeschecking whether gcc accepts -g. (cached) yesChecking flag for linking shared librariesSHLIB linker flags: -sharedwithxml: yeschecking for xml2-config. (cached) /sw/bin/xml2-configHave xml-config: /sw/bin/xml2-configUSEXML:= USEXML=2XML Version:= 2checking for uname. On Wednesday, Mar 19, 2003, at 11:33 US/Pacific, Dennis A. Wolf wrote:I looked around in the Makeconf file in R and foundSHLIBLDFLAGS= -bundle -flatnamespace -undefined suppressI edited the Makeconf that was created when ggobi was configured andreplaced -shared with the above.
The error I got wastourpp.c:31: header file 'malloc.h' not foundDoes this have anything to do with the revised flags? Any suggestionson how to proceed?Thanks!Dennis A. Wolf, Ph.D.Computer Sciences and Mathematics DivisionOak Ridge National LaboratoryPOB 2008, Building 6011, MS 6418Oak Ridge, TN phone: (865) 574-6326fax: (865) 576-3513email: [email protected] full details from configure and make are:qedmac 1106 sudo./configure -with-xml -with-R -enable-embedloading cache./config.cachechecking for gtk-config. (cached) /sw/bin/gtk-configSetting gtk flagschecking for uname. (cached) /usr/bin/unamechecking for install. (cached) /usr/bin/installchecking for gcc. (cached) gccchecking whether the C compiler (gcc ) works.
Yeschecking whether the C compiler (gcc ) is a cross-compiler. Nochecking whether we are using GNU C. (cached) yeschecking whether gcc accepts -g. (cached) yesChecking flag for linking shared librariesSHLIB linker flags: -sharedwithxml: yeschecking for xml2-config. (cached) /sw/bin/xml2-configHave xml-config: /sw/bin/xml2-configUSEXML:= USEXML=2XML Version:= 2checking for R. (cached) /usr/local/bin/Rchecking for uname.
Date: Tue, 18 Mar 2003 10:27:01 -0800From: Jan de Leeuw Subject: Re: R-SIG-Macggobi and Mac OS XTo: 'Dennis A. Wolf' Cc: [email protected]: Content-Type: text/plain; charset=US-ASCII; format=flowedIn MacOS X you can build either dynamic libraries (foo.dylib), whichareto be linked against, or bundles (foo.so) which are to be loaded atruntime (plugins, packages). Most ELF based systems dont distinguish thetwo.So in R, for instance, you make libR.dylib and Rgnome.so or tcltk.so.For dylibs you need the flag -dynamiclib, for bundles you need -bundle(but more, because you need to tell the linker what to do aboutundefinedsymbols). See the configure files for R for more details.I'll look at ggobi, which I have running, but I am not sure what Ineededto do. On Tuesday, March 18, 2003, at 08:35 AM, Dennis A. Wolf wrote:Greetings:I have been trying to install ggobi with the ultimate goal of usingitwithin R. I am having difficulty which appears to be related to gccnot allowing -shared as an option with Mac OS X.
Can anyone suggesthow I can overcome this problem?I am using a 15' flat-panel iMac, Mac OSX 10.2.4, Apple's X11 beta 3.The gory details of the attempted installation follow:I downloaded ggobi, ggobi0.99-10.tar.gz and gunzipped and tarred itas su to get the directory /usr/local/lib/ggobi and within thatdirectory I didsudo./configure -with-xml -enable-embedand got:loading cache./config.cachechecking for gtk-config. (cached) /sw/bin/gtk-configSetting gtk flagschecking for uname. (cached) /usr/bin/unamechecking for install. (cached) /usr/bin/installchecking for gcc. (cached) gccchecking whether the C compiler (gcc ) works.
Yeschecking whether the C compiler (gcc ) is a cross-compiler. Nochecking whether we are using GNU C. (cached) yeschecking whether gcc accepts -g.
(cached) yesChecking flag for linking shared librariesSHLIB linker flags: -sharedwithxml: yeschecking for xml2-config. (cached) /sw/bin/xml2-configHave xml-config: /sw/bin/xml2-configUSEXML:= USEXML=2XML Version:= 2checking for uname. Duncan Temple Lang There is hopefully a file named README.OSX in the distribution that provides some (few) hints about compiling on OSX. It may not get added to the tar file when I build the distribution. You can find it at Anyway, in there, I suggest just creating malloc.h locally within the GGobi source files as an empty file. Wolf wrote: - Duncan Temple Lang email protected Bell Labs, Lucent.
I looked around in the Makeconf file in R and foundSHLIBLDFLAGS= -bundle -flatnamespace -undefined suppressI edited the Makeconf that was created when ggobi was configured andreplaced -shared with the above. The error I got wastourpp.c:31: header file 'malloc.h' not foundDoes this have anything to do with the revised flags? Any suggestionson how to proceed?Thanks!Dennis A. Wolf, Ph.D.Computer Sciences and Mathematics DivisionOak Ridge National LaboratoryPOB 2008, Building 6011, MS 6418Oak Ridge, TN phone: (865) 574-6326fax: (865) 576-3513email: [email protected] full details from configure and make are:qedmac 1106 sudo./configure -with-xml -with-R -enable-embedloading cache./config.cachechecking for gtk-config. (cached) /sw/bin/gtk-configSetting gtk flagschecking for uname. (cached) /usr/bin/unamechecking for install.
(cached) /usr/bin/installchecking for gcc. (cached) gccchecking whether the C compiler (gcc ) works. Yeschecking whether the C compiler (gcc ) is a cross-compiler.
Nochecking whether we are using GNU C. (cached) yeschecking whether gcc accepts -g. (cached) yesChecking flag for linking shared librariesSHLIB linker flags: -sharedwithxml: yeschecking for xml2-config. (cached) /sw/bin/xml2-configHave xml-config: /sw/bin/xml2-configUSEXML:= USEXML=2XML Version:= 2checking for R. (cached) /usr/local/bin/Rchecking for uname. Date: Tue, 18 Mar 2003 10:27:01 -0800From: Jan de Leeuw Subject: Re: R-SIG-Macggobi and Mac OS XTo: 'Dennis A. Wolf' Cc: [email protected]: Content-Type: text/plain; charset=US-ASCII; format=flowedIn MacOS X you can build either dynamic libraries (foo.dylib), whichareto be linked against, or bundles (foo.so) which are to be loaded at runtime (plugins, packages).
Most ELF based systems dont distinguish thetwo.So in R, for instance, you make libR.dylib and Rgnome.so or tcltk.so.For dylibs you need the flag -dynamiclib, for bundles you need -bundle(but more, because you need to tell the linker what to do aboutundefinedsymbols). See the configure files for R for more details.I'll look at ggobi, which I have running, but I am not sure what Ineededto do. On Tuesday, March 18, 2003, at 08:35 AM, Dennis A. Wolf wrote:Greetings:I have been trying to install ggobi with the ultimate goal of using itwithin R. I am having difficulty which appears to be related to gccnot allowing -shared as an option with Mac OS X. Can anyone suggesthow I can overcome this problem?I am using a 15' flat-panel iMac, Mac OSX 10.2.4, Apple's X11 beta 3.The gory details of the attempted installation follow:I downloaded ggobi, ggobi0.99-10.tar.gz and gunzipped and tarred itas su to get the directory /usr/local/lib/ggobi and within thatdirectory I didsudo./configure -with-xml -enable-embedand got:loading cache./config.cachechecking for gtk-config.
(cached) /sw/bin/gtk-configSetting gtk flagschecking for uname. (cached) /usr/bin/unamechecking for install. (cached) /usr/bin/installchecking for gcc. (cached) gccchecking whether the C compiler (gcc ) works. Yeschecking whether the C compiler (gcc ) is a cross-compiler.
Nochecking whether we are using GNU C. (cached) yeschecking whether gcc accepts -g. (cached) yesChecking flag for linking shared librariesSHLIB linker flags: -sharedwithxml: yeschecking for xml2-config. (cached) /sw/bin/xml2-configHave xml-config: /sw/bin/xml2-configUSEXML:= USEXML=2XML Version:= 2checking for uname.
I looked around in the Makeconf file in R and foundSHLIBLDFLAGS= -bundle -flatnamespace -undefined suppressI edited the Makeconf that was created when ggobi was configured andreplaced -shared with the above. The error I got wastourpp.c:31: header file 'malloc.h' not foundDoes this have anything to do with the revised flags? Any suggestionson how to proceed?Thanks!Dennis A. Wolf, Ph.D.Computer Sciences and Mathematics DivisionOak Ridge National LaboratoryPOB 2008, Building 6011, MS 6418Oak Ridge, TN phone: (865) 574-6326fax: (865) 576-3513email: [email protected] full details from configure and make are:qedmac 1106 sudo./configure -with-xml -with-R -enable-embedloading cache./config.cachechecking for gtk-config.
(cached) /sw/bin/gtk-configSetting gtk flagschecking for uname. (cached) /usr/bin/unamechecking for install.
(cached) /usr/bin/installchecking for gcc. (cached) gccchecking whether the C compiler (gcc ) works. Yeschecking whether the C compiler (gcc ) is a cross-compiler. Nochecking whether we are using GNU C. (cached) yeschecking whether gcc accepts -g. (cached) yesChecking flag for linking shared librariesSHLIB linker flags: -sharedwithxml: yeschecking for xml2-config. (cached) /sw/bin/xml2-configHave xml-config: /sw/bin/xml2-configUSEXML:= USEXML=2XML Version:= 2checking for R.
(cached) /usr/local/bin/Rchecking for uname. Date: Tue, 18 Mar 2003 10:27:01 -0800From: Jan de Leeuw Subject: Re: R-SIG-Macggobi and Mac OS XTo: 'Dennis A. Wolf' Cc: [email protected]: Content-Type: text/plain; charset=US-ASCII; format=flowedIn MacOS X you can build either dynamic libraries (foo.dylib), whichareto be linked against, or bundles (foo.so) which are to be loaded atruntime (plugins, packages). Most ELF based systems dont distinguish thetwo.So in R, for instance, you make libR.dylib and Rgnome.so ortcltk.so.For dylibs you need the flag -dynamiclib, for bundles you need-bundle(but more, because you need to tell the linker what to do aboutundefinedsymbols). See the configure files for R for more details.I'll look at ggobi, which I have running, but I am not sure what Ineededto do.
On Tuesday, March 18, 2003, at 08:35 AM, Dennis A. Wolf wrote:Greetings:I have been trying to install ggobi with the ultimate goal of usingitwithin R.
I am having difficulty which appears to be related to gccnot allowing -shared as an option with Mac OS X. Can anyone suggesthow I can overcome this problem?I am using a 15' flat-panel iMac, Mac OSX 10.2.4, Apple's X11 beta3.The gory details of the attempted installation follow:I downloaded ggobi, ggobi0.99-10.tar.gz and gunzipped and tarred itas su to get the directory /usr/local/lib/ggobi and within thatdirectory I didsudo./configure -with-xml -enable-embedand got:loading cache./config.cachechecking for gtk-config.
(cached) /sw/bin/gtk-configSetting gtk flagschecking for uname. (cached) /usr/bin/unamechecking for install.
(cached) /usr/bin/installchecking for gcc. (cached) gccchecking whether the C compiler (gcc ) works. Yeschecking whether the C compiler (gcc ) is a cross-compiler.
Nochecking whether we are using GNU C. (cached) yeschecking whether gcc accepts -g. (cached) yesChecking flag for linking shared librariesSHLIB linker flags: -sharedwithxml: yeschecking for xml2-config.
(cached) /sw/bin/xml2-configHave xml-config: /sw/bin/xml2-configUSEXML:= USEXML=2XML Version:= 2checking for uname. Duncan Temple Lang Good question; my notes in README.OSX were more notes to me than instructions for others! Sorry about that. You can typically include -DNOVALUESH in the value of CFLAGS which is used when compiling the.o from a.c file. Until I fix the configuration to deal with the Mac, you might add this to PICCFLAG in the Makeconf (or Makeconf.in). Thanks for your patience.
I do hope to get to all of this later in the week (i.e. Tomorrow or Friday) as I also am dealing with plugins on Windows for GGobi. Wolf wrote:Thanks very much for your help. I am getting further along in theprocess with your help and the readme link. However, I don't know whatto do about the values.h missing.
In the README.OSX file it says:The inclusion of values.h in utils.c causes problems also.We can conditionally include this with the pre-processorsymbol-DNOVALUESHHow do I use this symbol?Good question; my notes in README.OSX were more notes to me thaninstructions for others! Sorry about that.You can typically include -DNOVALUESH in the value of CFLAGS whichis used when compiling the.o from a.c file. Until I fix theconfiguration to deal with the Mac, you might add this to PICCFLAG inthe Makeconf (or Makeconf.in).Thanks for your patience. I do hope to get to all of this later in theweek (i.e.
Tomorrow or Friday) as I also am dealing with plugins onWindows for GGobi. So it is all related!D. I looked around in the Makeconf file in R and foundSHLIBLDFLAGS= -bundle -flatnamespace -undefined suppressI edited the Makeconf that was created when ggobi was configured andreplaced -shared with the above.
The error I got wastourpp.c:31: header file 'malloc.h' not foundDoes this have anything to do with the revised flags? Any suggestionson how to proceed?Thanks!Dennis A. Wolf, Ph.D.Computer Sciences and Mathematics DivisionOak Ridge National LaboratoryPOB 2008, Building 6011, MS 6418Oak Ridge, TN phone: (865) 574-6326fax: (865) 576-3513email: [email protected] full details from configure and make are:qedmac 1106 sudo./configure -with-xml -with-R -enable-embedloading cache./config.cachechecking for gtk-config. (cached) /sw/bin/gtk-configSetting gtk flagschecking for uname. (cached) /usr/bin/unamechecking for install.
(cached) /usr/bin/installchecking for gcc. (cached) gccchecking whether the C compiler (gcc ) works. Yeschecking whether the C compiler (gcc ) is a cross-compiler. Nochecking whether we are using GNU C. (cached) yeschecking whether gcc accepts -g. (cached) yesChecking flag for linking shared librariesSHLIB linker flags: -sharedwithxml: yeschecking for xml2-config. (cached) /sw/bin/xml2-configHave xml-config: /sw/bin/xml2-configUSEXML:= USEXML=2XML Version:= 2checking for R.
(cached) /usr/local/bin/Rchecking for uname. Date: Tue, 18 Mar 2003 10:27:01 -0800From: Jan de Leeuw Subject: Re: R-SIG-Macggobi and Mac OS XTo: 'Dennis A. Wolf' Cc: [email protected]: Content-Type: text/plain; charset=US-ASCII; format=flowedIn MacOS X you can build either dynamic libraries (foo.dylib), whichareto be linked against, or bundles (foo.so) which are to be loaded atruntime (plugins, packages). Most ELF based systems dont distinguish thetwo.So in R, for instance, you make libR.dylib and Rgnome.so ortcltk.so.For dylibs you need the flag -dynamiclib, for bundles you need-bundle(but more, because you need to tell the linker what to do aboutundefinedsymbols). See the configure files for R for more details.I'll look at ggobi, which I have running, but I am not sure what Ineededto do. On Tuesday, March 18, 2003, at 08:35 AM, Dennis A.
Wolf wrote:Greetings:I have been trying to install ggobi with the ultimate goal of usingitwithin R. I am having difficulty which appears to be related to gccnot allowing -shared as an option with Mac OS X.
Can anyone suggesthow I can overcome this problem?I am using a 15' flat-panel iMac, Mac OSX 10.2.4, Apple's X11 beta3.The gory details of the attempted installation follow:I downloaded ggobi, ggobi0.99-10.tar.gz and gunzipped and tarred itas su to get the directory /usr/local/lib/ggobi and within thatdirectory I didsudo./configure -with-xml -enable-embedand got:loading cache./config.cachechecking for gtk-config. (cached) /sw/bin/gtk-configSetting gtk flagschecking for uname. (cached) /usr/bin/unamechecking for install. (cached) /usr/bin/installchecking for gcc.
(cached) gccchecking whether the C compiler (gcc ) works. Yeschecking whether the C compiler (gcc ) is a cross-compiler.
Nochecking whether we are using GNU C. (cached) yeschecking whether gcc accepts -g. (cached) yesChecking flag for linking shared librariesSHLIB linker flags: -sharedwithxml: yeschecking for xml2-config. (cached) /sw/bin/xml2-configHave xml-config: /sw/bin/xml2-configUSEXML:= USEXML=2XML Version:= 2checking for uname.
Please visit for the latest instructions.To install Rattle under MacOS/X, first make sure X11 isinstalled (and if not, install it from your restore DVD).
![](/uploads/1/2/7/3/127342314/332328869.jpg)