On 9/21/14, 6:32 PM, Gordon E. Sarty wrote: > >>>> >>>> Aha. My /sw/include/mpfr.h is different. Mine shows "3.1.2", and >>>> that's the current version in Fink. What does "fink list -t libmpfr4" >>>> show? If you show >>>> >>>> i libmpfr4 3.1.2-1 C floating-point math lib >>>> i libmpfr4-shlibs 3.1.2-1 Shared libraries for mpfr package >>>> >>>> then try "fink rebuild libmpfr4" to ensure that your libmpfr4 is >>>> internally consistent. >>>> >>> OK, fink list -t libmpfr4 gave what you show and fink rebuild libmpfr4 >>> worked. fink install octave now leads to >>> >>> configure: error: libmpfr not found or uses a different ABI (including >>> static vs shared). >>> ### execution of /tmp/fink.Kb1pi failed, exit code 1 >>> ### execution of /tmp/fink.gn3Qy failed, exit code 1 >>> Removing runtime build-lock... >>> Removing build-lock package... >>> /sw/bin/dpkg-lockwait -r fink-buildlock-libmpc3-1.0.2-1 >>> (Reading database ... 62892 files and directories currently installed.) >>> Removing fink-buildlock-libmpc3-1.0.2-1 ... >>> Failed: phase compiling: libmpc3-1.0.2-1 failed >>> >>> So libmpfr still appears to be sick. >>> >>> What should I try next? >>> >> >> Check whether your /sw/lib/mpfr.h is in fact showing version 3.1.2. >> If it is, then check >> /sw/src/fink.build/libmpc3-1.0.2-1/mpc-1.0.2/build/config.log to see >> if there's a new message. >> > > /sw/include/mpfr.h shows version 3.1.0. > > I see this in the config.log file: > > configure:7584: gcc -E -I/sw/include -I/sw/include -I/sw/include conftest.c > conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found > #include <ac_nonexistent.h> > > and > > configure:13275: checking for MPFR > configure:13290: gcc -o conftest -O2 -pedantic -fomit-frame-pointer -m64 > -mtune=corei7 -march=corei7 -I/sw/include -I/sw/include -I/sw/include > -L/sw/lib -L/sw/lib -L/sw/lib conftest.c -lmpfr -lgmp >&5 > In file included from conftest.c:37: > /sw/include/mpfr.h:193:9: error: unknown type name '__gmp_const' > typedef __gmp_const __mpfr_struct *mpfr_srcptr; > ^ > /sw/include/mpfr.h:193:34: error: expected ';' after top level declarator > typedef __gmp_const __mpfr_struct *mpfr_srcptr; > ^ > ; > /sw/include/mpfr.h:267:17: error: unknown type name '__gmp_const' > __MPFR_DECLSPEC __gmp_const char * mpfr_get_version _MPFR_PROTO ((void)); > . > . > . > > and of course: > > configure:13297: error: libmpfr not found or uses a different ABI > (including static vs shared). > > > Is that useful troubleshooting information?
Hmm...it's really odd to me that you seem to have an mpfr.h which is for 3.1.0. Maybe try "fink reinstall libmpfr4"--normally that shouldn't be needed because you rebuilt a package which was installed, but it's worth a shot. Otherwise we ( meaning David, because I know nothing about MPFR :-) ) might need to see the output from rebuilding libmpfr4 again. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users