search for: lg2c

Displaying 20 results from an estimated 230 matches for "lg2c".

2005 May 12
2
Solaris 10 on amd and R-2.1.0
...aving problems compiling R on a Solaris 10 opteron box we have on trial. checking for Fortran libraries of g77... -L/usr/ccs/lib -L/usr/lib - L/usr/local/lib -L/usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2 - L/usr/ccs/bin -L/usr/local/lib/gcc-lib/i386-pc- solaris2.10/3.3.2/../../.. -lfrtbegin -lg2c -lm -lgcc_s -lfrtbegin: - lg2c: checking how to get verbose linking output from gcc... -v checking for C libraries of gcc... -L/usr/ccs/lib -L/usr/lib - L/usr/local/lib -L/usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2 - L/usr/ccs/bin -L/usr/local/lib/gcc-lib/i386-pc- solaris2.10/3.3.2/../../.. -...
2009 Jan 20
1
Can't find -lg2c when installing randomForest
I have search the help archives and can't find a direct reference to the following issue: When installing randomForest on under CentOS 5.2 , R version 2.7.1 with gcc 4.1.2. We receive the following error (see below, can't find –lg2c) it is in the path! root@abcsci12 ~]# R CMD INSTALL /scisys/home/yanicrk/randomForest_4.5-28.tar.gz * Installing to library '/usr/lib64/R/library' * Installing *source* package 'randomForest' ... ** libs gcc -I/usr/lib64/R/include -I/usr/local/include -fpic -O2 -g -std=g...
2000 Feb 24
1
lg2c
Dear Rhelp folks, I think I read this in recent Rhelp, but I can't find it in the archive. I need to know how to get lg2c in order to build the nlme package. I'm trying to install nlme_3.1-2.tar.gz on a Linux machine (6.1 Redhat) under R Version 0.99.0 (February 7, 2000). Thanks, Jim Jim Robison-Cox ____________ Department of Math Sciences | | phone: (406)994-5340 2-214 W...
1999 Aug 29
1
Compiling R under Caldera Open Linux 2.2 (PR#260)
...ils.o random.o relop.o saveload.o scan.o seq.o sort.o source.o split.o subassign.o subscript.o subset.o summary.o unique.o util.o version.o ../unix/libunix.a ../appl/libappl.a ../nmath/libmath.a -lSM -lICE -L/usr/X11R6/lib -lX11 -L/usr/lib/gcc-lib/i386-linux/egcs-2.91.66 -L/usr/i386-linux/lib -lg2c -lm -lg2c: -ldl -lm /usr/i386-linux/bin/ld: cannot open -lg2c: No such file or directory make[3]: *** [../../bin/R.X11] Error 1 make[3]: Leaving directory `/home/john/BUILD/src/main' make[2]: *** [R] Error 2 make[2]: Leaving directory `/home/john/BUILD/src/main' make[1]: *** [R] Error 1 ma...
2007 Jul 11
0
R CMD SHLIB problem with -lg2c and make:
...blem arose after our linux guy upgraded from Mandriva 2005 to Mandriva 2007. I was using R 2.4.1, but now it's upgraded to the current version. I used R CMD SHLIB to compile a C file that also linked to some fortran code. The error was something along the lines of not being able to find -lg2c. The gcc version I'm using is now 4.1.1, so our linux guy suggested the problem might be related to gfortran and f2c. I'm not sure... is this enough information to know what might be going on? So, I started looking around the FAQs online to try and figure out the problem and stumbled...
2003 Mar 29
1
compling errors for sun unix (PR#2702)
...-sun-solaris2.6/egcs-2.92.21/crt1.o /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.92.21/crti.o /usr/ccs/lib/values-Xa.o /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.92.21/crtbegin.o -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.92.21 -L/usr/ccs/bin -L/usr/ccs/lib -L/usr/local/lib -lg2c -lm -lgcc -lc -lgcc /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.92.21/crtend.o /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.92.21/crtn.o ld: Software Generation Utilities - Solaris-ELF (4.0) ld: fatal: library -lg2c: not found ld: fatal: library -lgcc: not found ld: fatal: library -lgc...
2007 Aug 21
2
compiling R under cygwin
...d if we should spend any time looking in to ways in which the configure/build/install code could be modified to allow a standard install. Notes on building R under cygwin: export FFLAGS=-O3 export CFLAGS=-O3 export CXXFLAGS=-O3 export OBJCFLAGS=-O3 export FCFLAGS=-O3 export LDFLAGS='-lblas -lg2c -lintl' export R_OSTYPE=unix ./configure --prefix=/opt/freeware/R/R-2.5.1 \ --with-tcl-config=/usr/lib/tclConfig.sh \ --with-tk-config=/usr/lib/tkConfig.sh \ --with-blas=-lblas \ --with-lapack=-llapack \ --enable-R-shlib comment out Win32 in src/include/config.h and set Unix to 1, change...
2005 Jun 10
1
Fortran compilation error
...n -g -O2 -c rcorr.f -o rcorr.o g77 -fno-common -g -O2 -c wclosest.f -o wclosest.o gcc-3.3 -bundle -flat_namespace -undefined suppress -L/usr/local/lib -o Hmisc.so cidxcn.o cidxcp.o hoeffd.o jacklins.o largrec.o ranksort.o rcorr.o wclosest.o -L/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2 -lg2c -lSystem -lcc_dynamic -framework R ld: warning -L: directory name (/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2) does not exist ld: can't locate file for: -lg2c make: *** [Hmisc.so] Error 1 ERROR: compilation failed for package 'Hmisc' ** Removing '/Library/Frameworks/R.frame...
2000 Feb 22
2
Some problems with R and/or locfit
...fit.so S_enter.o adap.o band.o density.o family.o fitted.o frend.o kappa0.o kdtree.o lfstr.o linalg.o locfit.o math.o minmax.o nbhd.o odint.o pcomp.o preplot.o random.o scbmax.o simul.o startlf.o vari.o wdiag.o weight.o -L/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -L/usr/i386-redhat-linux/lib -lg2c -lm /usr/bin/ld: cannot open -lg2c: No such file or directory <------ HERE IS WHERE IT REALLY SEEMS TO HAVE PROBLEMS collect2: ld returned 1 exit status make: *** [/usr/lib/R/library/locfit/libs/locfit.so] Error 1 R data help >>> Building/Updating help pages for package `locfit'...
1999 Aug 29
1
Compiling R under Caldera Open Linux 2.2
...ils.o random.o relop.o saveload.o scan.o seq.o sort.o source.o split.o subassign.o subscript.o subset.o summary.o unique.o util.o version.o ../unix/libunix.a ../appl/libappl.a ../nmath/libmath.a -lSM -lICE -L/usr/X11R6/lib -lX11 -L/usr/lib/gcc-lib/i386-linux/egcs-2.91.66 -L/usr/i386-linux/lib -lg2c -lm -lg2c: -ldl -lm /usr/i386-linux/bin/ld: cannot open -lg2c: No such file or directory make[3]: *** [../../bin/R.X11] Error 1 make[3]: Leaving directory `/home/john/BUILD/src/main' make[2]: *** [R] Error 2 make[2]: Leaving directory `/home/john/BUILD/src/main' make[1]: *** [R] Error 1 ma...
2008 Jul 03
1
--enable-BLAS-shlib conflict with --with-lapack in configure?
...log, it seems configure is trying to link with libRblas when testing for LAPACK -- but that has not been built yet: configure:37825: checking for zgeev_ configure:37889: gcc -std=gnu99 -o conftest -g -O2 -fpic -I/usr/local/include -L/usr/local/lib64 conftest.c -L$(R_HOME)/lib$(R_ARCH) -lRblas -lg2c -lm -ldl -lm >&5 /usr/bin/ld: cannot find -lRblas [...] configure:37924: checking for zgeev_ in -L/site/intel/cmkl/8.1/lib/em64t -lmkl_lapack64 -lmkl configure:37962: gcc -std=gnu99 -o conftest -g -O2 -fpic -I/usr/local/include -L/usr/local/lib64 conftest.c -L/site/intel/cmkl/8.1/lib/em6...
2005 Jun 18
1
Fedora Core 4
...il I trued to update.packages(). Even then, many packages updated just fine, but two of them, cluster and mgcv, failed with the following error message (using cluster as an example): gcc -shared -L/usr/local/lib -o cluster.so clara.o daisy.o dysta.o fanny.o meet.o mona.o pam.o spannel.o twins.o -lg2c -lm -lgcc_s /usr/bin/ld: cannot find -lg2c collect2: ld returned 1 exit status make: *** [cluster.so] Error 1 I tracked this down as far as I could and got to this page: http://gcc.gnu.org/fortran/usage.html in the section about "Compatability with g77." The problem seems to have somet...
2005 Sep 30
1
mvtnorm package
...ge arises ================================================== downloaded 160Kb * Installing *source* package 'mvtnorm' ... ** libs g77 -fPIC -g -O2 -c mvt.f -o mvt.o gcc -I/usr/lib/R/include -fPIC -g -O2 -c randomF77.c -o randomF77.o gcc -shared -o mvtnorm.so mvt.o randomF77.o -lg2c -lm -lgcc_s -L/usr/lib/R/lib -lR /usr/bin/ld: cannot find -lg2c collect2: ld returned 1 exit status make: ** [mvtnorm.so] Erro 1 ERROR: compilation failed for package 'mvtnorm' ** Removing '/home/posmae/cnaber/mvtnorm' ** Restoring previous '/home/posmae/cnaber/mvtnorm' The...
2005 Nov 08
1
R build under mandriva 10.2
After upgrading from mandrake 10.1 to mandriva 10.2 I can't build shared archive with R 2.2.0 [guillot at laplace src]$ R CMD SHLIB main.f sub.f wrapper.c gcc -shared -L/usr/local/lib -o main.so main.o sub.o wrapper.o -lg2c -lm -lgcc_s /usr//bin/ld: cannot find -lg2c collect2: ld returned 1 exit status make: *** [main.so] Erreur 1 I guess the information in http://finzi.psych.upenn.edu/R/Rhelp01/archive/5146.html are not relevant any longer. What is missing ? Gilles
2006 Apr 26
1
MacOSX package install problem: pkgs quadprog & tseries
...t time. As root with R CMD INSTALL tseries_0.10-0.tar.gz I get the following gcc-3.3 -bundle -flat_namespace -undefined suppress -L/usr/local/lib - o tseries.so arma.o bdstest.o boot.o dsumsl.o garch.o ppsum.o tsutils.o -framework vecLib -L/usr/local/lib/gcc/powerpc-apple- darwin6.8/3.4.2 -lg2c -lSystem -L/usr/local/lib/gcc/powerpc-apple- darwin6.8/3.4.2 -lg2c -lSystem -lcc_dynamic -F/Library/Frameworks/ R.framework/.. -framework R ld: can't locate file for: -lcc_dynamic make: *** [tseries.so] Error 1 ERROR: compilation failed for package 'tseries' ** Removing '/Library/...
2004 Mar 31
2
Failure to compile source packages in Debian
...rience failures to compile source packages. Messages like * Installing *source* package 'dse1' ... ** libs g77 -mieee-fp -fPIC -g -O2 -c dsefor.f -o dsefor.o gcc -shared -o dse1.so dsefor.o -L/usr/lib/gcc-lib/i486-linux/3.3.3 -L/usr/lib/gcc-lib/i486-linux/3.3.3/../../.. -lfrtbegin -lg2c-pic -lm -lgcc_s -L/usr/lib/R/bin -lR /usr/bin/ld: no se puede encontrar -lg2c-pic clearly point to the non-existence of library g2c-pic. Problem is I cannot locate the .deb package containing such library. Could some Debian user point me to the right location? (I am using Debian "testing&q...
2001 Jul 23
2
Installing RSPython with R 1.3.0
...S) $(R_X11_la_OBJECTS) $(R_X11_la_LIBADD) $(LIBS) to $(R_X11_la): $(R_X11_la_OBJECTS) $(R_X11_la_DEPENDENCIES) $(SHLIB_LINK) -o $@ $(R_X11_la_LDFLAGS) $(R_X11_la_OBJECTS) $(R_X11_la_LIBADD) $(LIBS) -L$(R_HOME)/bin -lR 2) I had the same link problem with ctest, so I changed PKG_LIBS = -lg2c -lm -L/usr/lib/gcc-lib/i386-linux/2.95.4 -lm to PKG_LIBS = -lg2c -lm -L/usr/lib/gcc-lib/i386-linux/2.95.4 -lm -L$(R_HOME)/bin -lR 3) Will all libraries that get loaded into R inside of python require this? If I try to load other 'recommended' packages that include C code I get dyn.l...
2005 Oct 26
1
pb with dyn.load - fortran code now attached
...n for Statistical Computing Version 2.2.0 (2005-10-06 r35749) ISBN 3-900051-07-0 >system("R CMD SHLIB ~/tmp/test1.f") g77 -fPIC -g -O2 -c /home/guillot/tmp/test1.f -o /home/guillot/tmp/test1.o gcc -shared -L/usr/local/lib -o /home/guillot/tmp/test1.so /home/guillot/tmp/test1.o -lg2c -lm -lgcc_s > system("R CMD SHLIB ~/tmp/test2.f") g77 -fPIC -g -O2 -c /home/guillot/tmp/test2.f -o /home/guillot/tmp/test2.o gcc -shared -L/usr/local/lib -o /home/guillot/tmp/test2.so /home/guillot/tmp/test2.o -lg2c -lm -lgcc_s > > is.loaded("sub") [1] FALSE > i...
2004 Oct 17
3
question about Rcmd SHLIB
Dear R-people: I tried to create a shared library in Windows XP. However I got error messages which attached below: C:\lasso>Rcmd SHLIB all.f cox.f gcc all.o libR makeMakedeps all.dll -o all gcc.exe: libR: No such file or directory gcc.exe: makeMakedeps: No such file or directory make: *** [all] Error 1 I have created shard libraries successfully before. Also for the same fortran files:
2000 Nov 14
2
atlas for R1.1.1 and R1.2 different?
...2-2 package under R1.1.1 (debian2.2) atlas is linked into the library: Installing package `integrate' ... libs gcc -shared -lc -shared -o /usr/lib/R/library/integrate/libs/integrate.so adapt.o adapt_callback.o bsrl.o flfm.o nxprt.o symrl.o wht.o -L/usr/local/lib -lf77blas -lcblas -latlas -lg2c -lm -L/usr/lib/gcc-lib/i386-linux/2.95.2 -lm R ...however, for R1.2.0 (snapshot ~3 days ago) it looks different: Installing package `integrate' ... libs gcc -shared -o integrate.so adapt.o adapt_callback.o bsrl.o flfm.o nxprt.o symrl.o wht.o -L/usr/local/lib -lg2c -lm -L/usr/lib/gcc-lib/i...