Hello!

I have reported the "issue" in #sagemath and I was instructed to send a
mail here, too. I will insert the chat log below, as it contains the steps
I took and the responses I've got.
The question is: do I need to report this as an issue? My experience with
sage is very limited and it may be that I've used it in a way it was not
intended to be used.

command is ./sage -b test
output follows:

----------------------------------------------------------
> sage: Building and installing modified Sage library files.
>
>
> Installing c_lib
> scons: `install' is up to date.
> Updating Cython code....
> Executing 0 commands (using 0 threads)
> Time to execute 0 commands: 0.0477039813995 seconds
> Finished compiling Cython code (time = 0.508787155151 seconds)
> running install
> running build
> running build_py
> running build_ext
> building 'sage.numerical.backends.coin_backend' extension
> building 'sage.rings.complex_mpc' extension
> building 'sage.ext.interpreters.wrapper_rdf' extension
> building 'sage.ext.interpreters.wrapper_cdf' extension
> building 'sage.ext.interpreters.wrapper_rr' extension
> building 'sage.ext.interpreters.wrapper_py' extension
> building 'sage.ext.interpreters.wrapper_el' extension
> Executing 7 commands (using 1 thread)
> g++ -pthread -shared
> build/temp.linux-x86_64-2.6/sage/numerical/backends/coin_backend.o
> -L$SAGE_ROOT/local/lib -L$SAGE_ROOT/local/lib -lcsage -lcsage -lstdc++
> -lCbc -lCbcSolver -lCgl -lClp -lCoinUtils -lOsiCbc -lOsiClp -lOsi -lOsiVol
> -lVol -lstdc++ -lntl -lpython2.6 -o
> build/lib.linux-x86_64-2.6/sage/numerical/backends/coin_backend.so
> /usr/bin/ld: cannot find -lOsiVol
> /usr/bin/ld: cannot find -lVol
> collect2: ld returned 1 exit status
> error: command 'g++' failed with exit status 1
> sage: There was an error installing modified sage library code.
>

Chat log (some irrelevant parts removed):

[12:40] <TNick> Hello! I've just installed sage-4.8 from source, then I've
> added all optional packages using ./sage -i; I've created a new branch
> using ./sage -clone test, but when I switch between main and test (latter
> edit: using ./sage -b main and ./sage -b test) ld complains that
> /usr/bin/ld: cannot find -lOsiVol and -lVol
> [12:41] <TNick> those libraries are not inside SAGE_ROOT
> [12:42] <TNick> google did not revealed similar problems to use as
> reference
> [12:42] <TNick> and the mailing list has only one reference to Vol that
> is unrelated to this issue (me guesses)
> [12:43] <TNick> I'm assuming that we're talking about this library:
> http://liris.cnrs.fr/david.coeurjolly/Code/SimpleVol/Libvol/
> [12:43] <TNick> because that's the only one that I've found
> [13:04] <ppurka> TNick: do you rebuild sage after switching branches?
> [13:05] <ppurka> that is, sage -b
> [13:06] <TNick> I see now that the trunk has a folder
> trunk/Osi/src/OsiVol @ 687
> [13:06] <TNick> ppurka: I switch using ./sage -b main
> [13:07] <TNick> isn't that suppose to switch to and build it?
> [13:07] <TNick> I belive that the Osi thing was added after the 4.8
> [13:08] <TNick> Oh, I'm talking nonsenses here
> [13:08] <TNick> it's not in the trunk, I was on a different project (
> https://projects.coin-or.org/Osi/browser/trunk/Osi/src/OsiVol?rev=687)
> [13:08] <TNick> Ok, that was embarassing
> [13:08] <TNick> sorry about that
> [13:09] <ppurka> :)
> [13:09] <TNick> so, i've downloaded vol library and builded and now
> ovivol is missing
> [13:10] <TNick> I will try to download OsiVol from that location and see
> where this goes
> [13:25] <TNick> oh, this is bad:
> https://projects.coin-or.org/Osi/changeset/1615 "Begin to fix up Osi v9
> build. Add libOsiCommonTest, OsiUnitTest?, remove directories for OsiCbc?,
> OsiClp?, OsiSym?, OsiVol?."
> [13:36] <TNick> The last trunk version in Osi where the directory OsiVol
> is present is 1515 and that particular version of the trunk fails to
> compile. I shall abandon this path.
> [13:40] <wjp> I'm looking at
> http://trac.sagemath.org/sage_trac/ticket/12220 . You may be using
> cbc-2.7.5.spkg in a version of sage that's too old for it
> [13:42] <TNick> I've got the latest trunk for Osi and there is no OsiVol
> to be found. I will not invest further effort on that dirrection
> [13:43] <TNick> wjp: ooook
> [13:44] <TNick> my SAGE_ROOT/sgkg/installed
> [13:44] <TNick> has a file named cbc-2.7.5
> [13:45] <TNick> I understand from
> http://trac.sagemath.org/sage_trac/ticket/12220 that this means is the
> new one
> [13:45] <TNick> right?
> [13:46] <wjp> yes, and the accompanying patches on that ticket were
> applied to sage-5.0.beta13
> [13:46] <TNick> If i download the file from the issue and I replace mine,
> that would decide the problem? or I hav to rebuild it again?
> [13:46] <wjp> file?
> [13:46] <TNick> quote: "Here it is :
> http://www.steinertriples.fr/ncohen/cbc-2.7.5.spkg";
> [13:47] <wjp> but you just said you already have that
> [13:47] <TNick> i do
> [13:47] <TNick> I just thougt
> [13:47] <TNick> that it may have teh same version number
> [13:47] <TNick> but different content
> [13:47] <TNick> silly, I know
> [13:48] <wjp> could be, but it seems more likely the cause is that your
> version of sage does not yet support this package
> [13:48] <TNick> I see! how to remove a package?
> [13:48] <wjp> you can't, I'm afraid
> [13:48] <TNick> and, by the way, how to get the trunk?
> [13:48] <wjp> trunk?
> [13:49] <TNick> current developement version of the sage
> [13:49] <TNick> been reading a lot of documentation but it seems that
> I've didn't reached that part
> [13:49] <TNick> I was expecting to be a command inside sage
> [13:49] <TNick> so I've got the 4.8
> [13:50] <TNick> aaaand I'm pretty much at that point, now :))
> [13:50] <TNick> so, (very) long story short: ./sage -i can't be undone?
> [13:50] <wjp> the development process works a bit differently, so
> unfortunately there's no trunk, but you can get recent development versions
> from their announcments on http://groups.google.com/group/sage-release
> [13:50] <ppurka> if you want development version then look at the
> sage-release google groups
> [13:51] <wjp> I think 5.0-beta14 is the latest
> [13:52] <TNick> i see
> [13:53] <TNick> sorry for being insistent on this: did I got it right:
> ./sage -i can't be undone?
> [13:56] <TNick> and, to close the matter: should I report this thing with
> osi as a ticket?
> [13:58] <kini> TNick: right, sage -i can't be undone, unfortunately
> [13:58] <logix> ddrake_: btw, i just saw - "your" thread on "drm on
> ebooks"; in this context it might be interesting to mention that springer
> online offers its ebooks as simple PDFs
> [13:58] <ppurka_> TNick: you can email to sage-devel and see what
> response you get
>
>
Nick

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to