Hi, I've been having the same problem as Dominique.

So I used the patch, and make had no issues. But when I ran "make check", I
got this:

g++ -DHAVE_CONFIG_H -I. -I../config -I../ginac  -I./../ginac -I../ginac
-DIN_GINAC -I/usr/local/include   -g -O2 -MT exam_inifcns_nstdsums.o -MD -MP
-MF .deps/exam_inifcns_nstdsums.Tpo -c -o exam_inifcns_nstdsums.o
exam_inifcns_nstdsums.cpp
exam_inifcns_nstdsums.cpp:195:18: error: ambiguous conversion for
      functional-style cast from 'int' to 'lst' (aka 'container<std::list>')
        res.append(zeta(lst(2),lst(-1)) - -zeta(2)/2);
                        ^~~~~
../ginac/container.h:145:2: note: candidate constructor
        container(STLT const & s, bool discardable = false)
        ^
../ginac/container.h:167:11: note: candidate constructor
        explicit container(const ex & p1)
                 ^
exam_inifcns_nstdsums.cpp:196:59: error: ambiguous conversion for
      functional-style cast from 'int' to 'lst' (aka 'container<std::list>')
        res.append(zeta(lst(1,2),lst(-1,1)) - (-zeta(3)/4 -
zeta(lst(1),lst(-1))...
                                                                 ^~~~~
../ginac/container.h:145:2: note: candidate constructor
        container(STLT const & s, bool discardable = false)
        ^
../ginac/container.h:167:11: note: candidate constructor
        explicit container(const ex & p1)
                 ^
exam_inifcns_nstdsums.cpp:197:79: error: ambiguous conversion for
      functional-style cast from 'int' to 'lst' (aka 'container<std::list>')
  ...- (-pow(zeta(2),2)*23/40 - pow(zeta(lst(1),lst(-1)),2)*zeta(2)*3/4
                                         ^~~~~
../ginac/container.h:145:2: note: candidate constructor
        container(STLT const & s, bool discardable = false)
        ^
../ginac/container.h:167:11: note: candidate constructor
        explicit container(const ex & p1)
                 ^
exam_inifcns_nstdsums.cpp:198:84: error: ambiguous conversion for
      functional-style cast from 'int' to 'lst' (aka 'container<std::list>')
  ...- zeta(lst(3,1),lst(-1,1))*3/2 - zeta(lst(1),lst(-1))*zeta(3)*21/8));
                                           ^~~~~
../ginac/container.h:145:2: note: candidate constructor
        container(STLT const & s, bool discardable = false)
        ^
../ginac/container.h:167:11: note: candidate constructor
        explicit container(const ex & p1)
                 ^
exam_inifcns_nstdsums.cpp:244:16: error: ambiguous conversion for
      functional-style cast from 'int' to 'lst' (aka 'container<std::list>')
        res.append(Li(lst(4), lst(6)).hold() - Li(4, 6.0));
                      ^~~~~
../ginac/container.h:145:2: note: candidate constructor
        container(STLT const & s, bool discardable = false)
        ^
../ginac/container.h:167:11: note: candidate constructor
        explicit container(const ex & p1)
                 ^
exam_inifcns_nstdsums.cpp:261:40: error: ambiguous conversion for
      functional-style cast from 'double' to 'lst' (aka
'container<std::list>')
        res.append(G(lst(0,0.2),1).hold() * G(lst(0.5),1).hold() - G(lst...
                                              ^~~~~~~
../ginac/container.h:145:2: note: candidate constructor
        container(STLT const & s, bool discardable = false)
        ^
../ginac/container.h:167:11: note: candidate constructor
        explicit container(const ex & p1)
                 ^
exam_inifcns_nstdsums.cpp:263:40: error: ambiguous conversion for
      functional-style cast from 'double' to 'lst' (aka
'container<std::list>')
        res.append(G(lst(0,0.5),1).hold() * G(lst(0.6),1).hold() - G(lst...
                                              ^~~~~~~
../ginac/container.h:145:2: note: candidate constructor
        container(STLT const & s, bool discardable = false)
        ^
../ginac/container.h:167:11: note: candidate constructor
        explicit container(const ex & p1)
                 ^
exam_inifcns_nstdsums.cpp:265:16: error: ambiguous conversion for
      functional-style cast from 'int' to 'lst' (aka 'container<std::list>')
        res.append(Li(lst(2),lst(numeric(1,5))).hold() * Li(lst(3),lst(7...
                      ^~~~~
../ginac/container.h:145:2: note: candidate constructor
        container(STLT const & s, bool discardable = false)
        ^
../ginac/container.h:167:11: note: candidate constructor
        explicit container(const ex & p1)
                 ^
exam_inifcns_nstdsums.cpp:265:54: error: ambiguous conversion for
      functional-style cast from 'int' to 'lst' (aka 'container<std::list>')
        res.append(Li(lst(2),lst(numeric(1,5))).hold() * Li(lst(3),lst(7...
                                                            ^~~~~
../ginac/container.h:145:2: note: candidate constructor
        container(STLT const & s, bool discardable = false)
        ^
../ginac/container.h:167:11: note: candidate constructor
        explicit container(const ex & p1)
                 ^
exam_inifcns_nstdsums.cpp:266:51: error: ambiguous conversion for
      functional-style cast from 'int' to 'lst' (aka 'container<std::list>')
  ...- Li(lst(3,2),lst(7,numeric(1,5))).hold() -
Li(lst(5),lst(numeric(7,5)))...
                                                    ^~~~~
../ginac/container.h:145:2: note: candidate constructor
        container(STLT const & s, bool discardable = false)
        ^
../ginac/container.h:167:11: note: candidate constructor
        explicit container(const ex & p1)
                 ^
exam_inifcns_nstdsums.cpp:272:15: error: ambiguous conversion for
      functional-style cast from 'double' to 'lst' (aka
'container<std::list>')
        res.append(G(lst(-0.009),1).hold() * G(lst(-8,1.4999),1).hold() ...
                     ^~~~~~~~~~
../ginac/container.h:145:2: note: candidate constructor
        container(STLT const & s, bool discardable = false)
        ^
../ginac/container.h:167:11: note: candidate constructor
        explicit container(const ex & p1)
                 ^
exam_inifcns_nstdsums.cpp:274:78: warning: implicit conversion from 'double'
to
      'size_type' (aka 'unsigned long') changes value from 1.51 to 1
      [-Wliteral-conversion]
  ...* G(lst(1.51,-0.999),1).hold()
             ^~~~
exam_inifcns_nstdsums.cpp:274:84: warning: implicit conversion from 'double'
to
      'bool' changes value from 0.9989999999999999 to false
      [-Wliteral-conversion]
  ...* G(lst(1.51,-0.999),1).hold()
         ~~~       ^~~~~
exam_inifcns_nstdsums.cpp:316:15: error: ambiguous conversion for
      functional-style cast from 'int' to 'lst' (aka 'container<std::list>')
        ex r2 = Li(lst(2),lst(x1)).hold().evalf();
                   ^~~~~
../ginac/container.h:145:2: note: candidate constructor
        container(STLT const & s, bool discardable = false)
        ^
../ginac/container.h:167:11: note: candidate constructor
        explicit container(const ex & p1)
                 ^
exam_inifcns_nstdsums.cpp:317:13: error: ambiguous conversion for
      functional-style cast from 'int' to 'lst' (aka 'container<std::list>')
        ex r3 = Li(lst(2),lst(x2)).hold().evalf();
                   ^~~~~
../ginac/container.h:145:2: note: candidate constructor
        container(STLT const & s, bool discardable = false)
        ^
../ginac/container.h:167:11: note: candidate constructor
        explicit container(const ex & p1)
                 ^
exam_inifcns_nstdsums.cpp:324:13: error: ambiguous conversion for
      functional-style cast from 'int' to 'lst' (aka 'container<std::list>')
        ex r4 = Li(lst(3),lst(x3)).hold().evalf();
                   ^~~~~
../ginac/container.h:145:2: note: candidate constructor
        container(STLT const & s, bool discardable = false)
        ^
../ginac/container.h:167:11: note: candidate constructor
        explicit container(const ex & p1)
                 ^
2 warnings and 14 errors generated.
make[2]: *** [exam_inifcns_nstdsums.o] Error 1
make[1]: *** [check-am] Error 2
make: *** [check-recursive] Error 1

But otherwise, make install works fine and I can use ginsh with no problems
so far.



--
View this message in context: 
http://fink.9193.n7.nabble.com/Failed-phase-compiling-ginac2-1-6-1-2-failed-tp44384p44480.html
Sent from the fink-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&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

Reply via email to