As of quite recently I experience 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" on a Pentium box and R ver. 1.8.1 installed from the .deb package.) Thank you. -- Fernando TUSELL e-mail: Departamento de Econometr?a y Estad?stica etptupaf at bs.ehu.es Facultad de CC.EE. y Empresariales Tel: (+34)94.601.3733 Avenida Lendakari Aguirre, 83 Fax: (+34)94.601.3754 E-48015 BILBAO (Spain) Secr: (+34)94.601.3740
tobias.verbeke@bivv.be
2004-Mar-31 08:26 UTC
[R] Failure to compile source packages in Debian
"F. Tusell" <etptupaf at bs.ehu.es> wrote on 31/03/2004 10:06:32: [...]> > and yet libgc2-pic is not resolved. *HOWEVER* following your lead that > whatever is needed must by in a library of name libg2c*, I did the > following in /usr/lib: > > ln -s libg2c0.so.0 libg2c-pic.so > > and everything works like a charm. Seems it si just a library that > changed its name.Hmm.. Doing a search on http://www.debian.org/distrib/packages#search_contents using options Keyword g2c-pic packages that contain files or directories, whose names contain the keyword testing Intel x86 points to g77 packages. Probably installing this one is a better solution ? HTH, Tobias
On Wed, Mar 31, 2004 at 09:15:24AM +0200, F. Tusell wrote:> > As of quite recently I experience 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" on a Pentium box and R ver. 1.8.1 installed from the > .deb package.)The g77 packages used to provide a g2c-pic library. E.g. when 1.8.1 was built, they did and thusly the Depends ended up in /etc/R/Makeconf. However, on your current system, g77 no longer provides the library -- so this fails. You need to bring R and g77 back in sync. There are several possibilities: a) install the current r-base-core and r-base-dev packages from unstable b) recompile the 1.8.1 package locally to reflect to reflect your current compiler setup c) edit /etc/R/Makeconf I'm sorry for the bug, but these things are hard to control for. Dirk -- The relationship between the computed price and reality is as yet unknown. -- From the pac(8) manual page