Xavier-Francois Roblot on Thu, 27 Sep 2012 20:51:37 +0200


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

Re: Please test pari-2.5.3 prerelease 1


On 27 sept. 2012, at 20:27, Bill Allombert wrote:

> On Thu, Sep 27, 2012 at 06:46:10PM +0200, Xavier-François Roblot wrote:
>> 
>>> On 25 sept. 2012, at 14:10, Bill Allombert wrote:
>>> 
>>>> Dear PARI developers,
>>>> 
>>>> As planned, I have made a prerelease of PARI 2.5.3.
>>>> 
>>>> Please test the new tarball:
>>>> <http://pari.math.u-bordeaux.fr/pub/pari/snapshots/pari-2.5.3.pre1.tar.gz>
>>>> 
>>>> Also, if you are using Fedora, please check whether PARI 2.6 fixes bug #1333,
>>>> and whether I should backport it.
>>> 
>>> Hi Bill,
>>> 
>>> I installed it on OS X Lion with gcc-4.7.1 (MacPorts):  compilation and full test suite, everything is fine.
>> 
>> I am not sure if it is a bug but if I do: make gp and then try to run gp directly from the pari directory, I get 
>> 
>> pari roblot$ ./gp
>> ./gp: line 3: /Users/roblot/pari/gp-dyn.app/Contents/MacOS/gp-dyn: No such file or directory
>> ./gp: line 3: exec: /Users/roblot/pari/gp-dyn.app/Contents/MacOS/gp-dyn: cannot execute: No such file or directory
> 
> It looks like ./gp is a script and not a symlink pointing to Odarwin-i686/gp-dyn, or 
> that the command ./gp does not launch ./gp.
> What is actaully ./gp ?

pari roblot$ cat gp
#!/bin/sh
dir="`dirname \"$0\"`"
exec "$dir/gp-dyn.app/Contents/MacOS/gp-dyn" "$@"

I think the last lines of the output of 'make all' explain what is happening:

(...)
rm -f gp-dyn
/opt/local/bin/gcc  -o gp-dyn -L"/Users/roblot/pari/Odarwin-i386" -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -Wl,-search_paths_first  gp.o gp_init.o gp_rl.o highlvl.o whatnow.o plotport.o plotfltk.o  -L/opt/local/lib -lreadline -lpari -L"/opt/local"/lib -lfltk -framework Carbon -framework Cocoa -lsupc++  
fltk-config --post  gp-dyn
Creating 'gp-dyn.app' bundle for desktop...

Best,

Xavier