Karim BELABAS on Fri, 10 Oct 2003 19:54:30 +0200 (MEST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: galdata location |
On Sun, 14 Sep 2003, Bill Allombert wrote: > On Fri, Sep 12, 2003 at 01:52:15AM -0400, Igor Schein wrote: > > with a different --prefix, the change doesn't kick in unless I remove > > galois.o. Maybe it should be in one of the files which get rebuild > > when Configure is re-run, like gp.c for example? > > No, no, this should not be hardcoded in galois.c in the first place. > The proper way would be to have a default() for the path to data files, > here set to /home/igor/local/lib/pari/, and make galois.o to look in > default(datapath)/galdata. > > This way we can add new datafile without changing GP: we just need to > use another suffix instead of galdata. Done in CVS. I have added a new default 'datadir' [ GP will expect to find 'galdata' in it ]. Warning: I have removed the 'galdata' part of GPDATADIR. 1) Older settings of GP_DATA_DIR are now invalid. 2) make sure you 'make clean', then run Configure to avoid problems. I'll try packaging a new galdata one of these days (80% of the current distributed one is unused obsolete data...) Cheers, Karim. -- Karim Belabas Tel: (+33) (0)1 69 15 57 48 Dép. de Mathématiques, Bât. 425 Fax: (+33) (0)1 69 15 60 19 Université Paris-Sud http://www.math.u-psud.fr/~belabas/ F-91405 Orsay (France) http://www.parigp-home.de/ [PARI/GP]