Thank you, Alex.  I have tried to follow your instructions. The "apt-cache 
policy gmp5" command shows only the 5.1.0-1 version of gmp5 on my machine. Per 
plan B), I downloaded gmp5.info from the cited site...it downloaded as a text 
file, is that OK?  I copied it and gmp5.patch into 
/sw/fink/dists/local/main/finkinfo, which shows
quaternion-3:~ Mike$ ls -al /sw/fink/dists/local/main/finkinfototal 
24drwxr-xr-x  4 root  wheel   136 Dec 23 13:48 .drwxr-xr-x  4 root  wheel   136 
Dec 22 06:43 ..-rw-r--r--@ 1 root  wheel  5568 Dec 23 13:44 gmp5.info-rw-r--r-- 
 1 root  wheel  1833 Dec 23 13:29 gmp5.patch
Is gmp5.info the size you would expect?  Now, the dumpinfo command gives me
quaternion-3:~ Mike$ sudo fink dumpinfo -fallversions gmp5Password:Scanning 
package description files..........Information about 6626 packages read in 3 
seconds.allversions: bi        5.1.0-1
So what I have done so far doesn't appear to be enough.  Is there something to 
be done between steps B) (ii) and (iii)?  This is why it is embarrassing to be 
a newbie.
-Mike

