On Jan 10, 8:50 am, Jason Grout <[EMAIL PROTECTED]> wrote:
Hi Jason,
> Thanks to Robert Bradshaw's tremendous help, we have the start of a
> QEPCAD spkg for linux posted athttp://trac.sagemath.org/sage_trac/ticket/772
>
> The spkg does not include source because we haven't sorted out licensing
> issues. However, it does use wget to get the source from the webpage,
> so you shouldn't have to do anything.
>
> Currently the spkg compiles on my ubuntu 32-bit linux laptop (but has
> linking issues; see the readline issue below). Apparently there are
> some nontrivial issues with compiling SACLIB on OSX (dealing with the
> FPU or something). It'd be great if someone who knew more about OSX
> could take a look.
>
> The spkg currently dies when trying to link to readline. Does anyone
> know how to get a package to link to readline?
I assume you don't have readline installed. I think Ubuntu or Debian
do not install it per default. As I commented on the ticket try
linking termcap instead. Sage compiles its own termcap, so you can
assume it is in $SAGE_LOCAL/lib
> The error is:
>
> g++ -O4 -I/home/grout/sage/spkg/build/qepcad/saclib2.1/include
"-O4" is pretty pointless, "-O2" ought to be enough ;)
> -I/home/grout/sage/spkg/build/qepcad/qesource/source -I. -o cad2d
> ../source/saclib/GCSI.c \
> cad2d.a
> /home/grout/sage/spkg/build/qepcad/qesource/source/qepcad.a
> /home/grout/sage/spkg/build/qepcad/qesource/extensions/sfext/sfexto.a
> /home/grout/sage/spkg/build/qepcad/qesource/extensions/lift2D/lift2Do.a
> /home/grout/sage/spkg/build/qepcad/qesource/extensions/newadj/newadjo.a
> /home/grout/sage/spkg/build/qepcad/qesource/extensions/adj2d/adj2do.a
> /home/grout/sage/spkg/build/qepcad/qesource/extensions/rend/rendo.a
> /home/grout/sage/spkg/build/qepcad/qesource/extensions/sfext/sfexto.a
> /home/grout/sage/spkg/build/qepcad/qesource/source/qepcad.a
> /home/grout/sage/spkg/build/qepcad/saclib2.1/lib/saclibo.a -lreadline
> cad2d.a /home/grout/sage/spkg/build/qepcad/qesource/source/qepcad.a
> /home/grout/sage/spkg/build/qepcad/qesource/extensions/sfext/sfexto.a
> /home/grout/sage/spkg/build/qepcad/qesource/extensions/lift2D/lift2Do.a
> /home/grout/sage/spkg/build/qepcad/qesource/extensions/newadj/newadjo.a
> /home/grout/sage/spkg/build/qepcad/qesource/extensions/adj2d/adj2do.a
> /home/grout/sage/spkg/build/qepcad/qesource/extensions/rend/rendo.a
> /home/grout/sage/spkg/build/qepcad/qesource/extensions/sfext/sfexto.a
> /home/grout/sage/spkg/build/qepcad/qesource/source/qepcad.a
> /home/grout/sage/spkg/build/qepcad/saclib2.1/lib/saclibo.a -lreadline
> /home/grout/sage/local/lib/../lib/libreadline.so: undefined reference to
> `PC'
> /home/grout/sage/local/lib/../lib/libreadline.so: undefined reference to
> `tgetflag'
> /home/grout/sage/local/lib/../lib/libreadline.so: undefined reference to
> `tgetent'
> /home/grout/sage/local/lib/../lib/libreadline.so: undefined reference to
> `UP'
> /home/grout/sage/local/lib/../lib/libreadline.so: undefined reference to
> `tputs'
> /home/grout/sage/local/lib/../lib/libreadline.so: undefined reference to
> `tgoto'
> /home/grout/sage/local/lib/../lib/libreadline.so: undefined reference to
> `tgetnum'
> /home/grout/sage/local/lib/../lib/libreadline.so: undefined reference to
> `BC'
> /home/grout/sage/local/lib/../lib/libreadline.so: undefined reference to
> `tgetstr'
> collect2: ld returned 1 exit status
> make: *** [opt] Error 1
>
> Thanks,
>
> Jason
>
> P.S. Thank you SO MUCH to everyone who worked on getting email to work
> on trac. It's so nice to get notifications of changes to tickets!
You are welcome. I think the work flow improved greatly ;)
Cheers,
Micahel
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---