Karim Belabas on Wed, 28 Jan 2004 13:57:39 +0100

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

FreeBSD and Pari

I have received the following report. Any comments ?

( the workaround is still there in unstable 2-2-7. I have asked for details
about the compilation "crash" )

I just compiled Pari on FreeBSD. There's a workaround for FreeBSD               
(version 2.2.5) in the source file pari-2.1.5/src/gp/highlvl.c. But with        
recent version of FreeBSD (>=4.x), this workaround is I think not needed
any more and crashes the compilation.                                           
I'm not sure the problem is in Pari, because I compiled it through perl         
module Math::Pari. Maybe the problem is in Math::Pari.                          
 /* dlopen(NULL) returns a handle to the running process.                       
  * Bug report Y. Uchikawa: does not work for gp-dyn on FreeBSD 2.2.5           
#ifdef __FreeBSD__                                                              
  if (! *lib) lib = DL_DFLT_NAME;                                               
  if (! *lib) lib = NULL;                                                       


Karim Belabas                     Tel: (+33) (0)1 69 15 57 48
Dep. de Mathematiques, Bat. 425   Fax: (+33) (0)1 69 15 60 19
Universite Paris-Sud              http://www.math.u-psud.fr/~belabas/ 
F-91405 Orsay (France)            http://pari.math.u-bordeaux.fr/  [PARI/GP]