> Date: Sun, 23 Dec 2012 09:00:16 -0700
> From: alexanderk.han...@gmail.com
> To: mike.wil...@hotmail.com
> CC: fink-beginners@lists.sourceforge.net
> Subject: Re: [Fink-beginners] ppl9 errors in attempting to install grace
> 
> If Mike or other folks are in a hurry, downgrading gmp5 will allow the
> build to proceed.  Try the following:
> 
> 1) Run "apt-cache policy gmp5" in a terminal.
> 
> 2)
> A) If another version besides 5.1.0-1 is visible, for example:
> 
> gmp5:
>   Installed: 5.1.0-1
>   Candidate: 5.1.0-1
>   Version Table:
>  *** 5.1.0-1 0
>         100 /sw/var/lib/dpkg/status
>      5.0.5-4 0
>         500 file: stable/main Packages
> 
> then you can downgrade the package by using
> 
> sudo apt-get install gmp=5.0.5-4 gmp-shlibs=5.0.5-4 libgmpxx5=5.0.5-4
> 
> 
> B) If you don't have an earlier version of  in the "apt-cache" list, you
> can still build and gmp5-5.0.5-4:
> 
> i) Grab the package description from
> 
> http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.7/stable/main/finkinfo/libs/gmp5.info?revision=1.6
> 
> and put this gmp5.info in your /sw/fink/dists/local/main/finkinfo
> 
> ii) copy the patch file to local/main/finkinfo:
> 
> cp /sw/fink/dists/stable/main/finkinfo/libs/gmp5.patch
> /sw/fink/dists/local/main/finkinfo
> 
> iii) Use "fink dumpinfo -fallversions gmp5" and verify that gmp5-5.0.5-4
> is among the known versions:
> 
> $ fink dumpinfo -fallversions gmp5
> Scanning package description files..........
> Information about 6665 packages read in 1 seconds.
> allversions:
>       5.0.5-4
>  bi   5.1.0-1
> 
> iv) Downgrade by using:
> 
> fink install gmp5-5.0.5-4 gmp5-shlibs-5.0.5-4 libgmpxx5-5.0.5-4
> 
> 
> 3) Once you've got an earlier gmp5 installed, you can build ppl9.  Don't
> use "fink update-all" until you get ppl9 built.
> 
> -- 
> Alex
> 
> On 12/22/12 7:22 PM, David Fang wrote:
> > Hi Mike,
> >     Thanks for the report, you provided what I need to know.  I'm
> > unfortunately on vacation for a while and may not be able to get around
> > to this, but please nag me about it.  I may be able to find a patch to
> > workaround this.
> > 
> > Fang
> > 
> > 
> >> Was successful in installing nedit, gv, and xfig on the following system:
> >> Package manager version: 0.34.4Distribution version: selfupdate-rsync
> >> Sat Dec 22 18:50:47 2012, 10.8, x86_64Trees: local/main stable/main
> >> unstable/mainXcode.app: 4.5.2Xcode command-line tools:
> >> 4.5.0.0.1.1249367152Max. Fink build jobs:  1
> >> I then upgraded to Xcode 4.5.2 in an attempt to install grace, but got
> >> the following errors in installing package ppl9, required by grace:
> >> ppl.hh:3687:7: error: redefinition of
> >> 'std::numeric_limits<mpz_class>'class numeric_limits<mpz_class> {     
> >> ^~~~~~~~~~~~~~~~~~~~~~~~~/sw/include/gmpxx.h:3269:21: note: previous
> >> definition is here  template <> class
> >> numeric_limits<mpz_class>                    ^ppl.hh:3748:7: error:
> >> redefinition of 'std::numeric_limits<mpq_class>'class
> >> numeric_limits<mpq_class> {     
> >> ^~~~~~~~~~~~~~~~~~~~~~~~~/sw/include/gmpxx.h:3306:21: note: previous
> >> definition is here  template <> class
> >> numeric_limits<mpq_class>                    ^ppl.hh:31481:10:
> >> warning: class 'RAII_Temporary_Real_Relaxation' was previously
> >> declared as a struct [-Wmismatched-tags]  friend class
> >> RAII_Temporary_Real_Relaxation;         ^ppl.hh:31466:10: note:
> >> previous use is here  struct RAII_Temporary_Real_Relaxation {        
> >> ^ppl.hh:31481:10: note: did you mean struct here?  friend class
> >> RAII_Temporary_Real_Relaxation;         ^~~~~        
> >> structppl.hh:33970:64: warning: unused parameter 'to'
> >> [-Wunused-parameter]di!
> > ff_restriction(Interval_Restriction_Integer_Modulo<T, Base>&
> > to,                                                              
> > ^ppl.hh:33971:17: warning: unused parameter 'x'
> > [-Wunused-parameter]                 const From1& x, const From2& y)
> > {                              ^ppl.hh:33971:33: warning: unused
> > parameter 'y' [-Wunused-parameter]                 const From1& x, const
> > From2& y) {                                             
> > ^ppl.hh:34512:54: warning: unused parameter 's'
> > [-Wunused-parameter]Interval_Info_Null<Policy>::ascii_dump(std::ostream&
> > s) const {                                                    
> > ^ppl.hh:34517:54: warning: unused parameter 's'
> > [-Wunused-parameter]Interval_Info_Null<Policy>::ascii_load(std::istream&
> > s) {                                                    
> > ^ppl.hh:35921:14: warning: unused variable 'ru' [-Wunused-variable]     
> > Result ru = Boundary_NS::assign(UPPER, upper(), info(),            
> > ^ppl.hh:35931:14: warning: unused variable 'ru!
> > ' [-Wunused-variable]      Result ru = Boundary_NS::assign(UPPER, uppe
> > r(), info(),             ^ppl.hh:35941:14: warning: unused variable 'rl'
> > [-Wunused-variable]      Result rl = Boundary_NS::assign(LOWER, lower(),
> > info(),             ^ppl.hh:35951:14: warning: unused variable 'rl'
> > [-Wunused-variable]      Result rl = Boundary_NS::assign(LOWER, lower(),
> > info(),             ^ppl.hh:54186:12: warning: unused variable
> > 'vars_end' [-Wunused-variable]           vars_end = vars.end(); i !=
> > vars.end(); ++i) {           ^11 warnings and 2 errors
> > generated.make[2]: *** [ppl.hh.gch] Error 1make[1]: *** [all-recursive]
> > Error 1make: *** [all] Error 2### execution of /tmp/fink.yltLI failed,
> > exit code 2### execution of /tmp/fink.Kp4hd failed, exit code 2Removing
> > runtime build-lock...Removing build-lock package.../sw/bin/dpkg-lockwait
> > -r fink-buildlock-ppl9-0.11.2-3(Reading database ... 31800 files and
> > directories currently installed.)Removing fink-buildlock-ppl9-0.11.2-3
> > ...Failed: phase compiling: ppl9-0.11.2-3 failed
> >> This is my first time reporting an actual compile problem, hope I have
> >> given you the appropriate information.  Thanks again for your help.
> >> -Mike
> >>
> > 
> > 
> > 
> 
                                          
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to